summaryrefslogtreecommitdiff
path: root/alabaster-lite/sidebars/related.html
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@macaw.me>2020-04-23 19:56:10 +0800
committerFrederick Yin <fkfd@macaw.me>2020-04-23 19:56:10 +0800
commitb8b525b213e6256513dce8ef20aa82889b4a63c2 (patch)
tree90af8a6c24329ae0396d25d0df0f2fefb21b6e52 /alabaster-lite/sidebars/related.html
Initial commit
Custom alabaster theme 3 blogposts and 2 metaposts Deployment script
Diffstat (limited to 'alabaster-lite/sidebars/related.html')
-rw-r--r--alabaster-lite/sidebars/related.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/alabaster-lite/sidebars/related.html b/alabaster-lite/sidebars/related.html
new file mode 100644
index 0000000..f49e019
--- /dev/null
+++ b/alabaster-lite/sidebars/related.html
@@ -0,0 +1,15 @@
+{% if page.previous_page or page.next_page %}
+ <h3>Related Topics</h3>
+ <ul>
+ {% if page.previous_page %}
+ <li>Previous: <a href="{{page.previous_page.url|url}}" title="previous chapter">
+ {{page.previous_page.title}}
+ </a></li>
+ {% endif %}
+ {% if page.next_page %}
+ <li>Next: <a href="{{page.next_page.url|url}}" title="next chapter">
+ {{page.next_page.title}}
+ </a></li>
+ {% endif %}
+ </ul>
+{% endif %}