summaryrefslogtreecommitdiff
path: root/themes/erdgeist/templates/index_helper.tmpl
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2025-01-02 03:42:39 +0100
committerDirk Engling <erdgeist@erdgeist.org>2025-01-02 03:42:39 +0100
commit9bb5248dab5fafc7e999ec92667b8dba8a5cc644 (patch)
treecbd78cd873f58d1e557c5fa16e0d9f6ba03e81e2 /themes/erdgeist/templates/index_helper.tmpl
parentb58baee6f027fd03d81d1847be54aec33e0b2f95 (diff)
bring the blog up to date
Diffstat (limited to 'themes/erdgeist/templates/index_helper.tmpl')
-rw-r--r--themes/erdgeist/templates/index_helper.tmpl27
1 files changed, 0 insertions, 27 deletions
diff --git a/themes/erdgeist/templates/index_helper.tmpl b/themes/erdgeist/templates/index_helper.tmpl
deleted file mode 100644
index 9331b93..0000000
--- a/themes/erdgeist/templates/index_helper.tmpl
+++ /dev/null
@@ -1,27 +0,0 @@
1## -*- coding: utf-8 -*-
2<%def name="html_pager()">
3 %if prevlink or nextlink:
4 <nav class="postindexpager">
5 <ul class="pager">
6 %if prevlink:
7 <li class="previous">
8 <a href="${prevlink}" rel="prev">${messages("Newer posts")}</a>
9 </li>
10 %endif
11 %if nextlink:
12 <li class="next">
13 <a href="${nextlink}" rel="next">${messages("Older posts")}</a>
14 </li>
15 %endif
16 </ul>
17 </nav>
18 %endif
19</%def>
20
21<%def name="mathjax_script(posts)">
22 %if any(post.is_mathjax for post in posts):
23 <script type="text/x-mathjax-config">
24 MathJax.Hub.Config({tex2jax: {inlineMath: [['$latex ','$'], ['\\(','\\)']]}});</script>
25 <script src="/assets/js/mathjax.js"></script>
26 %endif
27</%def>