diff --git a/config/_default/config.toml b/config/_default/config.toml new file mode 100644 index 0000000..4c6913f --- /dev/null +++ b/config/_default/config.toml @@ -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" diff --git a/config.toml b/config/_default/menus.toml similarity index 55% rename from config.toml rename to config/_default/menus.toml index 4388bf4..eeebbb5 100644 --- a/config.toml +++ b/config/_default/menus.toml @@ -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" diff --git a/config/production/config.toml b/config/production/config.toml new file mode 100644 index 0000000..717fb59 --- /dev/null +++ b/config/production/config.toml @@ -0,0 +1,3 @@ +[params.analytics.piwik] + URI = "https://stats.vantosh.com" + ID = "43"