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 }}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<div class="h-card p-author">
|
||||
<h2 class="p-name"><a class="author u-url" rel="me" href="{{ .Site.BaseURL }}">{{ .Site.Params.Author }}</a></h2>
|
||||
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
|
||||
{{ $profile_width := 100 }}
|
||||
{{ $profile_width := 75 }}
|
||||
{{ $profile_image := $profile_image.Resize (printf "%dx" $profile_width) }}
|
||||
<img class="avatarMask u-photo" width="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}" />
|
||||
<div style="display: none">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ partial "search.html" . }}
|
||||
{{ partial "tags/all.html" . }}
|
||||
<!-- contents -->
|
||||
<div id="contentsList">
|
||||
<div class="bloglist">
|
||||
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
|
||||
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
|
||||
{{ if (ne $index 0) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue