From: digitalcraftsman Date: Mon, 4 Jan 2016 17:15:08 +0000 (+0100) Subject: Docs: add panel showing the last revision of a page X-Git-Tag: v0.16~438 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b47652fb;p=brevno-suite%2Fhugo Docs: add panel showing the last revision of a page The panel also contains the version of the documentation. --- diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html index f5c28376..9ddc6190 100644 --- a/docs/layouts/partials/footer.html +++ b/docs/layouts/partials/footer.html @@ -1,7 +1,13 @@ +
+ +
-
Hugo v{{ .Hugo.Version }} documentation
diff --git a/docs/static/css/bootstrap-gohugo.css b/docs/static/css/bootstrap-gohugo.css index 176e5aa5..1a929cfe 100644 --- a/docs/static/css/bootstrap-gohugo.css +++ b/docs/static/css/bootstrap-gohugo.css @@ -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; diff --git a/docs/static/css/style.css b/docs/static/css/style.css index 89f6324e..bbac6662 100644 --- a/docs/static/css/style.css +++ b/docs/static/css/style.css @@ -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; +}