feat: add Roux external link to footer nav
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user