List structure complete, now just styling is required

This commit is contained in:
shockrah 2023-09-23 16:25:31 -07:00
parent 3fec682c53
commit 0cb8356b67
2 changed files with 8 additions and 3 deletions

View File

@ -1,9 +1,9 @@
{{ define "main" }}
{{ range .Pages.ByDate.Reverse }}
<div class="card">
<div class="card-header postcard">
<h5 class="card-title">{{ .Title }}</h5>
</div>
<a href="{{ anchorize .Page.Name }}">
<h5 class="card-header postcard card-title">{{ .Title }}</h5>
</a>
<div class="card-body postcard">
<p class="card-text">{{ .Description }}</p>
</div>

View File

@ -0,0 +1,5 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
<h5>{{ .Description }}</h5>
<div class="container">{{ .Content }}</div>
{{ end }}