rizaldy.club/layouts/index.html

20 lines
412 B
HTML
Raw Normal View History

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