aboutsummaryrefslogtreecommitdiff
path: root/example-site/checkup.md
blob: f7d7a88b55f258aa6c4ae2051f41449a02f2b143 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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}}