From de77b6ac475d00b4808ebeaf6a4efa99ac67ab00 Mon Sep 17 00:00:00 2001 From: ch0ccyra1n Date: Fri, 30 Sep 2022 19:47:50 -0700 Subject: [PATCH] Make content warnings clearer --- layouts/_default/single.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7ffcb2b..6b30a55 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,10 +3,9 @@ {{ partial "metadata.html" . }}

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

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

+ By clicking this checkbox, I consent to reading this article.