Fix governance design

Let the governance use the default layout (all markdown files default to
"docs").

Make the default layout use the right div classes so the CSS can take
hold.

Fix the `layout` declaration for Markdown documents that are not `kind:
article`. Declare the governance to use the "default" layout, not the
"docs" one. This is the minimal change to support the governance
document. The layout choice needs a refactoring, but how to do that
needs more thought.
parent 17f75ae3
......@@ -66,7 +66,8 @@ compile '*' do
if item[:kind] == 'article'
layout 'blog'
else
layout 'docs'
# TODO(mr): separate layout selection from Markdown handling
layout item[:layout] || 'docs'
end
elsif item[:extension] == 'css'
# don’t filter stylesheets
......
---
title: Governance
layout: default
---
......
<%= render 'header' %>
<div class="container">
<div class="col-md-12 doc-content">
<%= yield %>
</div>
<%= render 'container_footer' %>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment