diff options
| author | 2025-08-02 15:50:05 +0700 | |
|---|---|---|
| committer | 2025-08-02 15:52:48 +0700 | |
| commit | 140dd55ae162c3fd3337ab5ad96d418acab10deb (patch) | |
| tree | 97eac15f40708e3020a7516ee719edd10e3405a0 /internal/frontmatter | |
| parent | 00c1f7b891d9861ae8ea74e713e0513005d37ced (diff) | |
| download | articlator-140dd55ae162c3fd3337ab5ad96d418acab10deb.tar.gz articlator-140dd55ae162c3fd3337ab5ad96d418acab10deb.zip | |
feat: add geolocation metadata
Diffstat (limited to 'internal/frontmatter')
| -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) { |