diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-07 13:31:23 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-07 13:31:23 -0500 |
| commit | ca33a035c779ae14fb6330c8801c75f49dd1bb79 (patch) | |
| tree | deaabaf15d6d91079a68f247e46070399e4343ee /example-site/index.md | |
| parent | 97dd660925434be537cd9a49a1d0c893b223e357 (diff) | |
| download | go-website-0.0.22.tar.gz go-website-0.0.22.tar.xz | |
Add an internal caching option. It performs quite well.v0.0.22
Also refactor and clean up most linter warnings.
Diffstat (limited to 'example-site/index.md')
| -rw-r--r-- | example-site/index.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/example-site/index.md b/example-site/index.md index f9f8fa8..7d51067 100644 --- a/example-site/index.md +++ b/example-site/index.md @@ -19,7 +19,7 @@ it. ## Recent Blog Entries: -[Atom Feed](/{{.Global.App.FeedPrefix}}/Blog?limit=5&content) +[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}} @@ -27,7 +27,7 @@ it. ## Published Blog Entries: {{range $val := .Index.Blog.SortDate}}{{if $val.Published}} - * [{{$val.Date.Time.Format "2006-01-02"}} * {{$val.Title}}]({{$val.Path}}){{end}}{{end}} + * [{{$val.Date.Time.Format "2006-01-02"}} {{$val.Title}}]({{$val.Path}}){{end}}{{end}} ## Some internals @@ -44,3 +44,6 @@ it. {{.EncodeYaml .Index}} ``` + + + |
