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>2019-12-22 05:55:35 +0300
committerDaniel Saunders <daniel.saunders@gmail.com>2019-12-22 05:55:35 +0300
commit312690b2a05c3c3bd91bb0f9cf3490415d2acd05 (patch)
treeb556edb2ae77023b8bab048f5353324002f39f5d
parentb2d04c9b70bd38879166940d8162ea0a06221066 (diff)
Indicate DRAFT on single page.
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/sermons/single.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 526ea79..926495d 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -3,7 +3,7 @@
{{ "<!-- Main -->" | safeHTML }}
<section id="main" class="container">
<header>
- <h2>{{ .Params.title }}</h2>
+ <h2>{{ if .Draft }}DRAFT: {{end}}{{ .Params.title }}</h2>
{{ with .Params.subtitle }}
<p>{{ . }}</p>
{{ end }}
diff --git a/layouts/sermons/single.html b/layouts/sermons/single.html
index 49666ab..74f8ac5 100644
--- a/layouts/sermons/single.html
+++ b/layouts/sermons/single.html
@@ -2,7 +2,7 @@
{{ "<!-- Main -->" | safeHTML }}
<section id="main" class="container">
<header>
- <h2>{{ .Params.title }}</h2>
+ <h2>{{ if .Draft }}DRAFT: {{end}}{{ .Params.title }}</h2>
{{ with .Params.passage }}
<p>{{ . }}</p>
{{ end }}