Tweak theme

This commit is contained in:
Dave Gallant
2024-04-07 21:46:55 -04:00
parent 2475d2d67e
commit 8d898eb69a
117 changed files with 5 additions and 9 deletions

View File

@@ -0,0 +1,20 @@
{{ define "main" }}
<article class="post">
<div class="post-header">
<h1>{{ .Title | markdownify }}</h1>
{{ partial "post-meta.html" (dict "page" . "pageIndex" 0) }}
</div>
<div class="post-content">
{{ .Content }}
</div>
{{ if .Params.SocialShare }}
{{ partial "social-share.html" . }}
{{ end }}
{{ if .Params.Comments }}
{{ partial "comments.html" . }}
{{ end }}
</article>
{{ end }}