diff options
Diffstat (limited to 'layouts/post/prev-next.html')
-rw-r--r-- | layouts/post/prev-next.html | 18 |
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> |