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

Loading…
Cancel
Save