aboutsummaryrefslogtreecommitdiff
path: root/example-site/checkup.md
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-07-18 16:26:12 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-07-18 16:26:12 -0400
commitf835954270e8a04fd1c03e7cb29d4d69e331731a (patch)
treeb8eaec45b02d79f8d51d6726ffbbe34ce5de2ed7 /example-site/checkup.md
parent46c6d75da4768c81258d05a4965f99c0db0b3bb4 (diff)
downloadgo-website-example.tar.gz
go-website-example.tar.xz
Further tune the example siteexample
Diffstat (limited to 'example-site/checkup.md')
-rw-r--r--example-site/checkup.md39
1 files changed, 11 insertions, 28 deletions
diff --git a/example-site/checkup.md b/example-site/checkup.md
index c8556fa..622d836 100644
--- a/example-site/checkup.md
+++ b/example-site/checkup.md
@@ -8,46 +8,29 @@ description: Showing the output of one of the internal checkup mechanisms
# Status
+Current statuses:
+```
+{{range $key, $val := .Checkup}}{{$key}}
+{{end}}
+```
+
{{range $key, $val := .Checkup}}
## {{$key}}:
{{range $page := $val}}
```
{{$page}}
-{{$page.EncodeYaml nil}}
+{{$.EncodeYaml $page}}
```
{{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:
+## Raw
```
-{{.Global}}
-
-"App" under Global vars:
-{{.Global.App}}
+{{.EncodeYaml .Checkup}}
```
-
-
-{{end}}
-
+-->