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:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Governance
|
||||
layout: default
|
||||
layout: page
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -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
12
layouts/page.html
Normal 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' %>
|
||||
Reference in New Issue
Block a user