diff options
author | Volpeon <git@volpeon.ink> | 2022-07-27 19:10:15 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-07-27 19:10:15 +0200 |
commit | fd8aa54a4ce623d55219b1865e23b93b3b26e265 (patch) | |
tree | dc9ae2a4bcbfebe35defaede22e21b9cc1bd08d3 /templates/layouts | |
parent | Updated emojis (diff) | |
download | volpeon.ink-fd8aa54a4ce623d55219b1865e23b93b3b26e265.tar.gz volpeon.ink-fd8aa54a4ce623d55219b1865e23b93b3b26e265.tar.bz2 volpeon.ink-fd8aa54a4ce623d55219b1865e23b93b3b26e265.zip |
Added draft feature
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/page.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index c1bd051..b93f45f 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
@@ -12,6 +12,12 @@ | |||
12 | </time> | 12 | </time> |
13 | $endif$ | 13 | $endif$ |
14 | 14 | ||
15 | $if(draft)$ | ||
16 | <span class="o-badge u-mb-125"> | ||
17 | Draft | ||
18 | </span> | ||
19 | $endif$ | ||
20 | |||
15 | <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline"> | 21 | <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline"> |
16 | <span class="s-headings__primary">$title$</span> | 22 | <span class="s-headings__primary">$title$</span> |
17 | </h1> | 23 | </h1> |