mirror of
https://gitlab.com/insurgentuo/defiance.git
synced 2025-04-04 06:54:06 +00:00
Make content warnings clearer
This commit is contained in:
parent
901b00b29a
commit
de77b6ac47
1 changed files with 3 additions and 4 deletions
|
@ -3,10 +3,9 @@
|
|||
{{ partial "metadata.html" . }}
|
||||
<br><br>
|
||||
{{ if $.Params.cws }}
|
||||
<input type="checkbox" id="cw">Content Warning: {{ range $i, $e := .Params.cws -}}
|
||||
{{- if $i -}}, {{ end -}}
|
||||
{{ $e | humanize }}
|
||||
{{- end -}}</input>
|
||||
<p>Content Warning: {{ range $i, $e := .Params.cws -}}{{- if $i -}}, {{ end -}}{{ $e | humanize }}
|
||||
{{- end -}}</p>
|
||||
<input type="checkbox" id="cw"> By clicking this checkbox, I consent to reading this article.</input>
|
||||
<label for="cw" onclick="return false;">
|
||||
{{ .Content }}
|
||||
</label>
|
||||
|
|
Loading…
Add table
Reference in a new issue