29 lines
905 B
Go
29 lines
905 B
Go
package templates
|
|
|
|
import (
|
|
"html/template"
|
|
"path/filepath"
|
|
)
|
|
|
|
var IndexTemplate = template.Must(template.ParseFiles(
|
|
filepath.Join("views", "layout.html"),
|
|
filepath.Join("views", "header.html"),
|
|
filepath.Join("views", "footer.html"),
|
|
filepath.Join("views", "prideflag.html"),
|
|
filepath.Join("views", "index.html"),
|
|
))
|
|
var MusicTemplate = template.Must(template.ParseFiles(
|
|
filepath.Join("views", "layout.html"),
|
|
filepath.Join("views", "header.html"),
|
|
filepath.Join("views", "footer.html"),
|
|
filepath.Join("views", "prideflag.html"),
|
|
filepath.Join("views", "music.html"),
|
|
))
|
|
var MusicGatewayTemplate = template.Must(template.ParseFiles(
|
|
filepath.Join("views", "layout.html"),
|
|
filepath.Join("views", "header.html"),
|
|
filepath.Join("views", "footer.html"),
|
|
filepath.Join("views", "prideflag.html"),
|
|
filepath.Join("views", "music-gateway.html"),
|
|
))
|