Messing with font sizes and the like

This commit is contained in:
Brandon Rozek 2022-11-22 23:25:30 -05:00
parent 5214da544e
commit 89aade301c
5 changed files with 36 additions and 22 deletions

View file

@ -9,23 +9,24 @@
{{ $postCount := len $posts }}
{{ range last 1 $posts }}
{{ $tags := .Site.Taxonomies.tags }}
<div style="font-size: 1.5rem; max-width: 30rem; margin-left: auto; margin-right: auto;">
<div class='bloglist-teaser'>
Hello! This page contains <strong>{{ $postCount | lang.NumFmt 0 }} posts</strong>
written in the past <strong>{{ div (sub now.Unix .Date.Unix) 31536000 }} years</strong>
spanning {{ len $tags }} topics within the dropdown above.
spanning
{{ len $tags }} topics within the dropdown above.
</div>
{{ end }}
<!-- contents -->
<div id="contentsList">
<div class="bloglist">
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
{{ if (ne $index 0) }}
<hr class="separator">
{{ end }}
<p class="date">{{ .Key }}</p>
<p class="bloglist-date">{{ .Key }}</p>
{{ range .Pages }}
<p><a href="{{ .Permalink }}">{{ .Title }}</a></p>
{{ end }}