diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-01-27 15:10:46 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-01-27 15:10:46 +0100 |
| commit | 95df760bc1571071a7f6b9f626ecd4e5e3b34adc (patch) | |
| tree | d7bf0eae94653d3d1d8828b31f6dea37a8f5992c /template/post.html | |
| parent | 0d4d604fe6482052fe7724b04299474f8a820780 (diff) | |
| download | mitjafelicijan.com-95df760bc1571071a7f6b9f626ecd4e5e3b34adc.tar.gz | |
Adde openring
Diffstat (limited to 'template/post.html')
| -rwxr-xr-x | template/post.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/template/post.html b/template/post.html index b59bb38..3247d8f 100755 --- a/template/post.html +++ b/template/post.html | |||
| @@ -24,6 +24,35 @@ | |||
| 24 | {{.Content}} | 24 | {{.Content}} |
| 25 | </div> | 25 | </div> |
| 26 | </article> | 26 | </article> |
| 27 | |||
| 28 | {{if .Listing}} | ||
| 29 | <section class="top-margin"> | ||
| 30 | <a href="mailto:m@mitjafelicijan.com">➝ Get in contact with me via email.</a> | ||
| 31 | </section> | ||
| 32 | |||
| 33 | <hr class="top-margin"> | ||
| 34 | |||
| 35 | {{if .Posts}} | ||
| 36 | <nav class="top-margin"> | ||
| 37 | <h4>Read more from this site</h4> | ||
| 38 | {{range $index, $post := .Posts}} | ||
| 39 | {{if (lt $index 5)}} | ||
| 40 | <p> | ||
| 41 | <time>{{$post.CreatedFormatted}}</time><br> | ||
| 42 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> | ||
| 43 | {{$post.Title}} | ||
| 44 | </a> | ||
| 45 | </p> | ||
| 46 | {{end}} | ||
| 47 | {{end}} | ||
| 48 | </nav> | ||
| 49 | {{end}} | ||
| 50 | |||
| 51 | <hr class="top-margin"> | ||
| 52 | |||
| 53 | {{template "openring-build.html"}} | ||
| 54 | {{end}} | ||
| 55 | |||
| 27 | </main> | 56 | </main> |
| 28 | 57 | ||
| 29 | {{template "_includes.html"}} | 58 | {{template "_includes.html"}} |
