diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2026-01-21 00:40:17 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2026-01-21 00:40:17 -0500 |
| commit | cbb0dafad526128d10ff5f4859a1990132e4f75e (patch) | |
| tree | 97f538f1797a3ff82088d9875b5fcce92b5e812a /example-site/index.md | |
| parent | c5b07cd82fde44730997068029371f453bf31771 (diff) | |
| download | go-website-wip.tar.gz go-website-wip.tar.xz | |
Clean up the example site a touch and make a quick pass on the config load errorswip
Diffstat (limited to 'example-site/index.md')
| -rw-r--r-- | example-site/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example-site/index.md b/example-site/index.md index 7d51067..451f36e 100644 --- a/example-site/index.md +++ b/example-site/index.md @@ -24,7 +24,7 @@ it. {{range $val := .Index.Blog.SortDate}} * [{{$val.Date.Time.Format "2006-01-02"}} {{$val.Title}}]({{$val.Path}}){{end}} -## Published Blog Entries: +## Only Published Blog Entries: {{range $val := .Index.Blog.SortDate}}{{if $val.Published}} * [{{$val.Date.Time.Format "2006-01-02"}} {{$val.Title}}]({{$val.Path}}){{end}}{{end}} |
