rottentheme/layouts/partials/foot.html
Kumi 962e9fa004
fix(footer): correct link attribute in footer partial
Changed the link field to use `.url` instead of `.link` in the footer template. This aligns with the data structure where URLs are stored under the `url` key, ensuring that the links function as intended. This change corrects navigation issues due to incorrect key usage.
2024-10-20 21:41:49 +02:00

14 lines
No EOL
299 B
HTML

<footer>
<a href="{{- .Site.Params.repo -}}">Source Code</a>
<ul>
{{- range .Site.Params.footer.items -}}
<li>
{{- if .icon -}}
<img src="/icons/{{- .icon -}}" alt="{{- .name -}}" />&nbsp;
{{- end -}}
<a href="{{- .url -}}">{{- .name -}}</a>
</li>
{{- end -}}
</ul>
</footer>