Compare commits
No commits in common. "acf86b8d760c65c010c75b81b9ebadbed4bc3e0e" and "7c085b4d39565df6d4bee7913513f20095392c69" have entirely different histories.
acf86b8d76
...
7c085b4d39
|
@ -381,7 +381,7 @@ figure {
|
|||
}
|
||||
|
||||
|
||||
a, .ongoing-placeholder {
|
||||
a {
|
||||
@include bordered-block;
|
||||
padding: 0.5em 1em 0.5em 1em;
|
||||
font-size: 1.1em;
|
||||
|
@ -398,10 +398,6 @@ figure {
|
|||
}
|
||||
}
|
||||
|
||||
.ongoing-placeholder {
|
||||
border-style: dashed;
|
||||
}
|
||||
|
||||
div.title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="{{ .direction }} wrapper">
|
||||
<a href="{{ .page.RelPermalink }}">
|
||||
<a href="{{ .link }}">
|
||||
{{ if eq .direction "previous" }}{{ partial "icon.html" "chevrons-left" }}{{ end }}
|
||||
<div class="title-subtitle">
|
||||
{{ title .direction }} in Series
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
<div class="{{ .direction }} wrapper">
|
||||
<div class="ongoing-placeholder">
|
||||
{{ if eq .direction "previous" }}{{ partial "icon.html" "chevrons-left" }}{{ end }}
|
||||
<div class="title-subtitle">
|
||||
{{ title .direction }} in Series
|
||||
<div class="title">Coming soon!</div>
|
||||
</div>
|
||||
{{ if eq .direction "next" }}{{ partial "icon.html" "chevrons-right" }}{{ end }}
|
||||
</a>
|
||||
</div>
|
|
@ -1,17 +1,14 @@
|
|||
{{- $page := . -}}
|
||||
{{- $term := index (.GetTerms "series") 0 -}}
|
||||
{{- with $term -}}
|
||||
{{ $term := index (.GetTerms "series") 0 }}
|
||||
{{ with $term }}
|
||||
{{- /* 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 class="series-navigation">
|
||||
{{- with $pages.Prev $page -}}
|
||||
{{- partial "serieslink.html" (dict "direction" "previous" "page" .) -}}
|
||||
{{- end -}}
|
||||
{{- $nextPage := $pages.Next $page -}}
|
||||
{{- if $nextPage -}}
|
||||
{{- partial "serieslink.html" (dict "direction" "next" "page" $nextPage) -}}
|
||||
{{- else if eq $term.Params.status "ongoing" -}}
|
||||
{{- partial "serieslinkplaceholder.html" (dict "direction" "next") -}}
|
||||
{{- end -}}
|
||||
{{ with $pages.Prev $page }}
|
||||
{{ partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) }}
|
||||
{{ end }}
|
||||
{{ with $pages.Next $page }}
|
||||
{{ partial "serieslink.html" (dict "direction" "next" "link" .RelPermalink "page" .) }}
|
||||
{{ end }}
|
||||
</nav>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user