forked from PirateCare/Syllabus
added last_modified for the front matter.. also git info which could make it slower..
This commit is contained in:
parent
10e6ec1125
commit
24ee5f501c
|
@ -4,6 +4,7 @@ title = "Pirate Care"
|
|||
theme = "piratecare"
|
||||
relativeurls = true
|
||||
disableKinds = ["RSS", "sitemap", "taxonomy"]
|
||||
enableGitInfo = true
|
||||
|
||||
[params]
|
||||
description = "Network of activists, researchers and practitioners against the criminalisation of solidarity & for a common care infrastructure."
|
||||
|
|
|
@ -56,7 +56,7 @@ html {
|
|||
}
|
||||
|
||||
img {
|
||||
@apply py-2;
|
||||
@apply py-2;
|
||||
}
|
||||
|
||||
/* purgecss ignore */
|
||||
|
|
|
@ -34,6 +34,12 @@
|
|||
|
||||
{{define "main" }}
|
||||
<article>
|
||||
<div class="content-text">{{ .Content }}</div>
|
||||
{{ if eq .Params.last_modified "top" }}
|
||||
<div class="font-playfair italic text-base">Last modified: {{ dateFormat "Monday, Jan 2, 2006" .Lastmod }}</div>
|
||||
{{ end }}
|
||||
<div class="content-text">{{ .Content }}</div>
|
||||
{{ if eq .Params.last_modified "bottom" }}
|
||||
<div class="font-playfair italic text-base">Last modified: {{ dateFormat "Monday, Jan 2, 2006" .Lastmod }}</div>
|
||||
{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
|
@ -44,6 +44,12 @@
|
|||
|
||||
{{define "main" }}
|
||||
<article>
|
||||
{{ if eq .Params.last_modified "top" }}
|
||||
<div class="font-playfair italic text-base">Last modified: {{ dateFormat "Monday, Jan 2, 2006" .Lastmod }}</div>
|
||||
{{ end }}
|
||||
<div class="content-text">{{ .Content }}</div>
|
||||
{{ if eq .Params.last_modified "bottom" }}
|
||||
<div class="font-playfair italic text-base">Last modified: {{ dateFormat "Monday, Jan 2, 2006" .Lastmod }}</div>
|
||||
{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
Reference in New Issue