Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/funkydan2/alpha-church.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Saunders <daniel.saunders@gmail.com>2020-05-03 06:43:34 +0300
committerDaniel Saunders <daniel.saunders@gmail.com>2020-05-03 06:43:34 +0300
commit496ef569a3c876da8b5a6f8ad2af16aa4a8ba7a2 (patch)
tree782fad2c7b9b81f55bd9b6b4946b4e85e78e8119
parentf6b746a9a3db3eb03f1d610de0a1137a1cbd2582 (diff)
Include subtitle and/or passage in list display.
-rw-r--r--layouts/partials/listbody.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/listbody.html b/layouts/partials/listbody.html
index aa2424c..d4c56dd 100644
--- a/layouts/partials/listbody.html
+++ b/layouts/partials/listbody.html
@@ -6,7 +6,9 @@
<div class="row no-collapse 50% uniform">
<div class="col-6 col-12-mobilep">
<a href="{{ .Permalink }}">{{ if .Draft }}DRAFT: {{end}}{{ .Title | markdownify }}</a>
- <time class="date-meta">({{ .Date.Format "Jan 2, 2006" }})</time>
+ {{ with .Params.subtitle }} | {{ . | markdownify }} | {{ end }}
+ {{ with .Params.passage }} | {{ . | markdownify }} | {{ end }}
+ <time class="date-meta">{{ .Date.Format "Jan 2, 2006" }}</time>
<br>
{{ .Summary | plainify | safeHTML }}
{{ if .Truncated }}