feat: add Roux external link to footer nav

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-18 20:13:14 +02:00
parent c8f9c10773
commit bfe97b9595
2 changed files with 16 additions and 1 deletions
+4
View File
@@ -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
+12 -1
View File
@@ -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 -}}