Replaced all other referenced to twt/twtxt
This commit is contained in:
@@ -40,11 +40,7 @@ func NewTemplateManager(conf *Config, blogs *BlogsCache, cache *Cache) (*Templat
|
||||
funcMap["hostnameFromURL"] = HostnameFromURL
|
||||
funcMap["prettyURL"] = PrettyURL
|
||||
funcMap["isLocalURL"] = IsLocalURLFactory(conf)
|
||||
funcMap["formatTwt"] = FormatTwtFactory(conf)
|
||||
funcMap["unparseTwt"] = UnparseTwtFactory(conf)
|
||||
funcMap["formatForDateTime"] = FormatForDateTime
|
||||
funcMap["urlForBlog"] = URLForBlogFactory(conf, blogs)
|
||||
funcMap["urlForConv"] = URLForConvFactory(conf, cache)
|
||||
funcMap["isAdminUser"] = IsAdminUserFactory(conf)
|
||||
|
||||
m := &TemplateManager{debug: conf.Debug, templates: templates, funcMap: funcMap}
|
||||
|
||||
Reference in New Issue
Block a user