From 7b5d55b01ff4bfbdaff30d1b845a7125644b745d Mon Sep 17 00:00:00 2001 From: ch0ccyra1n Date: Sun, 4 Jun 2023 13:49:34 -0700 Subject: [PATCH] specify content warnings in list view --- layouts/_default/list.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 29149f0..76587f0 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -12,6 +12,9 @@ img {

{{ .Title }}

{{ partial "metadata.html" . }} {{ if .Params.cws }} + +

Content Warning: {{ range $i, $e := .Params.cws -}}{{- if $i -}}, {{ end -}}{{ $e | humanize }}{{- end -}}

+
{{ else }}