More cleanup, add a new tag.

This commit is contained in:
Anna Rose 2023-08-31 02:48:37 +00:00
parent fc10789c9c
commit a8321a07fd
7 changed files with 54 additions and 1 deletions

View File

@ -2,6 +2,8 @@
title: "Doing Better About Nazis"
author: "Elizabeth"
date: "2019-11-13"
tags:
- antifascism
---
{{< imgproc "images/heathenantifa.png" "348x348" "right">}}
Image by [Fillchiam on Reddit](https://www.reddit.com/user/Fillchiam/)

View File

@ -2,6 +2,8 @@
title: "I can feel it in my bones"
author: "Anna"
date: "2022-09-16"
tags:
- event report
---
{{< imgproc "images/thor_drinks_coffee.jpg" "x500" "right" >}}

View File

@ -2,6 +2,8 @@
title: "Spotting the Nazis"
author: "Anna"
date: "2022-09-23"
tags:
- antifascism
---
_\[Content Warning: this post depicts and discusses symbols that are widely used by_ _racist people and organizations. At Freyja's Kiss, we do not condone these usages or these people. Rather, we condemn them in the strongest terms. May they find no frið or succor wherever they may go.\]_

View File

@ -7,7 +7,7 @@ theme = 'mainroad'
description = 'Thoughts from the Leftist Edge of Heathenry'
copyright = "Anna Rose Wiggins"
dateformat = '2006-01-02'
post_meta = ["date", "author"]
post_meta = ["date", "author", "tags"]
customCSS = ["css/custom.css"]
readmore = true

View File

@ -0,0 +1,18 @@
{{ define "main" }}
<main class="main list" role="main">
{{- with .Title }}
<header class="main__header">
<h1 class="main__title">Tag: {{ . }}</h1>
</header>
{{- end }}
{{- with .Content }}
<div class="content main__content clearfix">
{{ . }}
</div>
{{- end }}
{{- range .Paginator.Pages }}
{{- .Render "summary" }}
{{- end }}
</main>
{{ partial "pagination.html" . }}
{{ end }}

View File

@ -0,0 +1,16 @@
{{- $taxo := "tags" -}}
{{- with .Param $taxo -}}
<div class="meta__item-categories meta__item">
tagged:
<span class="meta__text">
{{- range $index, $category := . }}
{{- $url := urls.Parse ($category | urlize) -}}
{{- $path := $url.Path -}}
{{- with $.Site.GetPage (printf "/%s/%s" $taxo $path) }}
{{- if gt $index 0 }}, {{ end -}}
<a class="meta__link" href="{{ .RelPermalink }}" rel="category">{{ .Title }}</a>
{{- end }}
{{- end }}
</span>
</div>
{{- end }}

View File

@ -26,6 +26,13 @@
font-style: italic;
}
@font-face {
font-family: "Lato";
src: url("lato/Lato-Black.ttf");
font-weight: normal;
font-style: normal;
}
body {
font-size: 1.1em;
}
@ -71,6 +78,12 @@ figcaption {
display: inline-block;
}
.main__title {
text-transform: uppercase;
margin-bottom: 50px;
font-size: 2em;
}
.divider {
background-color: lightgrey;
height: 1px;