mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
20 lines
414 B
Go
20 lines
414 B
Go
package pages
|
|
|
|
import (
|
|
"github.com/Theodor-Springmann-Stiftung/musenalm/app"
|
|
"github.com/Theodor-Springmann-Stiftung/musenalm/pagemodels"
|
|
"github.com/Theodor-Springmann-Stiftung/musenalm/templating"
|
|
)
|
|
|
|
func init() {
|
|
RegisterStaticPage("/datenschutz/")
|
|
}
|
|
|
|
func RegisterStaticPage(url string) {
|
|
app.Register(&pagemodels.Page{
|
|
Name: url,
|
|
Layout: templating.DEFAULT_LAYOUT_NAME,
|
|
Template: url,
|
|
})
|
|
}
|