Skip to content

Commit

Permalink
Update critical file(s) according to Chirpy v6.3.0 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
lamngockhuong authored Feb 19, 2024
1 parent 8bac65f commit 119ea0d
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3
ruby-version: 3.2
bundler-cache: true

- name: Build site
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package-lock.json

# IDE configurations
.idea
.vscode

# Misc
assets/js/dist
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "jekyll-theme-chirpy", "~> 6.2", ">= 6.2.3"
gem "jekyll-theme-chirpy", "~> 6.5"

group :test do
gem "html-proofer", "~> 4.4"
Expand Down
24 changes: 17 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ google_site_verification: # fill in to your verification string
google_analytics:
id: G-W1WM7M3C9G

goatcounter:
id: khuongdev

# Prefer color scheme setting.
#
# Note: Keep empty will follow the system prefer color by default,
Expand All @@ -61,7 +64,7 @@ google_analytics:
# light - Use the light color scheme
# dark - Use the dark color scheme
#
theme_mode: # [light|dark]
theme_mode: # [light | dark]

# The CDN endpoint for images.
# Notice that once it is assigned, the CDN url
Expand All @@ -73,6 +76,10 @@ img_cdn: 'https://raw.githubusercontent.com/lamngockhuong/dev-images/main'
# the avatar on sidebar, support local or CORS resources
avatar: '/commons/avatar.jpg'

# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
# It can be overridden by a customized `page.image` in front matter.
social_preview_image: # string, local or CORS resources

# boolean type, the global switch for TOC in posts.
toc: true

Expand Down Expand Up @@ -102,10 +109,17 @@ assets:
enabled: # boolean, keep empty means false
# specify the Jekyll environment, empty means both
# only works if `assets.self_host.enabled` is 'true'
env: # [development|production]
env: # [development | production]

pwa:
enabled: true # the option for PWA feature
enabled: true # the option for PWA feature (installable)
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.
deny_paths:
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA

paginate: 10

Expand Down Expand Up @@ -151,10 +165,6 @@ defaults:
values:
layout: page
permalink: /:title/
- scope:
path: assets/img/favicons
values:
swcache: true
- scope:
path: assets/js/dist
values:
Expand Down
18 changes: 18 additions & 0 deletions _data/share.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,21 @@ platforms:
icon: "fab fa-linkedin"
link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"

# Uncomment below if you need to.
#
# - type: Weibo
# icon: "fab fa-weibo"
# link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
#
# - type: Mastodon
# icon: "fa-brands fa-mastodon"
# # See: https://github.com/justinribeiro/share-to-mastodon#properties
# instances:
# - label: mastodon.social
# link: "https://mastodon.social/"
# - label: mastodon.online
# link: "https://mastodon.online/"
# - label: fosstodon.org
# link: "https://fosstodon.org/"
# - label: photog.social
# link: "https://photog.social/"

0 comments on commit 119ea0d

Please sign in to comment.