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
+12 -1
View File
@@ -23,7 +23,18 @@
<ul class="flex flex-wrap gap-x-8 gap-y-4">
{{- range .Site.Menus.footer -}}
<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>
{{- end -}}
{{- with .Site.Params.social -}}