diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 66d5710..ff071e5 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -187,11 +187,13 @@ pre > code { margin-top: 0; } +/* hugo just can't handle this feature .post-series-position { position: relative; float: right; opacity: .75; } +*/ .post-title, .author-name { diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 6ef73b0..492a31f 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,9 +1,3 @@ -
- {{ if .Scratch.Get "series_position" }} - ({{ .Scratch.Get "series_position" }}/{{ .Scratch.Get "series_total" }}) - {{ end }} -
-

{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }} {{ .Title | markdownify }} diff --git a/layouts/series/summary.html b/layouts/series/summary.html index 77c4623..480a595 100644 --- a/layouts/series/summary.html +++ b/layouts/series/summary.html @@ -11,12 +11,7 @@
- {{ $i := 0 }} - {{ $total := len .Data.Pages }} {{ range .Data.Pages.Reverse }} - {{ $i = add 1 $i }} - {{ .Scratch.Set "series_position" $i }} - {{ .Scratch.Set "series_total" $total }}
{{ .Render "summary" }}