aboutsummaryrefslogtreecommitdiff
path: root/example-site
diff options
context:
space:
mode:
Diffstat (limited to 'example-site')
-rw-r--r--example-site/checkup.md39
-rw-r--r--example-site/index.md12
2 files changed, 16 insertions, 35 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}}
-
+-->
diff --git a/example-site/index.md b/example-site/index.md
index 2280662..f9f8fa8 100644
--- a/example-site/index.md
+++ b/example-site/index.md
@@ -12,7 +12,10 @@ it.
`code style text`
-[reIndex page]({{.Global.App.ReIndexPath}})
+ * [reIndex page]({{.Global.App.ReIndexPath}})
+ * [404 Page](/some/path/that/does/not/exist/at/all)
+ * [Example checkup page](/checkup)
+
## Recent Blog Entries:
@@ -32,10 +35,7 @@ it.
#### Global vars:
```
-{{.Global}}
-
-"App" under Global vars:
-{{.Global.App}}
+{{.EncodeYaml .Global}}
```
#### Page Index ( details )
@@ -44,5 +44,3 @@ it.
{{.EncodeYaml .Index}}
```
-
-{{end}}