Moved sidebar out of microhook
Moved the sidebar out of the after-post-list microhook and into the base theme template. This should resolve the styling issue which will break sites using the before-post-list microhook. This does tie the plugin to Tiny-theme baseof theme, which is not great. Will need to resolve this in some way, but should work for now.
This commit is contained in:
parent
a9f0437fc7
commit
7a3eb89fd8
5 changed files with 31 additions and 4 deletions
26
layouts/_default/baseof.html
Normal file
26
layouts/_default/baseof.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue