posts: cleanup old TOML struct tags
1 file changed, 5 insertions(+), 5 deletions(-)
jump to
M internal/content/posts.go → internal/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 {