valor/layouts/partials/header.html
2023-03-06 19:41:36 -05:00

23 lines
No EOL
546 B
HTML

<header>
<a href="{{.Site.BaseURL}}">
<h1>{{.Site.Title}}</h1>
</a>
{{partial "nav" .}}
<div>
<span>Subscribe via RSS</span>
{{ if .Site.Params.rss}}
<a href="{{.Site.BaseURL}}{{.Site.Params.rss}}">
<svg class="icon">
<use href="#rss"></use>
</svg>
</a>
{{else}}
<a href="{{.Site.BaseURL}}/index.xml">
<svg class="icon">
<use href="#rss"></use>
</svg>
</a>
{{end}}
</div>
</header>