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

github.com/yursan9/manis-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 097bea7..45c6386 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,21 +2,21 @@
<article>
<header>{{ partial "title" . }}</header>
{{ .Content }}
- <nav class="no-print post-nav">
- {{ if .PrevInSection }}
- <a class="prev-post" href="{{ .PrevInSection.Permalink }}">
- <img class="icon-text" src="/img/prev.svg"/>
- {{- .PrevInSection.Title -}}
- </a>
- {{ end }}
- {{ if .NextInSection }}
- <a class="next-post" href="{{ .NextInSection.Permalink }}">
- {{- .NextInSection.Title -}}
- <img class="icon-text" src="/img/next.svg"/>
- </a>
- {{ end }}
- </nav>
</article>
+<nav class="no-print post-nav">
+{{ if .PrevInSection }}
+ <a class="prev-post" href="{{ .PrevInSection.Permalink }}">
+ <img class="icon-text" src="/img/prev.svg"/>
+ {{- .PrevInSection.Title -}}
+ </a>
+{{ end }}
+{{ if .NextInSection }}
+ <a class="next-post" href="{{ .NextInSection.Permalink }}">
+ {{- .NextInSection.Title -}}
+ <img class="icon-text" src="/img/next.svg"/>
+ </a>
+{{ end }}
+</nav>
{{ partial "related" . }}
{{ if in .Site.Params.DisqusSections .Section }}
{{ partial "disqus" . }}