mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
Messing with font sizes and the like
This commit is contained in:
parent
5214da544e
commit
89aade301c
5 changed files with 36 additions and 22 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue