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

22 lines
633 B
Go
Raw Normal View History

2024-08-27 11:55:01 +02:00
package main
import (
"html/template"
"golang.org/x/text/language"
)
2024-08-28 19:49:23 +02:00
const ServerListen = ":7000"
2024-08-28 19:49:23 +02:00
const EntriesDirectory = "./entries"
const TemplateFile = "./public/index.html"
const StaticDirectory = "./public/static"
var ContentLanguage = language.English
const MainTitle = "Encyclopedia"
2024-08-29 13:29:39 +02:00
var SiteDescription = `A very simple and clean reader/browser?
for plaintext... documentation? wiki? chapters of a book? whatever.`
var FooterContent = []template.HTML{
template.HTML("powered by <a href='https://github.com/ChaoticByte/plaintext-encyclopedia' target='_blank' rel='noopener noreferrer'>plaintext-encyclopedia</a>"),
}