diff options
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"}} |
