valor/layouts/partials/header.html

23 lines
546 B
HTML
Raw Normal View History

2023-03-06 19:41:36 -05:00
<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>