diff options
Diffstat (limited to 'templates/note.html')
| -rw-r--r-- | templates/note.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/note.html b/templates/note.html index a72453f..9f0c476 100644 --- a/templates/note.html +++ b/templates/note.html | |||
| @@ -15,7 +15,8 @@ | |||
| 15 | <section> | 15 | <section> |
| 16 | <br><hr> | 16 | <br><hr> |
| 17 | <p><big><strong>Other notes</strong></big></p> | 17 | <p><big><strong>Other notes</strong></big></p> |
| 18 | <ul> | 18 | <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Other notes"> |
| 19 | <meta itemprop="name" content="Other notes"> | ||
| 19 | {{ range random 20 .Pages }} | 20 | {{ range random 20 .Pages }} |
| 20 | {{ if and (eq .Type "note") (not .Draft) }} | 21 | {{ if and (eq .Type "note") (not .Draft) }} |
| 21 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> | 22 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> |
| @@ -23,4 +24,9 @@ | |||
| 23 | {{ end }} | 24 | {{ end }} |
| 24 | </ul> | 25 | </ul> |
| 25 | </section> | 26 | </section> |
| 27 | |||
| 28 | {{ if .Page.Meta.mathjax }} | ||
| 29 | <script src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js" async></script> | ||
| 30 | {{ end }} | ||
| 31 | |||
| 26 | {{ end }} | 32 | {{ end }} |
