Docs: add panel showing the last revision of a page

The panel also contains the version of the
documentation.
This commit is contained in:
digitalcraftsman 2016-01-04 18:15:08 +01:00 committed by Anthony Fok
parent 2c66167431
commit b47652fb29
3 changed files with 28 additions and 2 deletions

View file

@ -1,7 +1,13 @@
<div class="row">
<div class="footer-panel">
<p>Last revision: {{ .Lastmod.Format "January 2, 2006" }}
<span style="float: right;">Hugo v{{ .Hugo.Version }} documentation</span>
</p>
</div>
</div>
</div>
</section>
<div style="font-size: medium; font-style: italic; text-align: right;">Hugo v{{ .Hugo.Version }} documentation</div>
</div>

View file

@ -1271,7 +1271,7 @@ label {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.panel-body {
padding: 15px;
padding: 15px 15px 0px 15px;
}
.carousel {
position: relative;

View file

@ -622,3 +622,23 @@ i.freebsd-19px:before {
display: none;
}
}
/* Footer panel */
.footer-panel {
width: 100%;
border-top:1px #efefef solid;
line-height: 30px;
padding: 25px 0px 15px;
margin-top: 15px;
background: #f9f9f9;
display: inline-block;
float: left;
}
.footer-panel p {
padding-left: 20px;
padding-right: 20px;
font-size: medium;
font-style: italic;
}