2021-07-18 22:54:00 +07:00
|
|
|
{{define "head"}}
|
|
|
|
{{ partial "head.html" . }}
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{define "main"}}
|
|
|
|
<!-- Main Page -->
|
|
|
|
<div class="singlePage">
|
2021-07-18 23:06:36 +07:00
|
|
|
{{partial "darkmode.html" .}}
|
2021-07-18 22:54:00 +07:00
|
|
|
{{.Content}}
|
|
|
|
|
|
|
|
<!-- Contact Info -->
|
2021-07-19 00:02:53 +07:00
|
|
|
<div>
|
2021-07-18 22:54:00 +07:00
|
|
|
{{partial "footer.html" .}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-18 23:06:36 +07:00
|
|
|
|
|
|
|
{{- with resources.Get "darkmode.js" | minify -}}
|
|
|
|
<script>
|
|
|
|
{{.Content | safeJS }}
|
|
|
|
</script>
|
|
|
|
{{- end -}}
|
2021-07-18 22:54:00 +07:00
|
|
|
{{end}}
|