Remove TODO.txt integration
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user