aboutsummaryrefslogtreecommitdiff
path: root/backend/data.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-02-05 16:13:01 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-02-05 16:13:01 +0100
commited3812eeb6daa45a98d8d513a8de49b385c4831c (patch)
treeb3a6b309e2892997185d6c572a0b7bc0034b5025 /backend/data.go
parent26b879bf95d801c337b194b1af4aa07c167729a6 (diff)
feat(template): remove image if nothing is set in SEO
Diffstat (limited to 'backend/data.go')
-rw-r--r--backend/data.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/data.go b/backend/data.go
index 9fd6aea..6796b97 100644
--- a/backend/data.go
+++ b/backend/data.go
@@ -67,9 +67,6 @@ func (d *data) merge(cfg *Config, r *http.Request) {
d.Quote = cfg.Quotes[rand.Intn(len(cfg.Quotes))]
}
}
- if d.Image == "" {
- d.Image = cfg.DefaultImage
- }
if d.URL == "" {
d.URL = r.URL.Path
}