From 0321812a29e6ec32663556fa7abe2bf2880e5762 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 29 Aug 2021 11:48:16 +0200 Subject: update to https://github.com/sunt-programator/CodeIT/releases/tag/v0.2.0 --- themes/CodeIT/exampleSite/config.toml | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'themes/CodeIT/exampleSite/config.toml') diff --git a/themes/CodeIT/exampleSite/config.toml b/themes/CodeIT/exampleSite/config.toml index 9bcfc3e..b716758 100644 --- a/themes/CodeIT/exampleSite/config.toml +++ b/themes/CodeIT/exampleSite/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://example.com" +baseURL = "https://codeit.suntprogramator.dev" # [en, zh-cn, fr, pl, ...] determines default content language defaultContentLanguage = "en" # theme @@ -16,8 +16,8 @@ enableGitInfo = true # whether to use emoji code enableEmoji = true -# Ignore get JSON errors. -ignoreErrors = ["error-remote-getjson"] +# Ignore build errors. +ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"] [languages] [languages.en] @@ -138,9 +138,12 @@ ignoreErrors = ["error-remote-getjson"] gravatarEmail = "" # URL of avatar shown in home page avatarURL = "/images/avatar.png" + # {{< version 0.1.1 >}} Alt text for avatar (default is the author name) + avatarAlt = "" # title shown in home page (HTML format is supported) title = "" # subtitle shown in home page + # {{< version 0.1.1 changed >}} (HTML format is supported) subtitle = "A Clean, Elegant but Advanced Hugo Theme" # whether to use typeit animation for subtitle typeit = true @@ -218,6 +221,7 @@ ignoreErrors = ["error-remote-getjson"] Bilibili = "" Email = "xxxx@xxxx.com" RSS = true + Orcid = "" [languages.en.params.social.Mastodon] id = "@xxxx" prefix = "https://mastodon.technology/" @@ -338,6 +342,8 @@ ignoreErrors = ["error-remote-getjson"] gravatarEmail = "" # 主页显示头像的 URL avatarURL = "/images/avatar.png" + # {{< version 0.1.1 >}} Alt text for avatar (default is the author name) + avatarAlt = "" # 主页显示的网站标题 (支持 HTML 格式) title = "" # 主页显示的网站副标题 @@ -419,6 +425,7 @@ ignoreErrors = ["error-remote-getjson"] Bilibili = "xxxx" Email = "xxxx@xxxx.com" RSS = true + Orcid = "" [languages.fr] weight = 3 @@ -534,6 +541,8 @@ ignoreErrors = ["error-remote-getjson"] gravatarEmail = "" # URL of avatar shown in home page avatarURL = "/images/avatar.png" + # {{< version 0.1.1 >}} Alt text for avatar (default is the author name) + avatarAlt = "" # title shown in home page (HTML format is supported) title = "" # subtitle shown in home page @@ -615,6 +624,7 @@ ignoreErrors = ["error-remote-getjson"] Bilibili = "" Email = "xxxx@xxxx.com" RSS = true + Orcid = "" [params] # CodeIT theme version @@ -624,7 +634,7 @@ ignoreErrors = ["error-remote-getjson"] # public git repo url only then enableGitInfo is true gitRepo = "https://github.com/sunt-programator/CodeIT" # which hash function used for SRI, when empty, no SRI is used ("sha256", "sha384", "sha512", "md5") - fingerprint = "" + fingerprint = "sha256" # date format dateFormat = "2006-01-02" # website images for Open Graph and Twitter Cards @@ -778,6 +788,7 @@ ignoreErrors = ["error-remote-getjson"] Skype = false Trello = false Mix = false + Telegram = false # Comment config [params.page.comment] enable = true @@ -843,6 +854,15 @@ ignoreErrors = ["error-remote-getjson"] label = "" lightTheme = "github-light" darkTheme = "github-dark" + [params.page.comment.waline] + enable = false + serverURL = "https://xxx.vercel.app" + visitor = true + dark = 'auto' + [params.page.comment.twikoo] + enable = false + evnId = "https://xxx.vercel.app" + # Third-party library config [params.page.library] [params.page.library.css] @@ -902,7 +922,7 @@ ignoreErrors = ["error-remote-getjson"] id = "" # server url for your tracker if you're self hosting server = "" - # Plausible Analytics + # {{< version 0.1.0 >}} Plausible Analytics [params.analytics.plausible] domain = "" @@ -961,7 +981,7 @@ ignoreErrors = ["error-remote-getjson"] # Author config [author] - name = "xxxx" + name = "CodeIT" email = "" link = "" -- cgit v1.2.3