quartz/layouts/index.html

20 lines
412 B
HTML
Raw Normal View History

2021-07-18 18:54:00 +03:00
{{define "head"}}
{{ partial "head.html" . }}
{{end}}
{{define "main"}}
{{$content := replaceRE `a href="\.\.\/(.+%20.+)+"` `$1` .Content}}
{{$content = replace $content "%20" "-"}}
{{$content = $content | safeHTML}}
2021-07-18 18:54:00 +03:00
<!-- Main Page -->
<div class="singlePage">
2021-07-18 19:06:36 +03:00
{{partial "darkmode.html" .}}
{{$content}}
2021-07-18 18:54:00 +03:00
<!-- Contact Info -->
<div>
2021-07-18 18:54:00 +03:00
{{partial "footer.html" .}}
</div>
</div>
{{end}}