diff options
| author | 2025-08-02 16:22:53 +0700 | |
|---|---|---|
| committer | 2025-08-02 16:22:53 +0700 | |
| commit | 8e3f93ed503864670476d322639a8b9051d5e740 (patch) | |
| tree | dff97c3fd0177744ff9473afd94ed78bce21182f /internal/frontmatter/parser.go | |
| parent | 79cc42d8a6904720ffba455e8a4083a8f48851b7 (diff) | |
| download | web-8e3f93ed503864670476d322639a8b9051d5e740.tar.gz web-8e3f93ed503864670476d322639a8b9051d5e740.zip | |
feat: add geolocation of places in blog0.3.1
Diffstat (limited to 'internal/frontmatter/parser.go')
| -rw-r--r-- | internal/frontmatter/parser.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/frontmatter/parser.go b/internal/frontmatter/parser.go index 6cc3ee8..1a521c0 100644 --- a/internal/frontmatter/parser.go +++ b/internal/frontmatter/parser.go @@ -15,6 +15,7 @@ type Metadata struct { PublishedTime time.Time `yaml:"publishedTime"` Thumbnail string `yaml:"thumbnail"` Tags []string `yaml:"tags"` + Geolocation string `yaml:"geolocation"` } func ParseFrontmatter(content []byte) (metadata *Metadata, markdown []byte, err error) { |