Improve the series navigation links
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
e4dccd4f48
commit
00431109ac
|
@ -333,6 +333,7 @@ figure {
|
||||||
#SeriesNavigation {
|
#SeriesNavigation {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
@ -354,6 +355,7 @@ figure {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-top: 1em;
|
||||||
|
|
||||||
.feather {
|
.feather {
|
||||||
height: 1.25em;
|
height: 1.25em;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="title-subtitle">
|
<div class="title-subtitle">
|
||||||
{{ title .direction }} in Series
|
{{ title .direction }} in Series
|
||||||
{{ $divider := .term.Params.divider }}
|
{{ $divider := .term.Params.divider }}
|
||||||
{{ if $divider }}
|
{{ if (and $divider (strings.Contains .page.Title $divider)) }}
|
||||||
{{ $rest := after 1 (split .page.Title $divider) }}
|
{{ $rest := after 1 (split .page.Title $divider) }}
|
||||||
<div class="title">{{ delimit $rest $divider }}</div>
|
<div class="title">{{ delimit $rest $divider }}</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user