From f428520997fb14e8f0363ecfea236148ed81dab6 Mon Sep 17 00:00:00 2001 From: mgarrixx Date: Sat, 3 Feb 2024 04:29:41 +0900 Subject: [PATCH 01/10] fix: wrong URLs for documentation --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 72c2124b2..fcc5700ec 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Then, add this line to your Jekyll site's `Gemfile`: gem "jekyll-theme-satellite" ``` -You need to replace the initial `_config.yml` file with the [prepared one](https://github.com/byanko55/jekyll-theme-satellite/docs/_config.yml). +You need to replace the initial `_config.yml` file with the [prepared one](https://github.com/byanko55/jekyll-theme-satellite/blob/master/docs/_config.yml). ### Modify your site setting @@ -102,12 +102,12 @@ You can find useful manuals for customizing your site from the below table: ||| |---|---| -|Posting guidelines|[link](https://github.com/byanko55/jekyll-theme-satellite/docs/Posting%20guide.md)| -|Enabling ***comment system***|[link](https://github.com/byanko55/jekyll-theme-satellite/docs/Comment%20system.md)| -|Enabling ***Visitor counter***|[link](https://github.com/byanko55/jekyll-theme-satellite/docs/Visitor%20counter.md)| +|Posting guidelines|[link](https://github.com/byanko55/jekyll-theme-satellite/blob/master/docs/Posting%20Guide.md)| +|Enabling ***comment system***|[link](https://github.com/byanko55/jekyll-theme-satellite/blob/master/docs/Comment%20System.md)| +|Enabling ***Visitor counter***|[link](https://github.com/byanko55/jekyll-theme-satellite/blob/master/docs/Visitor%20Counter.md)| ## Contribution -If you would like to report a bug, or request a new feature, please open [an issue](https://github.com/byanko55/jekyll-theme-satellite/docs/Contribution%20Guidelines.md) We are open to any kind of feedback or collaboration. +If you would like to report a bug, or request a new feature, please open [an issue](https://github.com/byanko55/jekyll-theme-satellite/blob/master/docs/Contribution%20Guidelines.md) We are open to any kind of feedback or collaboration. ## License © 2024 *Yankos*. This theme is available as open source under the terms of the [MIT License](https://opensource.org/license/mit/). \ No newline at end of file From d4f93caa517765afc935b8ff4fc076f46dd570b7 Mon Sep 17 00:00:00 2001 From: mgarrixx Date: Sat, 3 Feb 2024 04:29:48 +0900 Subject: [PATCH 02/10] gemspec --- jekyll-theme-satellite.gemspec | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 jekyll-theme-satellite.gemspec diff --git a/jekyll-theme-satellite.gemspec b/jekyll-theme-satellite.gemspec new file mode 100644 index 000000000..faf22edfc --- /dev/null +++ b/jekyll-theme-satellite.gemspec @@ -0,0 +1,22 @@ +# frozen_string_literal: true + +Gem::Specification.new do |spec| + spec.name = "jekyll-theme-satellite" + spec.version = "1.1.0" + spec.authors = ["Yankos"] + spec.email = ["byanko55@gmail.com"] + + spec.summary = "Satellite - Jekyll blog theme" + spec.homepage = "https://github.com/byanko55/jekyll-theme-satellite" + spec.license = "MIT" + + spec.files = `git ls-files -z`.split("\x0").select { + |f| f.match(%r!^(assets|_data|_layouts|_includes|_sass|LICENSE|README)!i) + } + spec.files += [] + + spec.add_runtime_dependency "jekyll", "~> 4.3" + spec.add_runtime_dependency "jekyll-feed", "~> 0.12" + spec.add_runtime_dependency "jekyll-sitemap", "~> 1.3" + spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.6" +end From 2a7f3a4d96003b25c2540e65303664e6be6f18c4 Mon Sep 17 00:00:00 2001 From: byanko55 Date: Sun, 4 Feb 2024 13:41:04 +0900 Subject: [PATCH 03/10] remove value/log for giscus --- _config.yml | 10 +++++----- assets/js/post.js | 6 ------ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/_config.yml b/_config.yml index 74872e106..2b99f94be 100644 --- a/_config.yml +++ b/_config.yml @@ -12,10 +12,10 @@ linkedin_username: linkedin facebook_username: facebook # External API -giscus_repo: "byanko55/byanko55.github.io" -giscus_repoId: "R_kgDOLM6LCA" -giscus_category: "Q&A" -giscus_categoryId: "DIC_kwDOLM6LCM4Cc4-i" +giscus_repo: +giscus_repoId: +giscus_category: +giscus_categoryId: goatcounter_code: google_analytics: @@ -26,7 +26,7 @@ plugins: - jekyll-seo-tag exclude: - - guide/ + - docs/ collections: pages: diff --git a/assets/js/post.js b/assets/js/post.js index 407b3961b..f04ecd789 100644 --- a/assets/js/post.js +++ b/assets/js/post.js @@ -76,15 +76,11 @@ document.addEventListener('DOMContentLoaded', function(){ const giscus_category = $('meta[name="giscus_category"]').attr("content"); const giscus_categoryId = $('meta[name="giscus_categoryId"]').attr("content"); - console.log(giscus_repo); - if (giscus_repo !== undefined) { if (currentTheme === 'dark'){ giscusTheme = "noborder_gray"; } - console.log("what?"); - let giscusAttributes = { "src": "https://giscus.app/client.js", "data-repo": giscus_repo, @@ -103,8 +99,6 @@ document.addEventListener('DOMContentLoaded', function(){ let giscusScript = document.createElement("script"); Object.entries(giscusAttributes).forEach(([key, value]) => giscusScript.setAttribute(key, value)); document.body.appendChild(giscusScript); - - console.log("what??"); } // Giscus IMetadataMessage event handler From 2ce7e2cf2bf84695c847ca530db18128bc8557f2 Mon Sep 17 00:00:00 2001 From: byanko55 Date: Sun, 4 Feb 2024 13:50:38 +0900 Subject: [PATCH 04/10] remove attributes of index.md files --- _includes/navigation.html | 63 +++++++++++-------- _pages/Category A/Subcategory a/index.md | 2 - _pages/Category A/index.md | 2 - .../Subcategory b/Subsubcategory 1/index.md | 2 - .../Subcategory b/Subsubcategory 2/index.md | 2 - _pages/Category B/Subcategory b/index.md | 2 - _pages/Category B/Subcategory b/post-03.md | 1 + _pages/Category B/Subcategory c/index.md | 2 - _pages/Category B/index.md | 2 - _pages/index.md | 2 - 10 files changed, 39 insertions(+), 41 deletions(-) diff --git a/_includes/navigation.html b/_includes/navigation.html index e446d2cda..270ac6cd0 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -1,8 +1,8 @@