diff options
Diffstat (limited to 'templates/index.html')
| -rwxr-xr-x | templates/index.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/index.html b/templates/index.html index da06fd7..39b3746 100755 --- a/templates/index.html +++ b/templates/index.html | |||
| @@ -14,22 +14,22 @@ | |||
| 14 | <section> | 14 | <section> |
| 15 | <h2>More long form, ramblings etc</h2> | 15 | <h2>More long form, ramblings etc</h2> |
| 16 | <ul> | 16 | <ul> |
| 17 | {{ range .Pages }} | 17 | {{ range .Pages }} |
| 18 | {{ if and (eq .Type "post") (not .Draft) }} | 18 | {{ if and (eq .Type "post") (not .Draft) }} |
| 19 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> | 19 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> |
| 20 | {{ end }} | 20 | {{ end }} |
| 21 | {{ end }} | 21 | {{ end }} |
| 22 | </ul> | 22 | </ul> |
| 23 | </section> | 23 | </section> |
| 24 | 24 | ||
| 25 | <section> | 25 | <section> |
| 26 | <h2>Notes?! Maybe useful</h2> | 26 | <h2>Notes?! Maybe useful</h2> |
| 27 | <ul> | 27 | <ul> |
| 28 | {{ range .Pages }} | 28 | {{ range .Pages }} |
| 29 | {{ if and (eq .Type "note") (not .Draft) }} | 29 | {{ if and (eq .Type "note") (not .Draft) }} |
| 30 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> | 30 | <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> |
| 31 | {{ end }} | 31 | {{ end }} |
| 32 | {{ end }} | 32 | {{ end }} |
| 33 | </ul> | 33 | </ul> |
| 34 | </section> | 34 | </section> |
| 35 | {{ end }} | 35 | {{ end }} |
