summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-10-01 12:21:08 +0200
committerAhmed Abdelhalim <[email protected]>2024-10-01 23:11:09 +0200
commit954f5ac9bbf810bcb8c765a71271a6f7775738c3 (patch)
treed3708d7cc8cc49462b5fa2201a3b5b00bfe74fa3 /layouts
parent80a3645bd84fd7f692d662c1380ec31c95972a9b (diff)
Update blog style and email
Diffstat (limited to 'layouts')
-rw-r--r--layouts/blog/list.html5
-rw-r--r--layouts/blog/single.html11
2 files changed, 12 insertions, 4 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 7f79249..17a4f16 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -7,10 +7,7 @@
{{ $pages := .Pages }}
{{ range $pages }}
<li class="post">
- <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>
+ <time class="post__date">{{ .Date.Format "2006.01.02" }}/</time>
<a class="post__link" href="{{ .RelPermalink }}">
{{ .Title }}
</a>
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index b54ec2f..84868d8 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -7,3 +7,14 @@
{{ .Content }}
</article>
{{end}}
+
+{{ define "footer" }}
+<hr>
+<div class="blog__footer">
+ Thanks for reading.<br>
+ Leave a comment or a question
+ <a href="mailto:{{ .Site.Data.home.index.Meta.Email }}?subject=Blog/{{ .Title }}">
+ via email
+ </a>.
+</div>
+{{ end }}