| author | 2026-05-17 17:13:32 +0700 | |
|---|---|---|
| committer | 2026-05-17 17:13:32 +0700 | |
| commit | e9353a66bf51486f702eaa0f591dea54c9bd4cd1 (patch) | |
| tree | dd8d121366259045799475f4e402f2908af1d997 /internal/blog/index.go | |
| parent | 1c441f5eab9a2a24fe5309178ce010f32adac1c7 (diff) | |
| download | web-e9353a66bf51486f702eaa0f591dea54c9bd4cd1.tar.gz web-e9353a66bf51486f702eaa0f591dea54c9bd4cd1.zip | |
refactor: rewrite localization for dynamic set and get
feat: medley localnames
feat: integrate package minor updates
fix: on errors with blog client init write correct type
Diffstat (limited to 'internal/blog/index.go')
| -rw-r--r-- | internal/blog/index.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/blog/index.go b/internal/blog/index.go index 6c1a560..a09b59e 100644 --- a/internal/blog/index.go +++ b/internal/blog/index.go @@ -92,8 +92,9 @@ func (idx *Index) UnmarshalJSON(data []byte) error { } type MedleyEntry struct { - Codename string `json:"codename"` - Content []string `json:"content"` + Codename string `json:"codename"` + Localnames map[string]string `json:"localnames"` + Content []string `json:"content"` } type MedleyPageEntry struct { |