diff options
author | Raphael Reitzig <4246780+reitzig@users.noreply.github.com> | 2020-06-16 14:43:20 +0300 |
---|---|---|
committer | Raphael Reitzig <4246780+reitzig@users.noreply.github.com> | 2020-06-16 14:43:20 +0300 |
commit | 684990f951b379023cc3e2e030a1b333c36d3a62 (patch) | |
tree | df858040a34b25c20511f06e1e20b2ba7848522e /layouts | |
parent | 9a0c2181183fd017cf171069f2f607fd68a0b6ad (diff) |
Add more user hooks
New (empty) templates added in article header
and at article bottom.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 1 | ||||
-rw-r--r-- | layouts/partials/article-extra.html | 3 | ||||
-rw-r--r-- | layouts/partials/article-header-extra.html | 3 | ||||
-rw-r--r-- | layouts/partials/article-header.html | 1 |
4 files changed, 8 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b19c782..eaba5cf 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,6 +13,7 @@ {{- partial "article-share.html" . -}} {{- partial "article-license.html" . -}} {{- partial "article-author.html" . -}} + {{- partial "article-extra.html" . -}} </div> <div class="article bottom"> {{- partial "article-bottom-navigation.html" . -}} diff --git a/layouts/partials/article-extra.html b/layouts/partials/article-extra.html new file mode 100644 index 0000000..22887c4 --- /dev/null +++ b/layouts/partials/article-extra.html @@ -0,0 +1,3 @@ +<!-- + for user-side override +--> diff --git a/layouts/partials/article-header-extra.html b/layouts/partials/article-header-extra.html new file mode 100644 index 0000000..88dad2b --- /dev/null +++ b/layouts/partials/article-header-extra.html @@ -0,0 +1,3 @@ +<!-- + for user-side override +-->
\ No newline at end of file diff --git a/layouts/partials/article-header.html b/layouts/partials/article-header.html index d50df68..2e137b9 100644 --- a/layouts/partials/article-header.html +++ b/layouts/partials/article-header.html @@ -25,4 +25,5 @@ {{- end -}} </p> {{- end -}} + {{- partial "article-header-extra.html" . -}} </section>
\ No newline at end of file |