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 {
|
||||
margin-top: 1em;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.wrapper {
|
||||
flex-grow: 1;
|
||||
|
@ -354,6 +355,7 @@ figure {
|
|||
font-size: 1.1em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 1em;
|
||||
|
||||
.feather {
|
||||
height: 1.25em;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="title-subtitle">
|
||||
{{ title .direction }} in Series
|
||||
{{ $divider := .term.Params.divider }}
|
||||
{{ if $divider }}
|
||||
{{ if (and $divider (strings.Contains .page.Title $divider)) }}
|
||||
{{ $rest := after 1 (split .page.Title $divider) }}
|
||||
<div class="title">{{ delimit $rest $divider }}</div>
|
||||
{{ else }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user