feat: add Roux external link to footer nav
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -57,6 +57,10 @@ weight = 1
|
|||||||
name = "Imprint"
|
name = "Imprint"
|
||||||
url = "/imprint/"
|
url = "/imprint/"
|
||||||
weight = 2
|
weight = 2
|
||||||
|
[[menus.footer]]
|
||||||
|
name = "Roux"
|
||||||
|
url = "https://roux.pivoine.art"
|
||||||
|
weight = 3
|
||||||
|
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
|||||||
@@ -23,7 +23,18 @@
|
|||||||
<ul class="flex flex-wrap gap-x-8 gap-y-4">
|
<ul class="flex flex-wrap gap-x-8 gap-y-4">
|
||||||
{{- range .Site.Menus.footer -}}
|
{{- range .Site.Menus.footer -}}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .URL }}" class="label text-fog hover:text-heat transition-colors">{{ .Name }}</a>
|
{{- if hasPrefix .URL "http" -}}
|
||||||
|
<a
|
||||||
|
href="{{ .URL }}"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="label text-fog hover:text-heat transition-colors"
|
||||||
|
>
|
||||||
|
{{- .Name -}}{{ partial "icon.html" "arrow-external" }}
|
||||||
|
</a>
|
||||||
|
{{- else -}}
|
||||||
|
<a href="{{ .URL }}" class="label text-fog hover:text-heat transition-colors">{{ .Name }}</a>
|
||||||
|
{{- end -}}
|
||||||
</li>
|
</li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.social -}}
|
{{- with .Site.Params.social -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user