diff options
Diffstat (limited to 'template')
| -rwxr-xr-x | template/post.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/template/post.html b/template/post.html index d5c20f3..8d43217 100755 --- a/template/post.html +++ b/template/post.html | |||
| @@ -38,14 +38,16 @@ | |||
| 38 | <nav class="top-margin"> | 38 | <nav class="top-margin"> |
| 39 | <h4>Read more from this site</h4> | 39 | <h4>Read more from this site</h4> |
| 40 | {{range $index, $post := .Posts}} | 40 | {{range $index, $post := .Posts}} |
| 41 | {{if (lt $index 5)}} | 41 | {{if .Listing}} |
| 42 | <p> | 42 | {{if (lt $index 5)}} |
| 43 | <time>{{$post.CreatedFormatted}}</time><br> | 43 | <p> |
| 44 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> | 44 | <time>{{$post.CreatedFormatted}}</time><br> |
| 45 | {{$post.Title}} | 45 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> |
| 46 | </a> | 46 | {{$post.Title}} |
| 47 | </p> | 47 | </a> |
| 48 | {{end}} | 48 | </p> |
| 49 | {{end}} | ||
| 50 | {{end}} | ||
| 49 | {{end}} | 51 | {{end}} |
| 50 | </nav> | 52 | </nav> |
| 51 | {{end}} | 53 | {{end}} |
