views: factor out sidebar layout template.

* Factor out common sidebar layout template.
* Convert wiki pages and posts to use this template.
* Add data-layout attribute to <body> element indicating the current layout.
This commit is contained in:
evazion
2019-09-28 17:05:18 -05:00
parent f7d7ed4b23
commit 960e5d4ae0
16 changed files with 316 additions and 339 deletions

View File

@@ -1,4 +1,4 @@
<aside id="sidebar">
<% content_for(:sidebar) do %>
<%= render "posts/partials/index/blacklist" %>
<%= render "wiki_pages/recent_changes" %>
</aside>
<% end %>