diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-22 20:07:09 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-22 20:07:09 +0200 |
| commit | 23b889482a4b2396fe6586c42bdbd73270e69bc7 (patch) | |
| tree | eb1a5aa97d9078dec93e8ded1c1dba80f492e12c | |
| parent | 29cc82fdeb3a368e8b07a70b09b19effa5dde490 (diff) | |
| download | mitjafelicijan.com-23b889482a4b2396fe6586c42bdbd73270e69bc7.tar.gz | |
Cleanup
| -rw-r--r-- | templates/post.html | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/templates/post.html b/templates/post.html index 1fbdd04..17f7025 100644 --- a/templates/post.html +++ b/templates/post.html | |||
| @@ -4,13 +4,6 @@ | |||
| 4 | {{ define "description" }}{{ .Page.Summary }}{{ end }} | 4 | {{ define "description" }}{{ .Page.Summary }}{{ end }} |
| 5 | 5 | ||
| 6 | {{ define "content" }} | 6 | {{ define "content" }} |
| 7 | |||
| 8 | <ul> | ||
| 9 | {{ range .Pages | filterbytype "post" | random 10 }} | ||
| 10 | <li><a href="{{ .RelPermalink }}">{{ .Type }} - {{ .Title }}</a></li> | ||
| 11 | {{ end }} | ||
| 12 | </ul> | ||
| 13 | |||
| 14 | <section> | 7 | <section> |
| 15 | <h1>{{ .Page.Title }}</h1> | 8 | <h1>{{ .Page.Title }}</h1> |
| 16 | <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}, on <a href="{{ .Config.BaseURL }}">{{ .Config.Title }}'s blog</a></p> | 9 | <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}, on <a href="{{ .Config.BaseURL }}">{{ .Config.Title }}'s blog</a></p> |
