summaryrefslogtreecommitdiffstats
path: root/indieweb-micro/themes/MinIndie/layouts/partials/article-prevnext.html
diff options
context:
space:
mode:
Diffstat (limited to 'indieweb-micro/themes/MinIndie/layouts/partials/article-prevnext.html')
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/partials/article-prevnext.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/article-prevnext.html b/indieweb-micro/themes/MinIndie/layouts/partials/article-prevnext.html
new file mode 100644
index 0000000..d89b779
--- /dev/null
+++ b/indieweb-micro/themes/MinIndie/layouts/partials/article-prevnext.html
@@ -0,0 +1,17 @@
+<div class="article-nextprev noprint">
+ <div class="next-post">
+ {{ if .NextInSection }}
+ <a class="link-reverse" href="{{ .NextInSection.Permalink }}?ref=footer"
+ >« {{ .NextInSection.Title | truncate 30 "..." }}</a
+ >
+ {{ end }}
+ </div>
+
+ <div class="previous-post">
+ {{ if .PrevInSection }}
+ <a class="link-reverse" href="{{ .PrevInSection.Permalink }}?ref=footer"
+ >{{ .PrevInSection.Title | truncate 30 "..."}} »</a
+ >
+ {{ end }}
+ </div>
+</div>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage