This repository has been archived on 2025-09-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
plaintext-encyclopedia/settings.go

19 lines
501 B
Go

package main
import (
"html/template"
"golang.org/x/text/language"
)
const ServerListen = ":7000"
const EntriesDirectory = "./entries"
const TemplateFile = "./public/index.html"
const StaticDirectory = "./public/static"
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>"),
}