2023-03-24 08:49:02 -05:00
|
|
|
<div class="page-metadata" aria-label="{{ i18n "aria_series_metadata" }}">
|
|
|
|
<span class="page-metadata-item">
|
2021-11-23 13:58:48 -06:00
|
|
|
{{ partial "icon.html" "newspaper" }}
|
|
|
|
{{ i18n "post_count" (len .Data.Pages) }}
|
|
|
|
</span>
|
|
|
|
|
|
|
|
{{ if ne .Site.Params.readingtime false }}
|
2023-03-24 08:49:02 -05:00
|
|
|
<span class="page-metadata-item">
|
2021-11-23 13:58:48 -06:00
|
|
|
{{ partial "icon.html" "clock" }}
|
|
|
|
{{ $readingtime := 0 }}
|
|
|
|
{{ range .Data.Pages }}
|
|
|
|
{{ $readingtime = (add $readingtime .ReadingTime) }}
|
|
|
|
{{ end }}
|
|
|
|
{{ i18n "readingtime" $readingtime }}
|
|
|
|
</span>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|