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"
|
||||
url = "/imprint/"
|
||||
weight = 2
|
||||
[[menus.footer]]
|
||||
name = "Roux"
|
||||
url = "https://roux.pivoine.art"
|
||||
weight = 3
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
@@ -23,7 +23,18 @@
|
||||
<ul class="flex flex-wrap gap-x-8 gap-y-4">
|
||||
{{- range .Site.Menus.footer -}}
|
||||
<li>
|
||||
{{- 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 -}}
|
||||
|
||||
Reference in New Issue
Block a user