Fix double-used navigation ID and odd centering issue
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
13eeadf6f0
commit
9abee96bd2
|
@ -346,7 +346,7 @@ figure {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#SeriesNavigation {
|
.series-navigation {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
|
@ -27,7 +27,9 @@
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- define "after" -}}
|
{{- define "after" -}}
|
||||||
|
<div class="container">
|
||||||
{{- partial "seriesnav.html" . -}}
|
{{- partial "seriesnav.html" . -}}
|
||||||
|
</div>
|
||||||
<hr class="container footer-divider">
|
<hr class="container footer-divider">
|
||||||
<footer class="container">
|
<footer class="container">
|
||||||
<p>{{ i18n "contactFooter" | safeHTML }}</p>
|
<p>{{ i18n "contactFooter" | safeHTML }}</p>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{{ with $term }}
|
{{ with $term }}
|
||||||
{{- /* No idea why the 'Reverse' is needed? */ -}}
|
{{- /* No idea why the 'Reverse' is needed? */ -}}
|
||||||
{{ $pages := (site.Taxonomies.series.Get .Data.Term).Pages.ByDate.Reverse }}
|
{{ $pages := (site.Taxonomies.series.Get .Data.Term).Pages.ByDate.Reverse }}
|
||||||
<nav id="SeriesNavigation" class="container">
|
<nav class="series-navigation">
|
||||||
{{ with $pages.Prev $page }}
|
{{ with $pages.Prev $page }}
|
||||||
{{ partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) }}
|
{{ partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user