housekeeping

This commit is contained in:
George Burgess IV 2015-10-05 23:51:49 -07:00
parent 1e421e07cd
commit 12551d12b3
2 changed files with 5 additions and 6 deletions

View File

@ -21,15 +21,15 @@ var Config struct {
bind string
filesDir string
metaDir string
noLogs bool
allowHotlink bool
siteName string
siteURL string
fastcgi bool
remoteUploads bool
contentSecurityPolicy string
fileContentSecurityPolicy string
xFrameOptions string
noLogs bool
allowHotlink bool
fastcgi bool
remoteUploads bool
}
var Templates = make(map[string]*pongo2.Template)

View File

@ -41,8 +41,7 @@ func (fs *Pongo2Loader) Abs(base, name string) string {
}
func populateTemplatesMap(tSet *pongo2.TemplateSet, tMap map[string]*pongo2.Template) error {
templates := [...]string{
templates := []string{
"index.html",
"paste.html",
"404.html",