modify see-also heading text
This commit is contained in:
parent
9908b8d2ed
commit
7e4eec5008
|
@ -5,9 +5,9 @@
|
||||||
{{ $name := . | urlize }}
|
{{ $name := . | urlize }}
|
||||||
{{ $series := index $.Site.Taxonomies.series $name }}
|
{{ $series := index $.Site.Taxonomies.series $name }}
|
||||||
{{ if gt (len $series.Pages) 1 }}
|
{{ if gt (len $series.Pages) 1 }}
|
||||||
<h3>See also in {{ . }}</h3>
|
<h3>More {{ . }} Articles</h3>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul class="see-also-list">
|
||||||
{{ $maxItems := $.Site.Params.maxSeeAlsoItems | default 5 }}
|
{{ $maxItems := $.Site.Params.maxSeeAlsoItems | default 5 }}
|
||||||
{{ range first (add $maxItems 1) $series.Pages }}
|
{{ range first (add $maxItems 1) $series.Pages }}
|
||||||
{{ if ne .RelPermalink $currentPageUrl }}
|
{{ if ne .RelPermalink $currentPageUrl }}
|
||||||
|
|
Loading…
Reference in New Issue