all repos — homestead @ 143c1d889fb83fe3db5642e2f3ac6e15587929ab

Code for my website

posts: cleanup old TOML struct tags

Alan Pearce
commit

143c1d889fb83fe3db5642e2f3ac6e15587929ab

parent

e32306f5fd9f9efd05987bf4365faa99f6b0e989

1 file changed, 5 insertions(+), 5 deletions(-)

jump to
M internal/content/posts.gointernal/content/posts.go
@@ -21,12 +21,12 @@ "gitlab.com/tozd/go/errors"
) type PostMatter struct { - Date time.Time `toml:"date"` - Description string `toml:"description"` - Title string `toml:"title"` + Date time.Time + Description string + Title string Taxonomies struct { - Tags []string `toml:"tags"` - } `toml:"taxonomies"` + Tags []string + } } type Post struct {