Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gizak/nofancy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-aung 'Lewis' Yip <liaung@gmail.com>2016-12-30 11:32:35 +0300
committerLi-aung 'Lewis' Yip <liaung@gmail.com>2016-12-30 11:37:18 +0300
commit6f236c8f6a540a879ba92e1fa25394f7ead4d42a (patch)
tree05d541f9ce111431c35e01493eab44f55a8006b3
parent26f87ff7bf6a0501019cf7086f89a050a417c7a6 (diff)
On index and list pages, wrap the main div in a <div class="post-content"> so the footer is pushed below the content. (Otherwise, on long pages, it overlaps the content.)
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/index.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 007a2ba..2d67838 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -5,6 +5,7 @@
<div class="pure-g">
<div class="pure-u-1-24 pure-u-md-5-24"></div>
<div class="pure-u-11-12 pure-u-md-5-8">
+ <div class="post-content">
<p class="posts-name">{{ .Title }}:</p>
<ul class="posts">
@@ -39,6 +40,7 @@
{{ end }}
</ul>
</div>
+ </div>
<div class="pure-u-1-24 pure-u-md-1-6"></div>
</div>
diff --git a/layouts/index.html b/layouts/index.html
index 458b352..fb1c464 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -4,6 +4,7 @@
<div class="pure-g">
<div class="pure-u-1-24 pure-u-md-5-24"></div>
<div class="pure-u-11-12 pure-u-md-5-8">
+ <div class="post-content">
<p class="posts-name">Recent posts:</p>
<ul class="posts">
@@ -38,6 +39,7 @@
{{ end }}
</ul>
</div>
+ </div>
<div class="pure-u-1-24 pure-u-md-1-6"></div>
</div>