support markdown pages

This commit is contained in:
2020-07-29 16:29:25 +02:00
parent 51719b75f7
commit 1df989c1c5
12 changed files with 858 additions and 919 deletions

View File

@@ -0,0 +1,18 @@
{{define "markdown_wrapper"}}<!DOCTYPE html>
<html lang="en">
<head>
{{template "meta_tags" .Title}}
{{template "user_style" .}}
</head>
<body>
{{template "page_top" .}}
<h1>{{.Title}}</h1>
<div class="page_content"><div class="limit_width">
{{.Other}}
</div></div>
{{template "page_bottom" .}}
{{template "analytics"}}
</body>
</html>
{{end}}