diff options
author | cntrump <cntrump@gmail.com> | 2020-10-15 16:52:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 16:52:44 +0300 |
commit | 693cfb739de100234d6b38910589ca004ffafeea (patch) | |
tree | d70a37f934bfecee15b250bcefe66344bab30790 | |
parent | d7c35b6d196319cc89b88eb552af200911619d40 (diff) | |
parent | 684990f951b379023cc3e2e030a1b333c36d3a62 (diff) |
Merge pull request #97 from reitzig/additional-user-hooks
Add more user hooks
-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 |