diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..f1163cf --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,26 @@ +{{ partial "header.html" . }} + +<section id=content> + <h1>{{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }}</h1> + + <div id=sub-header> + {{ .Date.Format .Site.Params.dateform }} ยท {{ .ReadingTime }} minute read + </div> + + <div class="entry-content"> + {{ .Content }} + </div> + + <div id=links> + {{ if .PrevInSection }} + <a class="basic-alignment left" href="{{.PrevInSection.Permalink}}">« {{.PrevInSection.Title}}</a> + {{ end }} + {{ if .NextInSection }} + <a class="basic-alignment left" href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}} »</a> + {{ end }} + </div> +</section> + +{{ partial "footer.html" . }} + + |