initial commit
This commit is contained in:
commit
f92932b947
44 changed files with 851 additions and 0 deletions
19
layouts/partials/page_header.html
Normal file
19
layouts/partials/page_header.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<header>
|
||||
<nav>
|
||||
<h1><a href="/">@{{ .Site.Author.Handle }}</a>’s {{ .Site.Title }}.</h1>
|
||||
<div class="menu">
|
||||
{{ $.Scratch.Add "sections" .Site.Params.RSSSections }}
|
||||
<ul>
|
||||
{{ range .Site.Menus.main }}
|
||||
<li>
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ if in ($.Scratch.Get "sections") .Name }}
|
||||
<a href="{{ .URL }}index.xml"><img src="/img/rss.svg" class="rss-icon" /></a>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ with .Site.Author.AboutPage }}<li><a href="{{ . }}">About</a></li>{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
Loading…
Add table
Add a link
Reference in a new issue