Replaced overridden baseof template with before-closing-body micro-hook

This commit is contained in:
Leon Mika 2024-04-02 21:14:39 +11:00
parent 7a3eb89fd8
commit d68db94b3b
3 changed files with 2 additions and 27 deletions

View file

@ -1,26 +0,0 @@
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<body>
{{ partial "header.html" . }}
<div class="page-content">
<div class="wrapper">
{{ block "main" . }}{{ end }}
</div>
{{ partial "sidebar-for-tiny-theme/sidebar.html" . }}
</div>
{{ partial "footer.html" . }}
{{ range .Site.Params.plugins_js }}
<script src="{{ . }}"></script>
{{ end }}
{{ if templates.Exists "partials/microhook-before-closing-body.html" }}
{{ partial "microhook-before-closing-body.html" . }}
{{ end }}
</body>
</html>

View file

@ -0,0 +1 @@
{{ partial "sidebar-for-tiny-theme/sidebar.html" . }}

View file

@ -1,5 +1,5 @@
{
"version": "1.0.2",
"version": "1.1.0",
"title": "Sidebar for Tiny Theme",
"description": "Adds a sidebar to a blog using Tiny Theme",
"includes": [