mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 13:06:22 +00:00
22 lines
No EOL
373 B
HTML
22 lines
No EOL
373 B
HTML
{{define "head"}}
|
|
{{ partial "head.html" . }}
|
|
{{end}}
|
|
|
|
{{define "main"}}
|
|
<!-- Main Page -->
|
|
<div class="singlePage">
|
|
{{partial "darkmode.html" .}}
|
|
{{.Content}}
|
|
|
|
<!-- Contact Info -->
|
|
<div>
|
|
{{partial "footer.html" .}}
|
|
</div>
|
|
</div>
|
|
|
|
{{- with resources.Get "darkmode.js" | minify -}}
|
|
<script>
|
|
{{.Content | safeJS }}
|
|
</script>
|
|
{{- end -}}
|
|
{{end}} |