diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-01-26 12:09:18 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-01-26 12:09:18 +0100 |
| commit | 17b4d15612cb0180efd387739e8df66dd999d3ae (patch) | |
| tree | 205b1eaefa99023f76bc7b004f9412c29eec62f6 /template | |
| parent | 0cf6622ab6d5a3d52d614e963b9a28aee72d5b41 (diff) | |
| download | mitjafelicijan.com-17b4d15612cb0180efd387739e8df66dd999d3ae.tar.gz | |
Fixed dates in RSS
Diffstat (limited to 'template')
| -rwxr-xr-x | template/index.html | 2 | ||||
| -rwxr-xr-x | template/post.html | 2 | ||||
| -rwxr-xr-x | template/tag.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/template/index.html b/template/index.html index 4e3b623..7727f3b 100755 --- a/template/index.html +++ b/template/index.html | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | <ul class="post-list"> | 22 | <ul class="post-list"> |
| 23 | {{range $index, $post := .Posts}} | 23 | {{range $index, $post := .Posts}} |
| 24 | <li> | 24 | <li> |
| 25 | <time>{{.Created}}</time> | 25 | <time>{{.CreatedFormatted}}</time> |
| 26 | 26 | ||
| 27 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> | 27 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> |
| 28 | <h2>{{$post.Title}}</h2> | 28 | <h2>{{$post.Title}}</h2> |
diff --git a/template/post.html b/template/post.html index 6502c3d..b59bb38 100755 --- a/template/post.html +++ b/template/post.html | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | <article itemtype="http://schema.org/Article"> | 18 | <article itemtype="http://schema.org/Article"> |
| 19 | <header> | 19 | <header> |
| 20 | <h1 itemtype="headline">{{.Title}}</h1> | 20 | <h1 itemtype="headline">{{.Title}}</h1> |
| 21 | <time>{{.Created}}</time> | 21 | <time>{{.CreatedFormatted}}</time> |
| 22 | </header> | 22 | </header> |
| 23 | <div> | 23 | <div> |
| 24 | {{.Content}} | 24 | {{.Content}} |
diff --git a/template/tag.html b/template/tag.html index 344ef0b..42e42ea 100755 --- a/template/tag.html +++ b/template/tag.html | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | <ul class="post-list"> | 20 | <ul class="post-list"> |
| 21 | {{range $index, $post := .Posts}} | 21 | {{range $index, $post := .Posts}} |
| 22 | <li> | 22 | <li> |
| 23 | <time>{{.Created}}</time> | 23 | <time>{{.CreatedFormatted}}</time> |
| 24 | 24 | ||
| 25 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> | 25 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> |
| 26 | <h2>{{$post.Title}}</h2> | 26 | <h2>{{$post.Title}}</h2> |
