Added a footer, added the main title to the home page, minor improvements
This commit is contained in:
parent
1aa58ac243
commit
b86b1688ea
6 changed files with 40 additions and 4 deletions
13
settings.go
13
settings.go
|
@ -1,10 +1,19 @@
|
|||
package main
|
||||
|
||||
import "golang.org/x/text/language"
|
||||
import (
|
||||
"html/template"
|
||||
|
||||
"golang.org/x/text/language"
|
||||
)
|
||||
|
||||
const ServerListen = ":7000"
|
||||
|
||||
const EntriesDirectory = "./entries"
|
||||
const TemplateFile = "./public/index.html"
|
||||
const StaticDirectory = "./public/static"
|
||||
const MainTitle = "Encyclopedia"
|
||||
var ContentLanguage = language.English
|
||||
|
||||
const MainTitle = "Encyclopedia"
|
||||
var FooterContent = []template.HTML{
|
||||
template.HTML("powered by <a href='https://github.com/ChaoticByte/plaintext-encyclopedia' target='_blank' rel='noopener noreferrer'>plaintext-encyclopedia</a>"),
|
||||
}
|
||||
|
|
Reference in a new issue