blob: 6d292b5c70ad32204dd10d2b5d099920fcecc59e (
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
|
---
title: Example website home page
description: My example description
|---
# {{.Title}}
Example paragraph. This website utilizes Go's templates, a Blackfriday markdown
renderer and some yaml at the top of each file to provide some information about
it.
`code style text`
[reIndex page]({{.Global.App.ReIndexPath}})
## 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}}
## 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}}
|