summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2019-04-29 00:13:49 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2019-04-29 00:13:49 +0100
commit49f746f1ee9205c4028bdc8f18aa888367eb3ddb (patch)
tree8d8b86c72e335a0ebea08e8ed29fb5c7ab439b25 /layouts/_default/single.html
parent6de514f5ff850ab90495e3230417cf0883940985 (diff)
Initial site layout
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..4fc7064
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,21 @@
+{{ define "main" }}
+ <article>
+ <h1>{{ .Title }}</h1>
+ {{ .Content }}
+ </article>
+ {{ if or .NextInSection .PrevInSection }}
+ <nav class="pagination">
+ <hr/>
+ <p>More Episodes</p>
+ <ul>
+ {{ if .PrevInSection }}
+ <li class="prev"><a href="{{ .PrevInSection.Permalink }}">« {{ .PrevInSection.Title }}</a></li>
+ {{ end }}
+ {{ if .NextInSection }}
+ <li class="next"><a href="{{ .NextInSection.Permalink }}">{{ .NextInSection.Title }} »</a></li>
+ {{ end }}
+ </ul>
+ <hr/>
+ </nav>
+ {{ end }}
+{{ end }}