Put all vendored files in the 'vendor' directory

This commit is contained in:
Brian Buller 2017-06-15 14:09:07 -05:00
parent 1faf4b9aa1
commit b9c95826d9
41 changed files with 4 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 434 KiB

After

Width:  |  Height:  |  Size: 434 KiB

View File

@ -202,13 +202,13 @@ func InitPageData(w http.ResponseWriter, req *http.Request) *pageData {
p.Site = site p.Site = site
p.SubTitle = "GameJam Voting" p.SubTitle = "GameJam Voting"
p.Stylesheets = make([]string, 0, 0) p.Stylesheets = make([]string, 0, 0)
p.Stylesheets = append(p.Stylesheets, "/assets/css/pure-min.css") p.Stylesheets = append(p.Stylesheets, "/assets/vendor/css/pure-min.css")
p.Stylesheets = append(p.Stylesheets, "/assets/css/grids-responsive-min.css") p.Stylesheets = append(p.Stylesheets, "/assets/vendor/css/grids-responsive-min.css")
p.Stylesheets = append(p.Stylesheets, "/assets/font-awesome/css/font-awesome.min.css") p.Stylesheets = append(p.Stylesheets, "/assets/vendor/font-awesome/css/font-awesome.min.css")
p.Stylesheets = append(p.Stylesheets, "/assets/css/gjvote.css") p.Stylesheets = append(p.Stylesheets, "/assets/css/gjvote.css")
p.HeaderScripts = make([]string, 0, 0) p.HeaderScripts = make([]string, 0, 0)
p.HeaderScripts = append(p.HeaderScripts, "/assets/js/snack-min.js") p.HeaderScripts = append(p.HeaderScripts, "/assets/vendor/js/snack-min.js")
p.Scripts = make([]string, 0, 0) p.Scripts = make([]string, 0, 0)
p.Scripts = append(p.Scripts, "/assets/js/gjvote.js") p.Scripts = append(p.Scripts, "/assets/js/gjvote.js")