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" }} {{ define "main" }}
<section> <h1>{{ .Title }}</h1>
<h1>{{ .Title }}</h1> <div>
<div> <article>
<article> {{ .Content }}
{{ .Content }} </article>
</article> </div>
</div> <div>
</section> <p>{{ .Date.Format "Mon Jan 2, 2006" }}</p>
<aside> <p>{{ .WordCount }} Words</p>
<div> </div>
<section>
<h4>{{ .Date.Format "Mon Jan 2, 2006" }}</h4>
<h5>{{ .WordCount }} Words</h5>
</section>
</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 }} {{ end }}