diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-18 20:57:08 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-18 20:57:08 +0200 |
| commit | e739c3bb76ec9487bfd614be4b3d1e01c4f7a454 (patch) | |
| tree | c7a49477a91450c2e0a88e079feb5857aaff7b06 /templates/note.html | |
| parent | 45b4b1f3d584081067cbacb9120dcea444aac043 (diff) | |
| download | mitjafelicijan.com-e739c3bb76ec9487bfd614be4b3d1e01c4f7a454.tar.gz | |
Simplified template
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 }} |
