Create Page is done
This commit is contained in:
+8
-7
@@ -9,6 +9,7 @@ type PageCategory struct {
|
||||
Key string
|
||||
Plural string
|
||||
Icon string
|
||||
Info string
|
||||
}
|
||||
|
||||
// URLRoot is the "folder" used for searching within the category
|
||||
@@ -20,13 +21,13 @@ func (category *PageCategory) URLRoot() string {
|
||||
// a limited selection of categories. I may move it to a configuration
|
||||
// or the database, but for now I think this list is pretty fixed
|
||||
var PageCategories = []PageCategory{
|
||||
{"OoC", "OoC", "ooc"},
|
||||
{"Info", "Info", "info"},
|
||||
{"News", "News", "news"},
|
||||
{"Item", "Items", "item"},
|
||||
{"Document", "Documents", "document"},
|
||||
{"Background", "Background", "background"},
|
||||
{"Story", "Stories", "story"},
|
||||
{"OoC", "OoC", "ooc", "OoC content is for announcements, scheduling, general information, or anything that is not in-universe"},
|
||||
{"Info", "Info", "info", "Information gained during and between RP sessions"},
|
||||
{"News", "News", "news", "News stories that might be pertinent to ongoing plots"},
|
||||
{"Item", "Items", "item", "Items relevant to plots, that is more than just a document saved on a character's own omni-tool"},
|
||||
{"Document", "Documents", "document", "Data files, shadow broker dossiers, and other data that is not inside an item"},
|
||||
{"Background", "Background", "background", "Rumors, suspicious persons, or inter-RP occurences that may be noticed"},
|
||||
{"Story", "Stories", "story", "Background stories and inter-RP character intearactions"},
|
||||
}
|
||||
var pageCategories []string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user