Browse Source

paramaterize links in header from site config

Alexander Avery 3 months ago
parent
commit
393fa5f9fb
  1. 6
      layouts/partials/header.html

6
layouts/partials/header.html

@ -2,9 +2,9 @@
<nav class="spread">
<a href="/"><img src="{{ .Site.Params.logo }}" alt="The {{ .Site.Title }} Logo"></a>
<ul class="spread">
<li><a href="https://gitea.beetbox.io/BeetBox" title="Gitea Repositories">Gitea</a></li>
<li><a href="https://odysee.com/@BeetBox:f" title="Odysee Channel">Odysee</a></li>
<li><a href="/games" title="Games">Games</a></li>
{{ range .Site.Params.HeaderLinks }}
<li><a href="{{ .url }}" title="{{ .title }}">{{ .title }}</a></li>
{{ end }}
<li>{{ printf `<a href="/index.xml" title="%s">RSS</a>` $.Site.Title | safeHTML }}</li>
</ul>
</nav>

Loading…
Cancel
Save