aboutsummaryrefslogtreecommitdiff
path: root/example-site/index.md
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-07-18 16:04:06 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-07-18 16:04:06 -0400
commitf2082a0d72f9359be02182883a1e1190d8b1b215 (patch)
tree7856590caa92fe0e71861c85546cdabe0bea16ca /example-site/index.md
parent8b1d8bf26452f3ce8b38228a39755a6b8e18775a (diff)
downloadgo-website-f2082a0d72f9359be02182883a1e1190d8b1b215.tar.gz
go-website-f2082a0d72f9359be02182883a1e1190d8b1b215.tar.xz
More changes to how the website functions
Diffstat (limited to 'example-site/index.md')
-rw-r--r--example-site/index.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/example-site/index.md b/example-site/index.md
index 6d292b5..42b0181 100644
--- a/example-site/index.md
+++ b/example-site/index.md
@@ -21,6 +21,11 @@ it.
{{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