1
0
Fork 0

Improve summaries and blog layout

This commit is contained in:
Ethan Marshall 2024-08-01 07:20:05 +01:00
parent 512d50ac42
commit c77d11e1ab
Signed by: ejv2
GPG key ID: EC2FAEF4DB8968D8
2 changed files with 3 additions and 5 deletions

View file

@ -6,6 +6,8 @@ copyright = 'Copyright (C) 2024 - Ethan Marshall'
sectionPagesMenu = "main"
summaryLength = 10
[params]
noindex = false

View file

@ -7,11 +7,7 @@
{{ range .Pages }}
<article class="post">
<header class="post__header">
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<p class="post__meta">
{{ .Params.author }},
<span class="date">{{ .Date.Format "2 January 2006" }}</span>
</p>
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a> - {{ .Date.Format "2 January 2006" }}</h1>
</header>
<section class="post__summary">