diff options
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 21 |
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 }} |
