summaryrefslogtreecommitdiffstats
path: root/layouts/blog/list.html
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-09-03 15:35:51 +0200
committerAhmed Abdelhalim <[email protected]>2024-09-03 15:42:54 +0200
commit0de8fe808ef8a714a4d1defed21944866068ff59 (patch)
treec11e4f86c5d8213e5bd6261cddf23d273a8684d7 /layouts/blog/list.html
parent5718cadcd47ab5f2837b9acdafb6d3d08958e249 (diff)
Modification to blog style and date formats
Diffstat (limited to 'layouts/blog/list.html')
-rw-r--r--layouts/blog/list.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 1bdcfef..7f79249 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -7,7 +7,10 @@
{{ $pages := .Pages }}
{{ range $pages }}
<li class="post">
- <b>{{ .Date.Format "2006.01.02" }}</b>/
+ <time class="post__date">
+ <time class= "post__date_short">{{ .Date.Format "02.01.06" }}/</time>
+ <time class= "post__date_long">{{ .Date.Format "2006.01.02" }}/</time>
+ </time>
<a class="post__link" href="{{ .RelPermalink }}">
{{ .Title }}
</a>