diff options
author | Luca Corrieri <luca.corrieri@epita.fr> | 2019-03-13 02:00:08 +0300 |
---|---|---|
committer | Luca Corrieri <luca.corrieri@epita.fr> | 2019-03-13 02:04:44 +0300 |
commit | 1290a070c62bab86c4889d0bb603f8cd8fbb6394 (patch) | |
tree | 7a13ff207ee3e87c4a5d441021ac6ba0b7f7e497 | |
parent | 577c7cb3812d0ddef82089bf9fbd0e7c37d1baee (diff) |
Added a margin-bottom at the end of static pages since they have no tags
I found the text a little too close to the footer in that case
-rw-r--r-- | layouts/_default/single.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f6b15ae..9f108f7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -18,9 +18,15 @@ {{ end }} </header> + {{ if ne .Type "page" }} <main class="post__body"> {{ .Content }} </main> + {{ else }} + <main class="post__body" style="margin-bottom: 3rem;"> + {{ .Content }} + </main> + {{ end }} {{ if ne .Type "page" }} <footer class="post__footer"> |