quartz-research-note/layouts/index.html

20 lines
412 B
HTML
Raw Normal View History

2021-07-18 15:54:00 +00: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 15:54:00 +00:00
<!-- Main Page -->
<div class="singlePage">
2021-07-18 16:06:36 +00:00
{{partial "darkmode.html" .}}
{{$content}}
2021-07-18 15:54:00 +00:00
<!-- Contact Info -->
<div>
2021-07-18 15:54:00 +00:00
{{partial "footer.html" .}}
</div>
</div>
{{end}}