Updated to match new look

only too 9 months lol
Signed-off-by: Sophia Atkinson <sophialul@protonmail.com>
This commit is contained in:
2023-08-15 23:39:54 -07:00
parent e4bc844b67
commit 1edf6d912b
104 changed files with 1173 additions and 7411 deletions

View File

@ -1,13 +1,15 @@
{{ define "title" }}
{{ title (i18n (lower .Title)) | default .Title }} - {{ .Site.Title }}
{{ title (i18n (lower .Title)) | default .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container list">
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{ title (i18n (lower .Title)) | default .Title }}
</a>
</h1>
<header>
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{ title (i18n (lower .Title)) | default .Title }}
</a>
</h1>
</header>
{{ .Content }}
<ul>
{{- range .Paginator.Pages -}}

View File

@ -1,5 +1,5 @@
{{ define "title" }}
{{ .Title }} - {{ .Site.Title }}
{{ .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container post">
@ -25,13 +25,13 @@
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>
{{ with .Page.Params.Authors }}{{ partial "taxonomy/authors.html" . }}{{ end }}
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
{{ with .GetTerms "authors" }}{{ partial "taxonomy/authors.html" . }}{{ end }}
{{ with .GetTerms "categories" }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .GetTerms "tags" }}{{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
</header>
<div>
<div class="post-content">
{{ if .Params.featuredImage }}
<img src="{{ .Params.featuredImage | relURL }}" alt="Featured image"/>
{{ end }}
@ -44,6 +44,7 @@
{{ partial "posts/disqus.html" . }}
{{ partial "posts/commento.html" . }}
{{ partial "posts/utterances.html" . }}
{{ partial "posts/giscus.html" . }}
</footer>
</article>