mirror of https://github.com/status-im/consul.git
edit page link does not belong in footer appearing like a nav link. should be associated with page content. updated
This commit is contained in:
parent
17b3910152
commit
b79afeb349
|
@ -81,3 +81,10 @@ pre {
|
|||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.edit-this-page{
|
||||
padding-top: 48px;
|
||||
a{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,9 +8,6 @@
|
|||
<li><a href="/docs/index.html">Docs</a></li>
|
||||
<li><a href="/community.html">Community</a></li>
|
||||
<li><a href="http://demo.consul.io/">Demo</a></li>
|
||||
<% if current_page.url != '/' %>
|
||||
<li class="edit"><a href="<%= github_url :current_page %>">Edit this page</a></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<ul class="external-links white nav navbar-nav">
|
||||
<li class="first download">
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
<div id="main-content" class="col-md-8" role="main">
|
||||
<div class="bs-docs-section">
|
||||
<%= yield %>
|
||||
<% if current_page.url != '/' %>
|
||||
<div class="edit-this-page"><a href="<%= github_url :current_page %>">Edit this page</a></div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue