aboutsummaryrefslogtreecommitdiff
path: root/example-site/checkup.md
diff options
context:
space:
mode:
Diffstat (limited to 'example-site/checkup.md')
-rw-r--r--example-site/checkup.md62
1 files changed, 62 insertions, 0 deletions
diff --git a/example-site/checkup.md b/example-site/checkup.md
new file mode 100644
index 0000000..f7d7a88
--- /dev/null
+++ b/example-site/checkup.md
@@ -0,0 +1,62 @@
+---
+title: Example checkup page
+description: Showing the output of one of the internal checkup mechanisms
+
+|---
+
+# {{.Title}}
+
+# Status
+
+{{range $key, $val := .Checkup}}
+## {{$key}}:
+{{range $page := $val}}
+```
+{{$page}}
+{{$page.EncodeYaml nil}}
+```
+{{end}}
+{{end}}
+## Raw
+
+```
+{{.EncodeYaml .Checkup}}
+```
+
+## Recent Blog Entries:
+
+[Atom Feed](/{{.Global.App.FeedPrefix}}/Blog?limit=5&content)
+
+{{range $val := .Index.Blog.SortDate}}
+ * [{{$val.Date.Time.Format "2006-01-02"}} {{$val.Title}}]({{$val.Path}}){{end}}
+
+## Published Blog Entries:
+
+{{range $val := .Index.Blog.SortDate}}{{if $val.Published}}
+ * [{{$val.Date.Time.Format "2006-01-02"}} * {{$val.Title}}]({{$val.Path}}){{end}}{{end}}
+
+## Some internals
+
+
+#### Global vars:
+
+```
+{{.Global}}
+
+"App" under Global vars:
+{{.Global.App}}
+```
+
+#### Page Index
+
+{{range $key, $val := .Index}}
+```
+### {{$key}}:
+
+{{range $v2 := $val}}
+{{$v2.StringDetail}}{{end}}
+```
+
+
+{{end}}
+