Browse Source

move from config file to config dir

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
master
Toshaan Bharvani 5 years ago
parent
commit
a7ba32fe57
  1. 22
      config/_default/config.toml
  2. 31
      config/_default/menus.toml
  3. 3
      config/production/config.toml

22
config/_default/config.toml

@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
### config.toml
title = "PowerEL"
baseURL = "https://www.powerel.org/"
theme = "pel"
languageCode = "en-us"
dataDir = "data"
assetDir = "assets"
PaginatePath = "blog"
sectionPagesMenu = "main"
buildDrafts = false
pygmentsUseClasses = true
enableGitInfo = true
enableRobotsTXT = true

[outputs]
section = [ "HTML", "Calendar", "RSS" ]

[outputFormats]
[outputFormats.RSS]
mediatype = "application/rss"
baseName = "feed"
suffix = "xml"

31
config.toml → config/_default/menus.toml

@ -1,53 +1,36 @@ @@ -1,53 +1,36 @@
### config.toml
title = "PowerEL"
baseURL = "https://www.powerel.org/"
theme = "pel"
languageCode = "en-us"
dataDir = "data"
PaginatePath = "blog"
sectionPagesMenu = "main"
buildDrafts = false
pygmentsUseClasses = true
enableGitInfo = true
enableRobotsTXT = true

### navbar
[[menu.navbar]]
[[navbar]]
name = "Home"
identifier = "home"
url = "/"
weight = -1000
[[menu.navbar]]
[[navbar]]
name = "About"
identifier = "about"
url = "/about/"
weight = -900
[[menu.navbar]]
[[navbar]]
name = "Get PEL"
identifier = "download"
url = "/download/"
weight = -800
[[menu.navbar]]
[[navbar]]
name = "Repos"
identifier = "repos"
url = "/repos/"
weight = -700
[[menu.navbar]]
[[navbar]]
name = "Community"
identifier = "community"
url = "/community/"
weight = -600
[[menu.navbar]]
[[navbar]]
name = "Git"
identifier = "git"
url = "https://git.powerel.org/"
weight = -500
#[[menu.navbar]]
#[[navbar]]
# name = "Bugs"
# identifier = "bugs"
# url = "https://bugzilla.powerel.org/"
# weight = -400

[params.analytics.piwik]
URL = "https://stats.vantosh.com"
ID = "43"

3
config/production/config.toml

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
[params.analytics.piwik]
URI = "https://stats.vantosh.com"
ID = "43"
Loading…
Cancel
Save