diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-27 17:17:41 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-27 17:17:41 +0200 |
| commit | 5b0d04bf2be32e85e68fc1339000a0ea5a15543c (patch) | |
| tree | 4e0a5f1c97ffffa6f070e93e6a76d5a4accf76d9 /themes/simple/layouts/_default | |
| parent | eb2cf9f9476473811178d1c5cfdd71a0293fdff4 (diff) | |
| download | mitjafelicijan.com-5b0d04bf2be32e85e68fc1339000a0ea5a15543c.tar.gz | |
Added tgas pages
Diffstat (limited to 'themes/simple/layouts/_default')
| -rw-r--r-- | themes/simple/layouts/_default/notes.html | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/themes/simple/layouts/_default/notes.html b/themes/simple/layouts/_default/notes.html index e2672e4..3474be6 100644 --- a/themes/simple/layouts/_default/notes.html +++ b/themes/simple/layouts/_default/notes.html | |||
| @@ -13,10 +13,27 @@ | |||
| 13 | 13 | ||
| 14 | <hr class="border-2 border-gray-100 mb-8"> | 14 | <hr class="border-2 border-gray-100 mb-8"> |
| 15 | 15 | ||
| 16 | <!-- Dropdown selector to jump to note --> | ||
| 16 | <select id="jump-to-note" class="px-3 py-2 rounded mb-2 bg-gray-100 w-full md:w-auto"> | 17 | <select id="jump-to-note" class="px-3 py-2 rounded mb-2 bg-gray-100 w-full md:w-auto"> |
| 17 | <option>Jump to note</option> | 18 | <option>Jump to note</option> |
| 18 | </select> | 19 | </select> |
| 19 | 20 | ||
| 21 | <!-- List all unique tags --> | ||
| 22 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mt-6 mb-10" role="feed"> | ||
| 23 | <meta itemprop="name" content="Tag list"> | ||
| 24 | <section> | ||
| 25 | <ul class="flex flex-wrap gap-2"> | ||
| 26 | {{ range .Site.Taxonomies.tags }} | ||
| 27 | <li> | ||
| 28 | <a href="{{ .Page.Permalink }}" class="inline-block px-3 py-1 rounded bg-gray-100 hover:bg-yellow-100"> | ||
| 29 | {{ .Page.Title }} | ||
| 30 | </a> | ||
| 31 | </li> | ||
| 32 | {{ end }} | ||
| 33 | </ul> | ||
| 34 | </section> | ||
| 35 | </nav> | ||
| 36 | |||
| 20 | <!-- List of all notes --> | 37 | <!-- List of all notes --> |
| 21 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12" role="feed"> | 38 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12" role="feed"> |
| 22 | <meta itemprop="name" content="Article list"> | 39 | <meta itemprop="name" content="Article list"> |
| @@ -38,7 +55,7 @@ | |||
| 38 | <span class="inline-flex flex-row gap-1"> | 55 | <span class="inline-flex flex-row gap-1"> |
| 39 | <span>(</span> | 56 | <span>(</span> |
| 40 | {{ range .Params.tags }} | 57 | {{ range .Params.tags }} |
| 41 | <span>{{ . }}</span> | 58 | <a href="/tags/{{ . | urlize }}.html">{{ . }}</a> |
| 42 | {{ end }} | 59 | {{ end }} |
| 43 | <span>)</span> | 60 | <span>)</span> |
| 44 | </span> | 61 | </span> |
