diff options
Diffstat (limited to 'templates/post.html')
| -rwxr-xr-x | templates/post.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/post.html b/templates/post.html index 5e4ce80..6061e47 100755 --- a/templates/post.html +++ b/templates/post.html | |||
| @@ -12,8 +12,20 @@ | |||
| 12 | </div> | 12 | </div> |
| 13 | </section> | 13 | </section> |
| 14 | 14 | ||
| 15 | <br><hr> | ||
| 16 | |||
| 17 | <section> | ||
| 18 | <p><big><strong>Other posts</strong></big></p> | ||
| 19 | <ul> | ||
| 20 | {{ range random 20 .Pages }} | ||
| 21 | {{ if and (eq .Type "post") (not .Draft) }} | ||
| 22 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> | ||
| 23 | {{ end }} | ||
| 24 | {{ end }} | ||
| 25 | </ul> | ||
| 26 | </section> | ||
| 27 | |||
| 15 | {{ if .Page.Meta.mathjax }} | 28 | {{ if .Page.Meta.mathjax }} |
| 16 | <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> | ||
| 17 | <script src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js" async></script> | 29 | <script src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js" async></script> |
| 18 | {{ end }} | 30 | {{ end }} |
| 19 | 31 | ||
