1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 15:45:27 +01:00

Revert changes to the default layout

and instead make a new "page" layout for markdown-based pages. This
avoids changing the HTML based pages which are using the "default"
layout currently.
This commit is contained in:
Matthias Rampke
2018-01-08 18:50:56 +00:00
parent c9cc805d2e
commit 40e71d07f8
3 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
---
title: Governance
layout: default
layout: page
---

View File

@@ -1,9 +1,7 @@
<%= render 'header' %>
<div class="container">
<div class="col-md-12 doc-content">
<%= yield %>
</div>
<%= yield %>
<%= render 'container_footer' %>
</div>

12
layouts/page.html Normal file
View File

@@ -0,0 +1,12 @@
<%= render 'header' %>
<div class="container">
<div class="row">
<div class="col-md-12 doc-content">
<%= yield %>
</div>
</div>
<%= render 'container_footer' %>
</div>
<%= render 'footer' %>