sidebar-for-bayou/layouts/partials/sidebar-for-tiny-theme/sidebar.html
Leon Mika 7a3eb89fd8 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.
2024-03-24 12:06:08 +11:00

9 lines
241 B
HTML

{{ if .IsHome -}}
<div class="sidebar">
{{ if templates.Exists "partials/sidebar.html" }}
{{ partial "sidebar.html" . }}
{{ else }}
{{ partial "sidebar-for-tiny-theme/recommendations.html" . }}
{{ end }}
</div>
{{ end -}}