27 lines
794 B
HTML
27 lines
794 B
HTML
{{ define "main" }}
|
|
<article class="h-entry">
|
|
<h1 class="p-name">{{ .Title }}</h1>
|
|
<p class="p-author" style="display: none;">{{ .Site.Author.Name }}</p>
|
|
<hr>
|
|
{{ partial "metadata.html" . }}
|
|
<br><br>
|
|
{{ if $.Params.inReplyTo }}
|
|
<p rel="in-reply-to" class="u-in-reply-to">In Reply to: {{ .Params.inReplyTo }}</p>
|
|
{{end}}
|
|
{{ 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;">
|
|
<div class="e-content">
|
|
{{ .Content }}
|
|
</div>
|
|
</label>
|
|
{{ else }}
|
|
<div class="e-content">
|
|
{{ .Content }}
|
|
</div>
|
|
{{ end }}
|
|
</article>
|
|
{{ partial "webmentions.html" . }}
|
|
{{ end }}
|