aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-23 13:29:58 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-23 13:29:58 +0100
commit5d7f257e303d581a4b75f3feb12940a172ec89ed (patch)
treedc137ede5a336445b85433741da2bd5174feea8d /layouts/_default
parent5cba28f865dda37570b393739b6fce335a8b0146 (diff)
#150, Add content-before and content-after inject partials
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index a9c4da1..95524a0 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -18,7 +18,9 @@
{{ template "header" . }} <!-- Mobile layout header -->
</header>
+ {{ partial "docs/inject/content-before" . }}
{{ template "main" . }} <!-- Page Content -->
+ {{ partial "docs/inject/content-after" . }}
<footer class="book-footer">
{{ template "footer" . }} <!-- Footer under page content -->