forked from planex/defiance
16 lines
446 B
HTML
16 lines
446 B
HTML
{{ define "main" }}
|
|
<h1>{{ .Title }}</h1>
|
|
<hr>
|
|
{{ partial "metadata.html" . }}
|
|
<br><br>
|
|
{{ if $.Params.cws }}
|
|
<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>
|
|
{{ else }}
|
|
{{ .Content }}
|
|
{{ end }}
|
|
{{ end }}
|