diff options
author | Joway.CI <joway.w@gmail.com> | 2020-08-21 04:55:53 +0300 |
---|---|---|
committer | Joway.CI <joway.w@gmail.com> | 2020-08-21 04:55:53 +0300 |
commit | 2dc6044aad1158f119c36cd47738dc27a054e0ff (patch) | |
tree | 197f44d3a3a42a2290ff053ae9239e10932d6044 | |
parent | f124a3dc655b3fe82d48ead1fd6e4b85cac96ab0 (diff) |
fix: page footer min height
-rw-r--r-- | layouts/_default/single.html | 10 | ||||
-rw-r--r-- | static/css/index.css | 3 |
2 files changed, 8 insertions, 5 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d624462..2dcbd6c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -47,11 +47,13 @@ {{ end }} </div> </div> - <div class="row"> - <div class="col-xs-12"> - {{ .Site.Params.postFooterContent | safeHTML }} + {{ if in .Site.Params.mainSections .Type }} + <div class="row"> + <div class="col-xs-12"> + {{ .Site.Params.postFooterContent | safeHTML }} + </div> </div> - </div> + {{ end }} {{ if in .Site.Params.mainSections .Type }} {{ partial "related.html" . }} diff --git a/static/css/index.css b/static/css/index.css index 72165d0..db7ace6 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -159,7 +159,8 @@ a:hover { } .post-content { - margin-bottom: 50px; + min-height: 60%; + /* margin-bottom: 50px; */ } .post-content p { |