Blog section

This commit is contained in:
2023-11-05 16:46:17 +00:00
parent b73be288a3
commit c768ec65d2
6 changed files with 32 additions and 17 deletions

View File

@@ -0,0 +1,24 @@
{{ define "title" }}
{{ .Title }}
{{ end }}
{{ define "subtitle" }}
{{ .Params.subtitle }}
{{ end }}
{{ define "content" }}
<article class="media">
<figure class="media-left">
<p class="image is-64x64">
<img class="is-rounded" src="https://www.gravatar.com/avatar/{{ sha256 .Params.author_email }}">
</p>
</figure>
<div class="media-content">
<div class="content">
<p class="is-size-5 is-italic">This is a post by <b>{{ .Params.author }}</b>.<br />Originally
posted {{ .Date | time.Format ":date_full" }}</b></p>
</div>
</div>
</article>
{{ .Content }}
{{ end }}