Compare commits
No commits in common. "7e4eec50086ff63c7bdf592c6da36d6a4e90855c" and "d86b1d62536c15a352f22ceb6ea5ad9c1377b611" have entirely different histories.
7e4eec5008
...
d86b1d6253
|
@ -23,12 +23,7 @@
|
|||
.see-also {
|
||||
margin: 3.2rem 0;
|
||||
h3 {
|
||||
margin: 3.2rem 0 1.6rem;
|
||||
}
|
||||
.see-also-list {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
text-align: center;
|
||||
margin: 3.2rem 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,14 +47,15 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
figure {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
> img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
figcaption p {
|
||||
text-align: center;
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
{{ $name := . | urlize }}
|
||||
{{ $series := index $.Site.Taxonomies.series $name }}
|
||||
{{ if gt (len $series.Pages) 1 }}
|
||||
<h3>More {{ . }} Articles</h3>
|
||||
<h3>See also in {{ . }}</h3>
|
||||
<nav>
|
||||
<ul class="see-also-list">
|
||||
<ul>
|
||||
{{ $maxItems := $.Site.Params.maxSeeAlsoItems | default 5 }}
|
||||
{{ range first (add $maxItems 1) $series.Pages }}
|
||||
{{ if ne .RelPermalink $currentPageUrl }}
|
||||
|
|
Loading…
Reference in New Issue