Modify list div classnames

This commit is contained in:
Sam 2024-08-08 11:14:44 +01:00
parent 4f6d67a6ba
commit 87df76ffdd
1 changed files with 8 additions and 10 deletions

View File

@ -1,10 +1,10 @@
{{ define "main" }} {{ define "main" }}
<div class="page-content"> <div class="list-content-container">
<div class="page-content">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ .Content }} {{ .Content }}
</div> </div>
<div class="list-content-container"> <div class="article-card-container">
<div class="article-card-flex-container">
{{ range.Pages }} {{ range.Pages }}
<a class="article-card" href="{{ .RelPermalink }}"> <a class="article-card" href="{{ .RelPermalink }}">
<div class="article-card-info"> <div class="article-card-info">
@ -13,12 +13,10 @@
<h3><strong>{{ .Title | safeHTML }}</strong></h3> <h3><strong>{{ .Title | safeHTML }}</strong></h3>
<p>{{ .Summary | safeHTML }}</p> <p>{{ .Summary | safeHTML }}</p>
<br /> <br />
</div>
{{ if isset .Params "date" }}
<div class="article-card-author-row"> <div class="article-card-author-row">
<time>{{ .Date.Format "January 2, 2006" }}</time> <time>{{ .Date.Format "January 2, 2006" }}</time>
</div> </div>
{{ end }} </div>
</div> </div>
</a> </a>
{{ end }} {{ end }}