ar.falsy.cat/layouts/_default/single.html

24 lines
429 B
HTML
Raw Normal View History

2021-07-18 13:35:42 +00:00
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<body>
<div class="singlePage">
<!-- Begin actual content -->
{{partial "darkmode.html" .}}
<article>
{{if .Title}}<h1>{{ .Title }}</h1>{{end}}
{{- .Content -}}
</article>
{{partial "footer.html" .}}
</div>
{{- with resources.Get "darkmode.js" | minify -}}
<script>
{{.Content | safeJS }}
</script>
{{- end -}}
</body>
</html>