Field Notes
- {{if .Posts}} --
- {{range .Posts}}
-
- - {{.Title}} - {{.Date.Format "Jan 2, 2006"}} - - {{end}} -
No posts yet.
- {{end}} - {{end}} -diff --git a/blog/routes.go b/blog/routes.go index da61360..30166b3 100644 --- a/blog/routes.go +++ b/blog/routes.go @@ -1,6 +1,7 @@ package blog import ( + "embed" "html/template" "log" "net/http" @@ -8,197 +9,38 @@ import ( "strings" ) -const pageTpl = ` - -
- -No posts yet.
- {{end}} - {{end}} -+ Engineering, music, and experiments connected under one namespace. + This site is the central entry point to everything running on chaosmith.systems. +
+ +
+ No posts yet.
+ {{end}} + {{else}} + {{template "landing-content" .}} + {{end}} +{{end}} diff --git a/index.html b/index.html index 8c2e47a..56f90a7 100644 --- a/index.html +++ b/index.html @@ -377,7 +377,7 @@