From 58c2d7bec036a4b81346b0b4ed5f3b3ffee1ced6 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Mon, 5 Oct 2020 00:32:57 +0200 Subject: [PATCH 1/4] doc(README): add sponsoring link --- .github/FUNDING.yml | 1 + README.md | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..fb615c8 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +custom: ['https://www.buymeacoffee.com/jimmycai'] \ No newline at end of file diff --git a/README.md b/README.md index 69bd657..e7e44f7 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,14 @@ Please do not remove the "*Theme Stack designed by Jimmy*" text and link. If you want to port this theme to another blogging platform, please let me know🙏. +## Sponsoring + +If you like this theme, consider supporting its development: + +Buy Me A Coffee + +Your support is greatly appreciated :) + ## Thanks to - [Vibrant-Colors/node-vibrant](https://github.com/Vibrant-Colors/node-vibrant) @@ -62,4 +70,4 @@ If you want to port this theme to another blogging platform, please let me know - [artchen/hexo-theme-element](https://github.com/artchen/hexo-theme-element) - [MunifTanjim/minimo](https://github.com/MunifTanjim/minimo) - [lepture/yue.css](https://github.com/lepture/yue.css) - - Markdown gallery syntax from [Typlog](https://typlog.com/) \ No newline at end of file + - Markdown gallery syntax from [Typlog](https://typlog.com/) From 630d35109480f3dc264f0c801e360609c273e74f Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Mon, 5 Oct 2020 00:37:23 +0200 Subject: [PATCH 2/4] fix(README): fix BuyMeACoffee image size --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e7e44f7..663edcd 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ If you want to port this theme to another blogging platform, please let me know If you like this theme, consider supporting its development: -Buy Me A Coffee +Buy Me A Coffee Your support is greatly appreciated :) From d461267734bfe3c0d3890f0d1a2d887ea0a73703 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Mon, 5 Oct 2020 08:14:51 +0200 Subject: [PATCH 3/4] refactor(config): deprecate article default image Remove [params.defaultImage.article] and [params.defaultImage.articleList] from config.toml --- exampleSite/config.toml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 95dd067..261f14e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -47,14 +47,6 @@ DefaultContentLanguage = "en" # Theme i18n support site = "" card = "summary_large_image" [params.defaultImage] - [params.defaultImage.article] - enabled = false - local = false - src = "" - [params.defaultImage.articleList] - enabled = false - local = true - src = "" [params.defaultImage.opengraph] enabled = false local = false From 809fa7860d678040dc8b3645bdd8ee1beef64b51 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Mon, 5 Oct 2020 08:56:03 +0200 Subject: [PATCH 4/4] refactor(config): add line break between sections (#26) For better readability --- exampleSite/config.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 261f14e..d32b20b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -14,18 +14,22 @@ DefaultContentLanguage = "en" # Theme i18n support mainSections = ["post"] featuredImageField = "image" rssFullContent = true + [params.dateFormat] published = "Jan 02, 2006" lastUpdated = "Jan 02, 2006 15:04 MST" + [params.sidebar] emoji = "🍥" avatar = "img/avatar.png" subtitle = "Lorem ipsum dolor sit amet, consectetur adipiscing elit." + [params.article] math = false [params.article.license] enabled = true default = "Licensed under CC BY-NC-SA 4.0" + [params.comments] enabled = true provider = "disqus" # Available: disqus, utterances @@ -33,7 +37,8 @@ DefaultContentLanguage = "en" # Theme i18n support repo = "" issueTerm = "pathname" label = "" # Optional - theme="preferred-color-scheme" + theme = "preferred-color-scheme" + [params.widgets] enabled = ['archives', 'tag-cloud'] [params.widgets.archives] @@ -42,10 +47,12 @@ DefaultContentLanguage = "en" # Theme i18n support path = "archives" [params.widgets.tagCloud] limit = 10 + [params.opengraph] [params.opengraph.twitter] site = "" card = "summary_large_image" + [params.defaultImage] [params.defaultImage.opengraph] enabled = false