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.
		
			
				
	
	
		
			26 lines
		
	
	
		
			547 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			547 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!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> |