feat(legal): merge legal and credits page
This commit is contained in:
parent
9787e1a1d5
commit
83a7fc5cf8
4 changed files with 9 additions and 14 deletions
8
main.go
8
main.go
|
@ -59,11 +59,11 @@ func main() {
|
|||
g.Templates = append(g.Templates, "templates/base/*.gohtml")
|
||||
|
||||
g.NewTemplate("index", "/", cfg.Person.Name, "", "", &cfg).Handle()
|
||||
g.NewTemplate("credits",
|
||||
"/credits",
|
||||
"Credits",
|
||||
g.NewTemplate("legal",
|
||||
"/legal",
|
||||
"Legal things",
|
||||
"",
|
||||
"Credits of "+cfg.Person.Name+"'s Now page",
|
||||
"Legal information about "+cfg.Person.Name+"'s Now page",
|
||||
&cfg).
|
||||
Handle()
|
||||
g.NewTemplate("tags",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue