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

github.com/funkydan2/hugo-kiera.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/single_footer.html8
-rw-r--r--static/css/styles-dark.css4
-rw-r--r--static/css/styles-light.css4
3 files changed, 12 insertions, 4 deletions
diff --git a/layouts/partials/single_footer.html b/layouts/partials/single_footer.html
index 552d581..000dbd8 100644
--- a/layouts/partials/single_footer.html
+++ b/layouts/partials/single_footer.html
@@ -1,16 +1,16 @@
{{ if not .Params.meta }}
<section class="post-nav">
<ul>
- {{ with .PrevInSection }}
<li>
+ {{ with .PrevInSection }}
<a href="{{.Permalink}}"><i class="fa fa-chevron-circle-left"></i> {{ .Title }}</a>
- </li>
{{ end }}
- {{ with .NextInSection }}
+ </li>
<li>
+ {{ with .NextInSection }}
<a href="{{.Permalink}}">{{ .Title }} <i class="fa fa-chevron-circle-right"></i> </a>
- </li>
{{ end }}
+ </li>
</ul>
</section>
{{ if not .Params.disableComments }}
diff --git a/static/css/styles-dark.css b/static/css/styles-dark.css
index 5292b7b..35555ac 100644
--- a/static/css/styles-dark.css
+++ b/static/css/styles-dark.css
@@ -151,6 +151,10 @@ time {
font-size: 0.9em;
}
+#container main section.post-nav ul li:last-child {
+ text-align: right;
+}
+
#container main article > pre {
background-color: #a0a04b;
overflow-x: auto;
diff --git a/static/css/styles-light.css b/static/css/styles-light.css
index ea98a9d..a49e2d9 100644
--- a/static/css/styles-light.css
+++ b/static/css/styles-light.css
@@ -150,6 +150,10 @@ time {
font-size: 0.9em;
}
+#container main section.post-nav ul li:last-child {
+ text-align: right;
+}
+
#container main article > pre {
background-color: #ffffcc;
overflow-x: auto;