You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
773 B
27 lines
773 B
{{ define "main" }}
|
|
{{ with .Site.RegularPages.Prev . }}
|
|
<a href="{{ .RelPermalink }}" rel="prev">« Previous post: <i>{{ partial "content.html" .Title }}</i></a>
|
|
{{ end }}
|
|
{{ with .Site.RegularPages.Next . }}
|
|
<a href="{{ .RelPermalink }}" rel="next" style="float: right">Next post: <i>{{ partial "content.html" .Title }}</i> »</a>
|
|
{{ end }}
|
|
<br><br>
|
|
{{ if and (ne .Params.toc "false") (or (eq .Params.toc "true") (gt .WordCount 400)) }}
|
|
<aside>
|
|
<details>
|
|
<summary>Table of Contents</summary>
|
|
{{ .TableOfContents }}
|
|
<hr>
|
|
</details>
|
|
</aside>
|
|
{{ end }}
|
|
<article>
|
|
<header>
|
|
<h1>{{ partial "content.html" .Title }}</h1>
|
|
{{ partial "metadata.html" . }}
|
|
</header>
|
|
<br>
|
|
{{ partial "content.html" .Content }}
|
|
</article>
|
|
{{ end }}
|