Skip to content

updating to chirpy v7.1.0 #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ package-lock.json

# IDE configurations
.idea
.vscode
.vscode/*
!.vscode/settings.json
!.vscode/extensions.json
!.vscode/tasks.json

# Misc
_app

# Link Checker
link-checker.json
Expand Down
9 changes: 7 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ source "https://rubygems.org"

gemspec

group :test do
gem "html-proofer", "~> 5.0"
gem "html-proofer", "~> 5.0", group: :test

platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Chirpy:

## Upgrading the Theme

Since we aren't using the theme gem (so we can do customizations), we have to do it the old-fashioned way:
Since we aren't using the theme gem (so we can do customizations), we have to do it the old-fashioned way:

1. Ensure chirpy is set as a remote: `git remote add chirpy https://github.com/cotes2020/jekyll-theme-chirpy.git`
2. Ensure you have the latest upstream commit: `git fetch chirpy`
Expand All @@ -69,16 +69,17 @@ Since we aren't using the theme gem (so we can do customizations), we have to do
- If getting GPG errors, modify the local git config: `git config commit.gpgsign false`, but modify it back to `true` after you are done cherry-picking and rebasing (before amending commit)
5. Review merge conflicts - use a combination of `git cherry-pick --skip` (for when readme/starter posts are updated) and `cherry-pick --continue` (to continue after you resolve real merge conflicts)
6. Starting in Chirpy v5.6.0, run: `npm run build && git add assets/js/dist _sass/dist -f && git commit -m "update js assets"` ([docs](https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Upgrade-Guide#upgrade-the-fork))
- You can also run a command that's referenced in the `init.sh` to remove this from `.gitignore`: `sed -i '' "/.*\/dist$/d" .gitignore`
7. Rebase the number of commits you just brought in (you should see icon in VS Code): `git rebase -i HEAD~16`
- Leave the top commit as `pick` but change the rest to `squash`
- Update the commit message as appropriate
8. Pay close attention to the terminal output as to which new files are being created and if they should be deleted (new files show up as `create mode 100644 file.ext`)
- For example, we wouldn't want to commit a GitHub workflow or issue template that wasn't needed here
- If there are new files that we don't want to track, delete the files, commit, and run another rebase `git rebase -i HEAD~2`
- This command can help with tracking new files in the most recent commit: `git diff-tree --compact-summary -r HEAD --diff-filter=A`
9. Ensure commit signing is enabled: `git config commit.gpgsign true`
9. Ensure commit signing is enabled: `git config commit.gpgsign true`
10. Update author and commit time: `git commit --amend --author "Josh Johanning <joshjohanning@github.com>" --date=now -S`
11. [Test changes locally before pushing](#building--testing-locally)
11. [Test changes locally before pushing](#building--testing-locally)

## Building / Testing Locally

Expand Down
18 changes: 8 additions & 10 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ analytics:
domain: # fill in your Matomo domain
cloudflare:
id: # fill in your Cloudflare Web Analytics token
fathom:
id: # fill in your Fathom Site ID

# Pageviews settings
# Page views settings
pageviews:
provider: # now only supports 'goatcounter'

Expand All @@ -83,8 +85,8 @@ pageviews:
#
# Available options:
#
# light - Use the light color scheme
# dark - Use the dark color scheme
# light Use the light color scheme
# dark Use the dark color scheme
#
theme_mode: # [light | dark]

Expand All @@ -106,7 +108,7 @@ social_preview_image: # string, local or CORS resources
toc: true

comments:
# Global switch for the post comment system. Keeping it empty means disabled.
# Global switch for the post-comment system. Keeping it empty means disabled.
provider: utterances # [disqus | utterances | giscus]
# The provider options are as follows:
disqus:
Expand Down Expand Up @@ -136,9 +138,9 @@ assets:
env: # [development | production]

pwa:
enabled: true # the option for PWA feature (installable)
enabled: true # The option for PWA feature (installable)
cache:
enabled: false # the option for PWA offline cache
enabled: true # The option for PWA offline cache
# Paths defined here will be excluded from the PWA cache.
# Usually its value is the `baseurl` of another website that
# shares the same domain name as the current website.
Expand Down Expand Up @@ -190,10 +192,6 @@ defaults:
values:
layout: page
permalink: /:title/
- scope:
path: assets/js/dist
values:
swcache: true

sass:
style: compressed
Expand Down
16 changes: 14 additions & 2 deletions _data/contact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,17 @@
url: "https://www.linkedin.com/in/joshua-johanning/" # Fill with your Linkedin homepage
#
# - type: stack-overflow
# icon: "fab fa-stack-overflow"
# url: "" # Fill with your stackoverflow homepage
# icon: 'fab fa-stack-overflow'
# url: '' # Fill with your stackoverflow homepage
#
# - type: bluesky
# icon: 'fa-brands fa-bluesky'
# url: '' # Fill with your Bluesky profile link
#
# - type: reddit
# icon: 'fa-brands fa-reddit'
# url: '' # Fill with your Reddit profile link
#
# - type: threads
# icon: 'fa-brands fa-threads'
# url: '' # Fill with your Threads profile link
2 changes: 1 addition & 1 deletion _data/locales/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: باستخدام :PLATFORM السمة :THEME

not_found:
statment: عذرا, الرابط التالي غير صالح أو انه يشير إلى صفحة غير موجودة.
statement: عذرا, الرابط التالي غير صالح أو انه يشير إلى صفحة غير موجودة.

notification:
update_found: يتوفر اصدار جديد للمحتوى.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/bg-BG.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Създадено чрез :PLATFORM и :THEME тема

not_found:
statment: Съжалявам, но на този URL адрес няма налично съдържание.
statement: Съжалявам, но на този URL адрес няма налично съдържание.

notification:
update_found: Налична е нова версия на съдържанието.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/cs-CZ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Použití :PLATFORM s motivem :THEME

not_found:
statment: Omlouváme se, adresu URL jsme špatně umístili nebo odkazuje na něco, co neexistuje.
statement: Omlouváme se, adresu URL jsme špatně umístili nebo odkazuje na něco, co neexistuje.

notification:
update_found: Je k dispozici nová verze obsahu.
Expand Down
4 changes: 2 additions & 2 deletions _data/locales/de-DE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ copyright:
meta: Powered by :PLATFORM with :THEME theme

not_found:
statment: Entschuldigung, dieser Link verweist auf keine vorhandene Ressource.
statement: Entschuldigung, dieser Link verweist auf keine vorhandene Ressource.

notification:
update_found: Eine neue Version ist verfügbar.
Expand Down Expand Up @@ -76,7 +76,7 @@ df:
post:
strftime: "%d.%m.%Y"
dayjs: "DD.MM.YYYY"

# categories page
categories:
category_measure:
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/el-GR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Αξιοποιώντας την :PLATFORM theme :THEME

not_found:
statment: Συγνώμη, έχουμε τοποθετήσει λάθος αυτήν την διεύθυνση URL ή υποδεικνύει κάτι που δεν υπάρχει.
statement: Συγνώμη, έχουμε τοποθετήσει λάθος αυτήν την διεύθυνση URL ή υποδεικνύει κάτι που δεν υπάρχει.

notification:
update_found: Υπάρχει διαθέσιμη μια νέα έκδοση του περιεχομένου.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Using the :THEME theme for :PLATFORM.

not_found:
statment: Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
statement: Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.

notification:
update_found: A new version of content is available.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/es-ES.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Hecho con :PLATFORM usando el tema :THEME

not_found:
statment: Lo sentimos, hemos perdido esa URL o apunta a algo que no existe.
statement: Lo sentimos, hemos perdido esa URL o apunta a algo que no existe.

notification:
update_found: Hay una nueva versión de contenido disponible.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/fi-FI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ copyright:
meta: Käytetään :PLATFORM iä Teema :THEME

not_found:
statment: Valitettavasti tällä URL-osoitteella ei ole saatavilla sisältöä.
statement: Valitettavasti tällä URL-osoitteella ei ole saatavilla sisältöä.

notification:
update_found: Uusi versio sisällöstä on saatavilla.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/fr-FR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Propulsé par :PLATFORM avec le thème :THEME

not_found:
statment: Désolé, nous avons égaré cette URL ou elle pointe vers quelque chose qui n'existe pas.
statement: Désolé, nous avons égaré cette URL ou elle pointe vers quelque chose qui n'existe pas.

notification:
update_found: Une nouvelle version du contenu est disponible.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/hu-HU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ copyright:
meta: Készítve :PLATFORM motorral :THEME témával

not_found:
statment: Sajnáljuk, az URL-t rosszul helyeztük el, vagy valami nem létezőre mutat.
statement: Sajnáljuk, az URL-t rosszul helyeztük el, vagy valami nem létezőre mutat.

notification:
update_found: Elérhető a tartalom új verziója.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/id-ID.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Didukung oleh :PLATFORM dengan tema :THEME

not_found:
statment: Maaf, kami gagal menemukan URL itu atau memang mengarah ke sesuatu yang tidak ada.
statement: Maaf, kami gagal menemukan URL itu atau memang mengarah ke sesuatu yang tidak ada.

notification:
update_found: Versi konten baru tersedia.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/it-IT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ copyright:

meta: Servizio offerto da :PLATFORM con tema :THEME
not_found:
statment: Ci scusiamo, non è stato possibile trovare l'URL in questione. Potrebbe puntare ad una pagina non esistente.
statement: Ci scusiamo, non è stato possibile trovare l'URL in questione. Potrebbe puntare ad una pagina non esistente.

notification:
update_found: Nuova versione del contenuto disponibile.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/ko-KR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Powered by :PLATFORM with :THEME theme

not_found:
statment: 해당 URL은 존재하지 않습니다.
statement: 해당 URL은 존재하지 않습니다.

notification:
update_found: 새 버전의 콘텐츠를 사용할 수 있습니다.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/my-MM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Powered by :PLATFORM with :THEME theme

not_found:
statment: ဝမ်းနည်းပါသည်၊ ကျွန်ုပ်တို့သည် အဆိုပါ URL ကို မှားယွင်းစွာ နေရာချထားခြင်း သို့မဟုတ် ၎င်းသည် မရှိသောအရာကို ညွှန်ပြနေပါသည်။
statement: ဝမ်းနည်းပါသည်၊ ကျွန်ုပ်တို့သည် အဆိုပါ URL ကို မှားယွင်းစွာ နေရာချထားခြင်း သို့မဟုတ် ၎င်းသည် မရှိသောအရာကို ညွှန်ပြနေပါသည်။

notification:
update_found: အကြောင်းအရာဗားရှင်းအသစ်ကို ရနိုင်ပါပြီ။
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Feito com :PLATFORM usando o tema :THEME

not_found:
statment: Desculpe, a página não foi encontrada.
statement: Desculpe, a página não foi encontrada.

notification:
update_found: Uma nova versão do conteúdo está disponível.
Expand Down
4 changes: 2 additions & 2 deletions _data/locales/ru-RU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ copyright:
meta: Использует тему :THEME для :PLATFORM

not_found:
statment: Извините, мы перепутали URL-адрес или он указывает на что-то несуществующее.
statement: Извините, мы перепутали URL-адрес или он указывает на что-то несуществующее.

notification:
update_found: Доступна новая версия контента.
Expand Down Expand Up @@ -76,7 +76,7 @@ df:
post:
strftime: "%d.%m.%Y"
dayjs: "DD.MM.YYYY"

# categories page
categories:
category_measure:
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/sl-SI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Uporabljena :PLATFORM tema :THEME #Using the :PLATFORM theme :THEME

not_found:
statment: Oprostite, hiperpovezava je neustrezna ali vsebina ne obstajata. #Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
statement: Oprostite, hiperpovezava je neustrezna ali vsebina ne obstajata. #Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.

notification:
update_found: Novejša različica vsebine je na voljo. #A new version of content is available.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/sv-SE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Byggd med :PLATFORM och temat :THEME

not_found:
statment: Ursäkta, vi har tappat bort den här webbadressen eller så pekar den på något som inte längre finns.
statement: Ursäkta, vi har tappat bort den här webbadressen eller så pekar den på något som inte längre finns.

notification:
update_found: Det finns en ny version av innehållet.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/th.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: กำลังใช้ธีมของ :PLATFORM ชื่อ :THEME

not_found:
statment: ขออภัย เราวาง URL นั้นไว้ผิดที่ หรือมันชี้ไปยังสิ่งที่ไม่มีอยู่
statement: ขออภัย เราวาง URL นั้นไว้ผิดที่ หรือมันชี้ไปยังสิ่งที่ไม่มีอยู่

notification:
update_found: มีเวอร์ชันใหม่ของเนื้อหา
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/tr-TR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: :PLATFORM ve :THEME teması

not_found:
statment: Üzgünüz, bu linki yanlış yerleştirdik veya var olmayan bir şeye işaret ediyor.
statement: Üzgünüz, bu linki yanlış yerleştirdik veya var olmayan bir şeye işaret ediyor.

notification:
update_found: İçeriğin yeni bir sürümü mevcut.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/uk-UA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ copyright:
meta: Powered by :PLATFORM with :THEME theme

not_found:
statment: Вибачте, це посилання вказує на ресурс, що не існує.
statement: Вибачте, це посилання вказує на ресурс, що не існує.

notification:
update_found: Доступна нова версія вмісту.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/vi-VN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ copyright:
meta: Trang web này được tạo bởi :PLATFORM với chủ đề :THEME

not_found:
statment: Xin lỗi, chúng tôi đã đặt nhầm URL hoặc đường dẫn trỏ đến một trang nào đó không tồn tại.
statement: Xin lỗi, chúng tôi đã đặt nhầm URL hoặc đường dẫn trỏ đến một trang nào đó không tồn tại.

notification:
update_found: Đã có phiên bản mới của nội dung.
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ copyright:
meta: 本站采用 :PLATFORM 主题 :THEME

not_found:
statment: 抱歉,我们放错了该 URL,或者它指向了不存在的内容。
statement: 抱歉,我们放错了该 URL,或者它指向了不存在的内容。

notification:
update_found: 发现新版本的内容。
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ copyright:
meta: 本網站使用 :PLATFORM 產生,採用 :THEME 主題

not_found:
statment: 抱歉,您可能正在存取一個已被移動的 URL,或者它從未存在。
statement: 抱歉,您可能正在存取一個已被移動的 URL,或者它從未存在。

notification:
update_found: 發現新版本更新。
Expand Down
6 changes: 3 additions & 3 deletions _data/origin/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ mermaid:
dayjs:
js:
common: /assets/lib/dayjs/dayjs.min.js
locale: /assets/lib/dayjs/locale/en.min.js
relativeTime: /assets/lib/dayjs/plugin/relativeTime.min.js
localizedFormat: /assets/lib/dayjs/plugin/localizedFormat.min.js
locale: /assets/lib/dayjs/locale/en.js
relativeTime: /assets/lib/dayjs/plugin/relativeTime.js
localizedFormat: /assets/lib/dayjs/plugin/localizedFormat.js

glightbox:
css: /assets/lib/glightbox/glightbox.min.css
Expand Down
Loading