diff options
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 62 |
1 files changed, 29 insertions, 33 deletions
diff --git a/templates/index.html b/templates/index.html index 60f4107..36b828d 100644 --- a/templates/index.html +++ b/templates/index.html | |||
| @@ -4,41 +4,33 @@ | |||
| 4 | 4 | ||
| 5 | <section> | 5 | <section> |
| 6 | <h2>Notes / Posts</h2> | 6 | <h2>Notes / Posts</h2> |
| 7 | <table> | 7 | <ul class="post-list"> |
| 8 | <thead> | 8 | {{ range .Pages }} |
| 9 | <tr> | 9 | {{ if and (not .Draft) (or (eq .Type "note") (eq .Type "post")) }} |
| 10 | <th>Date</th> | 10 | <li> |
| 11 | <th width="20"></th> | 11 | <time datetime="{{ .Created.Format "2006-01-02" }}" class="static-prefix">{{ .Created.Format "2006-01-02" }}</time> |
| 12 | <th>Title</th> | 12 | <span> |
| 13 | <th></th> | 13 | <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 512 512" style="display: block"> |
| 14 | </tr> | 14 | {{ if (eq .Type "note") }} |
| 15 | </thead> | 15 | <path fill="black" fill-rule="evenodd" d="M448 343.045 343.045 448H64V64h384v279.045Zm-42.667-65.712V106.667H106.667v298.666h170.666v-128h128Zm0 42.667H320v85.333h5.333l80-80V320Z"/> |
| 16 | <tbody> | 16 | {{ end }} |
| 17 | {{ range .Pages }} | 17 | </svg> |
| 18 | {{ if and (not .Draft) (or (eq .Type "note") (eq .Type "post")) }} | 18 | </span> |
| 19 | <tr> | 19 | <span> |
| 20 | <td><time datetime="{{ .Created.Format "2006-01-02" }}">{{ .Created.Format "2006-01-02" }}</time></td> | 20 | <a href="{{ .RelPermalink }}">{{ .Title }}</a> |
| 21 | <td valign="middle"> | 21 | <span class="tags"> |
| 22 | {{ if (eq .Type "note") }} | 22 | {{ if .Meta.tags }} |
| 23 | <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 512 512" style="display:block;"> | 23 | {{ range .Meta.tags }}<mark>{{ . }}</mark>{{ end }} |
| 24 | <path fill="black" fill-rule="evenodd" d="M448 343.045 343.045 448H64V64h384v279.045Zm-42.667-65.712V106.667H106.667v298.666h170.666v-128h128Zm0 42.667H320v85.333h5.333l80-80V320Z"/> | 24 | {{ end }} |
| 25 | </svg> | 25 | </span> |
| 26 | {{ end }} | 26 | </span> |
| 27 | </td> | 27 | </li> |
| 28 | <td><a href="{{ .RelPermalink }}">{{ .Title }}</a></td> | 28 | {{ end }} |
| 29 | <td class="tags"> | 29 | {{ end }} |
| 30 | {{ if .Meta.tags }} | 30 | </ul> |
| 31 | {{ range .Meta.tags }}<mark>{{ . }}</mark>{{ end }} | ||
| 32 | {{ end }} | ||
| 33 | </td> | ||
| 34 | </tr> | ||
| 35 | {{ end }} | ||
| 36 | {{ end }} | ||
| 37 | </tbody> | ||
| 38 | </table> | ||
| 39 | </section> | 31 | </section> |
| 40 | 32 | ||
| 41 | <section> | 33 | <section class="hide-on-mobile"> |
| 42 | <h2>Tools / Experiments</h2> | 34 | <h2>Tools / Experiments</h2> |
| 43 | <table class="normal"> | 35 | <table class="normal"> |
| 44 | <thead> | 36 | <thead> |
| @@ -65,6 +57,10 @@ | |||
| 65 | <td class="text-right"><a target="_blank" href="https://mitjafelicijan.github.io/gguf-list/">https://mitjafelicijan.github.io/gguf-list/</a></td> | 57 | <td class="text-right"><a target="_blank" href="https://mitjafelicijan.github.io/gguf-list/">https://mitjafelicijan.github.io/gguf-list/</a></td> |
| 66 | </tr> | 58 | </tr> |
| 67 | <tr> | 59 | <tr> |
| 60 | <td>Soundscapes board</td> | ||
| 61 | <td class="text-right"><a target="_blank" href="https://mitjafelicijan.github.io/soundscapes/">https://mitjafelicijan.github.io/soundscapes/</a></td> | ||
| 62 | </tr> | ||
| 63 | <tr> | ||
| 68 | <td>Maps of DOOM and other well known WADS</td> | 64 | <td>Maps of DOOM and other well known WADS</td> |
| 69 | <td class="text-right"><a target="_blank" href="https://mitjafelicijan.github.io/mapsofdoom/">https://mitjafelicijan.github.io/mapsofdoom/</a></td> | 65 | <td class="text-right"><a target="_blank" href="https://mitjafelicijan.github.io/mapsofdoom/">https://mitjafelicijan.github.io/mapsofdoom/</a></td> |
| 70 | </tr> | 66 | </tr> |
