Fixed centering issue
All checks were successful
Generate and upload hugo website / generate_and_uplaod_site (push) Successful in 1m27s
All checks were successful
Generate and upload hugo website / generate_and_uplaod_site (push) Successful in 1m27s
This commit is contained in:
parent
8e12e4f8ce
commit
2bf70b7b15
@ -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>
|
||||
</div>
|
||||
<div>
|
||||
{{ with .PrevInSection }}
|
||||
<a class="previous" href="{{ .Permalink }}"> {{.Title}}</a>
|
||||
{{ end }}
|
||||
{{ with .NextInSection }}
|
||||
<a class="next" href="{{ .Permalink }}"> {{.Title}}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</aside>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<div>
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</div>
|
||||
<div>
|
||||
<p>{{ .Date.Format "Mon Jan 2, 2006" }}</p>
|
||||
<p>{{ .WordCount }} Words</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user