Remove TODO.txt integration

This commit is contained in:
2026-07-23 17:38:13 +02:00
parent ddfd29ea0e
commit 49c6240416
10 changed files with 31 additions and 613 deletions
+2 -4
View File
@@ -36,9 +36,8 @@ func hashAsset(name string) string {
return hex.EncodeToString(sum[:])[:12]
}
// tmplFuncs is shared by every layout-based template: layout.html renders the
// bundle version as a data attribute on <body> so global JS (todo-rail.js) can
// cache-bust its lazy bundle load the same way the edit template does.
// tmplFuncs is shared by every layout-based template: the edit template appends
// editorBundleVersion to its CodeMirror <script> src to cache-bust the bundle.
var tmplFuncs = template.FuncMap{
"editorBundleVersion": func() string { return editorBundleVersion },
"fileIcon": fileIcon,
@@ -125,7 +124,6 @@ func main() {
http.HandleFunc("/_logout", h.handleLogout)
http.HandleFunc("/_reindex", h.handleReindex)
http.HandleFunc("/_search", h.handleSearchSuggest)
http.HandleFunc("/_todo", h.handleTodo)
http.HandleFunc("/quickadd", h.handleQuickAdd)
http.Handle("/", h)