fixes after PRs

This commit is contained in:
panr 2023-06-10 00:27:17 +02:00
parent 4a8f9aa798
commit 3a5a676118
11 changed files with 73 additions and 53 deletions

View file

@ -1,5 +1,5 @@
{{ define "main" }}
<h1 class="term">{{ .Title }}</h1>
<h1>Posts for: #{{ .Title }}</h1>
{{ with .Content }}
<div class="index-content">
{{ . }}
@ -12,14 +12,14 @@
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</h1>
<div class="post-meta">
{{ if .Date }}
{{- if .Date -}}
<time class="post-date">
{{ .Date.Format "2006-01-02" }}
{{- .Date.Format "2006-01-02" -}}
</time>
{{ end }}
{{ with .Params.Author }}
<span class="post-author"> :: {{ . }}</span>
{{ end }}
{{- end -}}
{{- with .Params.Author -}}
<span class="post-author">{{- . -}}</span>
{{- end -}}
</div>
{{ if .Params.tags }}