Merge pull request #5 from murph141/master

Minor QOL improvements
This commit is contained in:
SerKo 2022-11-27 22:49:03 +08:00 committed by GitHub
commit d20aa8c72a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<div class="d:flex flex:col">
{{- partial "prose.html" . -}}
<h2 class="my:1em">Post</h2>
<h2 class="my:1em">Posts</h2>
{{- range where site.RegularPages "Type" "in" site.Params.mainSections -}}
@ -13,4 +13,4 @@
) -}}
{{- end -}}
</div>
{{ end }}
{{ end }}

View File

@ -9,7 +9,13 @@
align-items:center
">
<div>
<a href="/" class="mr-3 font:extralight">{{ .Site.Title }}</a>
<a href="/" class="mr-3 font:extralight">
{{ if not .Site.Params.HeaderTitle }}
{{ .Site.Title }}
{{ else }}
{{ .Site.Params.HeaderTitle }}
{{ end }}
</a>
</div>
<div class="ml:auto">