aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/handlers_layout.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/handlers_layout.go')
-rw-r--r--internal/web/handlers_layout.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/web/handlers_layout.go b/internal/web/handlers_layout.go
index d89cd18..db4f47c 100644
--- a/internal/web/handlers_layout.go
+++ b/internal/web/handlers_layout.go
@@ -126,10 +126,6 @@ func (s *Server) handleModuleAdd(w http.ResponseWriter, r *http.Request) {
m.Count = 10
case "tagcloud":
m.Title = i18n.T(blogLang, "Tag cloud")
- case "search":
- if area != "header" {
- m.Title = i18n.T(blogLang, "Search")
- }
}
m, err := blogStore(r).CreateModule(r.Context(), m)
if err != nil {