From ccc26c3a0bb65ae2613e222c3ead7f6db377b483 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 17 Sep 2022 11:41:20 -0400 Subject: More work on the editor and update the example site to utilize it. --- example-site/tpl/base.md | 77 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 example-site/tpl/base.md (limited to 'example-site/tpl/base.md') diff --git a/example-site/tpl/base.md b/example-site/tpl/base.md new file mode 100644 index 0000000..97842c1 --- /dev/null +++ b/example-site/tpl/base.md @@ -0,0 +1,77 @@ + + + + + + + + + + {{if .AuthorName }} + + {{else if .Global.App.Author.Name }} + + {{else}} + {{end}} + +{{if .Title}} + {{.Title}} +{{else}} + Please change me! +{{end}} + +{{if .Description}} + +{{else}} + +{{end}} + + + + + +{{if .Description}}{{else}} +

+ + This is a draft, preview or otherwise unfinished page. + +

+{{end}} + +{{block "nav" .}} + +{{end}} + +{{.RenderBody}} + + +{{if .Vars.LoggedIn}} + +{{end}} + + -- cgit v1.2.3