From fa7e7df6893a3128e6881eedba0ce6a5e2cb98a7 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Sun, 13 Dec 2020 18:18:28 +0530 Subject: [PATCH] Update config to new theme --- config.toml | 103 +++++++++++++++++++++++++--------------------------- 1 file changed, 50 insertions(+), 53 deletions(-) diff --git a/config.toml b/config.toml index 8e85d63..1d0d1bd 100644 --- a/config.toml +++ b/config.toml @@ -1,67 +1,64 @@ baseURL = "https://cedaei.com/" languageCode = "en-us" title = "Ceda EI's Blog" -theme = "paperesque" -paginate = 5 +theme = "codex" +copyright = "CC-BY-SA 4.0" pygmentsUseClasses = true [params] # dir name of your blog content (default is `content/posts`) contentTypeName = "posts" + dateFormat = "2006 Jan 2" + description = "asd" - # ["orange", "blue", "red", "green", "pink"] - themeColor = "orange" + twitter = "https://twitter.com/ceda_ei" + gitlab = "https://gitlab.com/ceda_ei/" + email = "mailto:ceda_ei@webionite.com" + iconOrder = ["Gitlab", "Email", "Twitter"] + showPageTitleInTOC = false - # if you set this to 0, only submenu trigger will be visible - showMenuItems = 2 +# Controls the navigation +[[menu.main]] + identifier = "blog" + name = "Posts" + title = "Posts" + url = "/posts/" - # show selector to switch language - showLanguageSelector = false - - # set theme to full screen width - fullWidthTheme = false - - # center theme with default width - centerTheme = true - - # set a custom favicon (default is a `themeColor` square) - # favicon = "favicon.ico" - - # set all headings to their default size (depending on browser settings) - # it's set to `true` by default - # oneHeadingSize = false - -[params.twitter] - # set Twitter handles for Twitter cards - # see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution - # do not include @ - creator = "" - site = "" - -[[params.menu]] - name = "Blog Posts" - url = "posts/" - -[[params.menu]] - name = "Tags" - url = "tags/" - -[[params.menu]] - name = "About" - url = "https://webionite.com/" - -[[params.menu]] - name = "RSS" - url = "/index.xml" - -[[params.menu]] - name = "Telegram Updates" - url = "https://t.me/cedaei" - -[[params.menu]] +[[menu.main]] + identifier = "source" + title = "Source" name = "Source" url = "https://git.webionite.com/ceda_ei/cedaei.com" -[[params.topmenu]] - name = "Subscribe" - url = "/" +[[menu.main]] + identifier = "tg" + title = "Subscribe (TG)" + name = "Subscribe (TG)" + url = "https://t.me/cedaei" + +[[menu.main]] + identifier = "rss" + title = "Subscribe (RSS)" + name = "Subscribe (RSS)" + url = "/index.xml" + +[[menu.main]] + identifier = "tags" + title = "Tags" + name = "Tags" + url = "/tags/" + +[[menu.main]] + identifier = "about" + name = "About" + title = "About" + url = "https://webionite.com/" + + +[markup] + [markup.highlight] + codeFences = false + + # Set to false to disallow raw HTML in markdown files + [markup.goldmark.renderer] + unsafe = true