added controls for the auto-refresh tag in the page header, which was the ONLY use for the metadata mechanism in Venice...
This commit is contained in:
+2
-1
@@ -47,7 +47,8 @@ func (*AmCLI) Version() string {
|
||||
// AmConfig holds the configuration of the application as read from YAML.
|
||||
type AmConfig struct {
|
||||
Site struct {
|
||||
Title string `yaml:"title"`
|
||||
Title string `yaml:"title"`
|
||||
TopRefresh int `yaml:"topRefresh"`
|
||||
} `yaml:"site"`
|
||||
Database struct {
|
||||
Driver string `yaml:"driver"`
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#
|
||||
site:
|
||||
title: "Amsterdam Web Communities System"
|
||||
topRefresh: 300
|
||||
database:
|
||||
driver: "mysql"
|
||||
dsn: "amsdb:x00yes2k@tcp(localhost)/amsterdam?parseTime=true&loc=Local"
|
||||
|
||||
Reference in New Issue
Block a user