diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8a327b3..39c428d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -25,11 +25,5 @@ "mhutchie.git-graph" ] } - }, - "runArgs": [ - "--network=development", - "--restart=always", - "--name=Jekyll-blog" - ], - "remoteUser": "root" + } } diff --git a/Gemfile b/Gemfile index 7835d7d..b881076 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source "https://rubygems.org" -gem "jekyll-theme-chirpy", "~> 7.2", ">= 7.2.4" +gem "jekyll-theme-chirpy", "~> 7.3" gem "html-proofer", "~> 5.0", group: :test diff --git a/_config.yml b/_config.yml index 6e65564..16922d9 100644 --- a/_config.yml +++ b/_config.yml @@ -3,10 +3,6 @@ # Import the theme theme: jekyll-theme-chirpy -# Change the following value to '/PROJECT_NAME' ONLY IF your site type is GitHub Pages Project sites -# and doesn't have a custom domain. -baseurl: "" - # The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm # If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed, # otherwise, the layout language will use the default value of 'en'. @@ -48,13 +44,38 @@ social: # - https://www.facebook.com/username # - https://www.linkedin.com/in/username -google_site_verification: # fill in to your verification string +# Site Verification Settings +webmaster_verifications: + google: # fill in your Google verification code + bing: # fill in your Bing verification code + alexa: # fill in your Alexa verification code + yandex: # fill in your Yandex verification code + baidu: # fill in your Baidu verification code + facebook: # fill in your Facebook verification code # ↑ -------------------------- # The end of `jekyll-seo-tag` settings -google_analytics: - id: # fill in your Google Analytics ID +# Web Analytics Settings +analytics: + google: + id: # fill in your Google Analytics ID + goatcounter: + id: # fill in your GoatCounter ID + umami: + id: # fill in your Umami ID + domain: # fill in your Umami domain + matomo: + id: # fill in your Matomo ID + domain: # fill in your Matomo domain + cloudflare: + id: # fill in your Cloudflare Web Analytics token + fathom: + id: # fill in your Fathom Site ID + +# Page views settings +pageviews: + provider: # now only supports 'goatcounter' # Prefer color scheme setting. # @@ -87,8 +108,9 @@ social_preview_image: social_preview.jpeg # string, local or CORS resources toc: true comments: - active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable - # The active options are as follows: + # Global switch for the post-comment system. Keeping it empty means disabled. + provider: # [disqus | utterances | giscus] + # The provider options are as follows: disqus: shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname # utterances settings › https://utteranc.es/ @@ -102,6 +124,7 @@ comments: category: category_id: mapping: # optional, default to 'pathname' + strict: # optional, default to '0' input_position: # optional, default to 'bottom' lang: # optional, default to the value of `site.lang` reactions_enabled: # optional, default to the value of `1` @@ -112,12 +135,12 @@ 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 (installable) + enabled: true # The option for PWA feature (installable) cache: - enabled: true # 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. @@ -126,9 +149,13 @@ pwa: paginate: 10 +# The base URL of your site +baseurl: "" + # ------------ The following options are not recommended to be modified ------------------ kramdown: + footnote_backlink: "↩︎" syntax_highlighter: rouge syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options css_class: highlight @@ -165,10 +192,6 @@ defaults: values: layout: page permalink: /:title/ - - scope: - path: assets/js/dist - values: - swcache: true sass: style: compressed @@ -189,8 +212,9 @@ exclude: - tools - README.md - LICENSE - - rollup.config.js - - package*.json + - purgecss.js + - "*.config.js" + - "package*.json" jekyll-archives: enabled: [categories, tags] diff --git a/_data/contact.yml b/_data/contact.yml index 138ec08..760405b 100644 --- a/_data/contact.yml +++ b/_data/contact.yml @@ -2,9 +2,11 @@ - type: github icon: "fab fa-github" + url: "https://github.com/edu4rdshl" - type: twitter icon: "fa-brands fa-x-twitter" + url: "https://twitter.com/edu4rdshl" - type: email icon: "fas fa-envelope" diff --git a/_data/share.yml b/_data/share.yml index de1d3e8..c9251c8 100644 --- a/_data/share.yml +++ b/_data/share.yml @@ -13,12 +13,10 @@ platforms: - type: Telegram icon: "fab fa-telegram" link: "https://t.me/share/url?url=URL&text=TITLE" - - # Uncomment below if you need to. - type: Linkedin icon: "fab fa-linkedin" - link: "https://www.linkedin.com/sharing/share-offsite/?url=URL" + link: "https://www.linkedin.com/feed/?shareActive=true&shareUrl=URL" - type: Weibo icon: "fab fa-weibo"