falkon.sgorava.xyz/layouts/_default/single.html

26 lines
715 B
HTML
Raw Permalink Normal View History

{{ partial "header.html" . }}
<article class="post">
<h1 class="title"> {{ .Title }} </h1>
<div class="content"> {{ .Content }} </div>
<footer class="post-footer">
<div class="post-footer-data">
<div class="nav-bar">
{{ $pages := where site.RegularPages "Section" .Section }}
{{ with ($pages.ByParam "number").Reverse.Prev . }}
<a class="link-previous" title="{{ .Title }}" href="{{ .Permalink }}">&lt;&lt; Previous</a>
{{ end }}
{{ with ($pages.ByParam "number").Reverse.Next . }}
<a class="link-next" title="{{ .Title }}" href="{{ .Permalink }}">Next &gt;&gt;</a>
{{ end }}
</div>
</div>
</footer>
</article>
{{ partial "footer.html" . }}