aboutsummaryrefslogtreecommitdiff
path: root/example-site/checkup.md
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-07-18 16:04:06 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-07-18 16:04:06 -0400
commitf2082a0d72f9359be02182883a1e1190d8b1b215 (patch)
tree7856590caa92fe0e71861c85546cdabe0bea16ca /example-site/checkup.md
parent8b1d8bf26452f3ce8b38228a39755a6b8e18775a (diff)
downloadgo-website-f2082a0d72f9359be02182883a1e1190d8b1b215.tar.gz
go-website-f2082a0d72f9359be02182883a1e1190d8b1b215.tar.xz
More changes to how the website functions
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}}
+