diff options
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 35 |
1 files changed, 11 insertions, 24 deletions
diff --git a/templates/index.html b/templates/index.html index f2bfdff..4e8eb56 100644 --- a/templates/index.html +++ b/templates/index.html | |||
| @@ -15,32 +15,19 @@ | |||
| 15 | </div> | 15 | </div> |
| 16 | </div> | 16 | </div> |
| 17 | 17 | ||
| 18 | <section class="two-columns"> | 18 | <section> |
| 19 | <div> | 19 | <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" class="flow"> |
| 20 | <h2>Notes?! Maybe useful</h2> | 20 | {{ range .Pages }} |
| 21 | <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Notes?! Maybe useful"> | 21 | {{ if and (not .Draft) (or (eq .Type "note") (eq .Type "post")) }} |
| 22 | <meta itemprop="name" content="Notes?! Maybe useful"> | 22 | <li> |
| 23 | {{ range .Pages }} | 23 | {{ if eq .Type "note" }} |
| 24 | {{ if and (eq .Type "note") (not .Draft) }} | 24 | {{ range .Meta.tags }}<mark>{{ . }}</mark>{{ end }} |
| 25 | <li> | ||
| 26 | {{ range .Meta.tags }}<mark>{{ . }}</mark>{{ end }} | ||
| 27 | <a href="{{ .RelPermalink }}">{{ .Title }}</a> | ||
| 28 | </li> | ||
| 29 | {{ end }} | 25 | {{ end }} |
| 26 | <a href="{{ .RelPermalink }}">{{ .Title }}</a> | ||
| 27 | </li> | ||
| 30 | {{ end }} | 28 | {{ end }} |
| 31 | </ul> | 29 | {{ end }} |
| 32 | </div> | 30 | </ul> |
| 33 | <div> | ||
| 34 | <h2>More long form, ramblings etc</h2> | ||
| 35 | <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="More long form, ramblings etc"> | ||
| 36 | <meta itemprop="name" content="More long form, ramblings etc"> | ||
| 37 | {{ range .Pages }} | ||
| 38 | {{ if and (eq .Type "post") (not .Draft) }} | ||
| 39 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> | ||
| 40 | {{ end }} | ||
| 41 | {{ end }} | ||
| 42 | </ul> | ||
| 43 | </div> | ||
| 44 | </section> | 31 | </section> |
| 45 | 32 | ||
| 46 | <div> | 33 | <div> |
