summaryrefslogtreecommitdiffci
path: root/internal/blog/index.go
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2026-05-17 17:13:32 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2026-05-17 17:13:32 +0700
commite9353a66bf51486f702eaa0f591dea54c9bd4cd1 (patch)
treedd8d121366259045799475f4e402f2908af1d997 /internal/blog/index.go
parent1c441f5eab9a2a24fe5309178ce010f32adac1c7 (diff)
downloadweb-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.go5
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 {