commit 2ccb65407ef3a26084d2dca717386b3d3f6ea9c5
parent 140c33f604ea1b4af46480fd561d28ae8e6ffcc5
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Fri, 10 Apr 2020 23:07:10 -0500
Let user decide contents of h-card
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
@@ -3,10 +3,7 @@
<main>
{{ $pag := partial "get_paginator.html" . }}
{{ if (and .IsHome (not $pag.HasPrev)) }}
- <div class="h-card">
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- </div>
+ <div class="h-card">{{ .Content }}</div>
<hr/>
{{ end }}
{{ range $pag.Pages }}