Fixed centering issue
All checks were successful
Generate and upload hugo website / generate_and_uplaod_site (push) Successful in 1m27s

This commit is contained in:
Henry V Child 2025-02-24 12:33:47 +01:00
parent 8e12e4f8ce
commit 2bf70b7b15

View File

@ -1,27 +1,13 @@
{{ define "main" }}
<section>
<h1>{{ .Title }}</h1>
<div>
<article>
{{ .Content }}
</article>
</div>
</section>
<aside>
<div>
<section>
<h4>{{ .Date.Format "Mon Jan 2, 2006" }}</h4>
<h5>{{ .WordCount }} Words</h5>
</section>
<p>{{ .Date.Format "Mon Jan 2, 2006" }}</p>
<p>{{ .WordCount }} Words</p>
</div>
<div>
{{ with .PrevInSection }}
<a class="previous" href="{{ .Permalink }}"> {{.Title}}</a>
{{ end }}
{{ with .NextInSection }}
<a class="next" href="{{ .Permalink }}"> {{.Title}}</a>
{{ end }}
</div>
</aside>
{{ end }}