diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 87089c9..0d884bc 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -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 diff --git a/.gitignore b/.gitignore index 0124b68..cee9e12 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,6 @@ package-lock.json # IDE configurations .idea -.vscode # Misc assets/js/dist diff --git a/Gemfile b/Gemfile index 8934f4a..66f8e17 100644 --- a/Gemfile +++ b/Gemfile @@ -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" diff --git a/_config.yml b/_config.yml index 3dda5e2..84fcc6b 100644 --- a/_config.yml +++ b/_config.yml @@ -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, @@ -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 @@ -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 @@ -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 `/example/*` will not be cached by the PWA paginate: 10 @@ -151,10 +165,6 @@ defaults: values: layout: page permalink: /:title/ - - scope: - path: assets/img/favicons - values: - swcache: true - scope: path: assets/js/dist values: diff --git a/_data/share.yml b/_data/share.yml index b715174..8fb0f36 100644 --- a/_data/share.yml +++ b/_data/share.yml @@ -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/" diff --git a/assets/dev-images b/assets/dev-images index 2cb3aa6..3f1a963 160000 --- a/assets/dev-images +++ b/assets/dev-images @@ -1 +1 @@ -Subproject commit 2cb3aa6700b63612b6ae1e2179ba2903b7b4f3d0 +Subproject commit 3f1a96339324af9e48ba764943918c1b9befd042