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 -->
|
|
|
|
<div class="lt-centre">
|
|
|
|
{{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}}
|