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

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/prev-next.html')
-rw-r--r--layouts/post/prev-next.html18
1 files changed, 8 insertions, 10 deletions
diff --git a/layouts/post/prev-next.html b/layouts/post/prev-next.html
index 6279865..64b56de 100644
--- a/layouts/post/prev-next.html
+++ b/layouts/post/prev-next.html
@@ -1,13 +1,11 @@
<ul class="actions pagination">
- {{ if .PrevInSection }}
- <li>
- <a href="{{ .PrevInSection.Permalink }}" class="button big previous">{{ .PrevInSection.Title }}</a>
- </li>
- {{ end }}
+ {{ if .PrevInSection }}
+ <li><a href="{{ .PrevInSection.Permalink }}"
+ class="button big previous">{{ .PrevInSection.Title }}</a></li>
+ {{ end }}
- {{ if .NextInSection }}
- <li>
- <a href="{{ .NextInSection.Permalink }}" class="button big next">{{ .NextInSection.Title }}</a>
- </li>
- {{ end }}
+ {{ if .NextInSection }}
+ <li><a href="{{ .NextInSection.Permalink }}"
+ class="button big next">{{ .NextInSection.Title }}</a></li>
+ {{ end }}
</ul>