Browse Source

format _default layouts

master
Alexander Avery 9 months ago
parent
commit
023853a575
  1. 10
      layouts/_default/single.html

10
layouts/_default/single.html

@ -1,25 +1,27 @@
{{ define "main" }}
<main>
{{ partial "article-meta.html" . }}
{{ if .Params.toc }}
{{ .TableOfContents }}
{{ end }}
<div class="content-wrapper">
<main>
{{ .Content }}
<p>
{{ with .NextInSection }}
<b>Next: </b><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
<br>
{{ end }}
{{ with .PrevInSection }}
<b>Previous: </b><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
<br>
{{ end }}
<b><a href="/"> >> Home</a></b>
</p>
</main>
</div>
{{ end }}

Loading…
Cancel
Save