diff --git a/.DS_Store b/.DS_Store index 77e7ab5..9a67a91 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Gemfile b/Gemfile deleted file mode 100644 index e541574..0000000 --- a/Gemfile +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -source "https://rubygems.org" - -gemspec - -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.2.0", :platforms => [:mingw, :x64_mingw, :mswin] diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 77c712d..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,148 +0,0 @@ -PATH - remote: . - specs: - jekyll-theme-chirpy (7.2.4) - jekyll (~> 4.3) - jekyll-archives (~> 2.2) - jekyll-include-cache (~> 0.2) - jekyll-paginate (~> 1.1) - jekyll-redirect-from (~> 0.16) - jekyll-seo-tag (~> 2.8) - jekyll-sitemap (~> 1.4) - -GEM - remote: https://rubygems.org/ - specs: - Ascii85 (1.1.1) - addressable (2.8.7) - public_suffix (>= 2.0.2, < 7.0) - afm (0.2.2) - async (2.14.2) - console (~> 1.25, >= 1.25.2) - fiber-annotation - io-event (~> 1.6, >= 1.6.5) - bigdecimal (3.1.8) - colorator (1.1.0) - concurrent-ruby (1.3.3) - console (1.26.0) - fiber-annotation - fiber-local (~> 1.1) - json - em-websocket (0.5.3) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0) - ethon (0.16.0) - ffi (>= 1.15.0) - eventmachine (1.2.7) - ffi (1.17.0-arm64-darwin) - fiber-annotation (0.2.0) - fiber-local (1.1.0) - fiber-storage - fiber-storage (0.1.2) - forwardable-extended (2.6.0) - google-protobuf (4.27.2-arm64-darwin) - bigdecimal - rake (>= 13) - hashery (2.1.2) - html-proofer (5.0.9) - addressable (~> 2.3) - async (~> 2.1) - nokogiri (~> 1.13) - pdf-reader (~> 2.11) - rainbow (~> 3.0) - typhoeus (~> 1.3) - yell (~> 2.0) - zeitwerk (~> 2.5) - http_parser.rb (0.8.0) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - io-event (1.6.5) - jekyll (4.3.3) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (~> 1.0) - jekyll-sass-converter (>= 2.0, < 4.0) - jekyll-watch (~> 2.0) - kramdown (~> 2.3, >= 2.3.1) - kramdown-parser-gfm (~> 1.0) - liquid (~> 4.0) - mercenary (>= 0.3.6, < 0.5) - pathutil (~> 0.9) - rouge (>= 3.0, < 5.0) - safe_yaml (~> 1.0) - terminal-table (>= 1.8, < 4.0) - webrick (~> 1.7) - jekyll-archives (2.2.1) - jekyll (>= 3.6, < 5.0) - jekyll-include-cache (0.2.1) - jekyll (>= 3.7, < 5.0) - jekyll-paginate (1.1.0) - jekyll-redirect-from (0.16.0) - jekyll (>= 3.3, < 5.0) - jekyll-sass-converter (3.0.0) - sass-embedded (~> 1.54) - jekyll-seo-tag (2.8.0) - jekyll (>= 3.8, < 5.0) - jekyll-sitemap (1.4.0) - jekyll (>= 3.7, < 5.0) - jekyll-watch (2.2.1) - listen (~> 3.0) - json (2.7.2) - kramdown (2.4.0) - rexml - kramdown-parser-gfm (1.1.0) - kramdown (~> 2.0) - liquid (4.0.4) - listen (3.9.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - mercenary (0.4.0) - nokogiri (1.16.6-arm64-darwin) - racc (~> 1.4) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - pdf-reader (2.12.0) - Ascii85 (~> 1.0) - afm (~> 0.2.1) - hashery (~> 2.0) - ruby-rc4 - ttfunk - public_suffix (6.0.0) - racc (1.8.0) - rainbow (3.1.1) - rake (13.2.1) - rb-fsevent (0.11.2) - rb-inotify (0.11.1) - ffi (~> 1.0) - rexml (3.3.2) - strscan - rouge (4.3.0) - ruby-rc4 (0.1.5) - safe_yaml (1.0.5) - sass-embedded (1.77.8-arm64-darwin) - google-protobuf (~> 4.26) - strscan (3.1.0) - terminal-table (3.0.2) - unicode-display_width (>= 1.1.1, < 3) - ttfunk (1.8.0) - bigdecimal (~> 3.1) - typhoeus (1.4.1) - ethon (>= 0.9.0) - unicode-display_width (2.5.0) - webrick (1.8.1) - yell (2.2.2) - zeitwerk (2.6.16) - -PLATFORMS - arm64-darwin - -DEPENDENCIES - html-proofer (~> 5.0) - jekyll-theme-chirpy! - tzinfo (>= 1, < 3) - tzinfo-data - wdm (~> 0.2.0) - -BUNDLED WITH - 2.5.14 diff --git a/LICENSE b/LICENSE index 299d89f..40e6030 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,20 @@ The MIT License (MIT) -Copyright (c) 2019 Cotes Chung +Copyright (c) 2015 Barry Clark -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 7e57b2a..a86735e 100644 --- a/README.md +++ b/README.md @@ -1,84 +1 @@ - -
- - - # Chirpy Jekyll Theme - - A minimal, responsive, and feature-rich Jekyll theme for technical writing. - - [![CI](https://img.shields.io/github/actions/workflow/status/cotes2020/jekyll-theme-chirpy/ci.yml?logo=github)][ci]  - [![Codacy Badge](https://img.shields.io/codacy/grade/4e556876a3c54d5e8f2d2857c4f43894?logo=codacy)][codacy]  - [![GitHub license](https://img.shields.io/github/license/cotes2020/jekyll-theme-chirpy?color=goldenrod)][license]  - [![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy?&logo=RubyGems&logoColor=ghostwhite&label=gem&color=orange)][gem]  - [![Open in Dev Containers](https://img.shields.io/badge/Dev_Containers-Open-deepskyblue?logo=linuxcontainers)][open-container] - - [**Live Demo** →][demo] - - [![Devices Mockup](https://chirpy-img.netlify.app/commons/devices-mockup.png)][demo] - -
- -## Features - -- Dark Theme -- Localized UI language -- Pinned Posts on Home Page -- Hierarchical Categories -- Trending Tags -- Table of Contents -- Last Modified Date -- Syntax Highlighting -- Mathematical Expressions -- Mermaid Diagrams & Flowcharts -- Dark Mode Images -- Embed Media -- Comment Systems -- Built-in Search -- Atom Feeds -- PWA -- Web Analytics -- SEO & Performance Optimization - -## Documentation - -To learn how to use, develop, and upgrade the project, please refer to the [Wiki][wiki]. - -## Contributing - -Contributions (_pull requests_, _issues_, and _discussions_) are what make the open-source community such an amazing place -to learn, inspire, and create. Any contributions you make are greatly appreciated. -For details, see the "[Contributing Guidelines][contribute-guide]". - -## Credits - -### Contributors - -Thanks to [all the contributors][contributors] involved in the development of the project! - -[![all-contributors](https://contrib.rocks/image?repo=cotes2020/jekyll-theme-chirpy&columns=16)][contributors] - — Made with [contrib.rocks](https://contrib.rocks) - -### Third-Party Assets - -This project is built on the [Jekyll][jekyllrb] ecosystem and some [great libraries][lib], and is developed using [VS Code][vscode] as well as tools provided by [JetBrains][jetbrains] under a non-commercial open-source software license. - -The avatar and favicon for the project's website are from [ClipartMAX][clipartmax]. - -## License - -This project is published under [MIT License][license]. - -[gem]: https://rubygems.org/gems/jekyll-theme-chirpy -[ci]: https://github.com/cotes2020/jekyll-theme-chirpy/actions/workflows/ci.yml?query=event%3Apush+branch%3Amaster -[codacy]: https://app.codacy.com/gh/cotes2020/jekyll-theme-chirpy/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade -[license]: https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/LICENSE -[open-container]: https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/cotes2020/jekyll-theme-chirpy -[jekyllrb]: https://jekyllrb.com/ -[clipartmax]: https://www.clipartmax.com/middle/m2i8b1m2K9Z5m2K9_ant-clipart-childrens-ant-cute/ -[demo]: https://cotes2020.github.io/chirpy-demo/ -[wiki]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki -[contribute-guide]: https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/CONTRIBUTING.md -[contributors]: https://github.com/cotes2020/jekyll-theme-chirpy/graphs/contributors -[lib]: https://github.com/cotes2020/chirpy-static-assets -[vscode]: https://code.visualstudio.com/ -[jetbrains]: https://www.jetbrains.com/?from=jekyll-theme-chirpy +# kjungwoo03.github.io \ No newline at end of file diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 260bcf1..0000000 --- a/_config.yml +++ /dev/null @@ -1,226 +0,0 @@ -# The Site Configuration - -# Import the theme -theme: jekyll-theme-chirpy - -# 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'. -lang: en - -# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker -timezone: Asia/Seoul - -# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md -# ↓ -------------------------- - -title: Jungwoo Kim # the main title - -tagline: MS/Ph.D Student at Yonsei University # it will display as the subtitle - -description: >- # used by seo meta and the atom feed - A Technical Blog by a Graduate Student Specializing in Artificial Intelligence (AI) and Machine Learning (ML). - -# Fill in the protocol & hostname for your site. -# E.g. 'https://username.github.io', note that it does not end with a '/'. -url: "https://kjungwoo03.github.io" - -github: - username: kjungwoo03 # change to your GitHub username - -twitter: - username: woo_jung78392 # change to your Twitter username - -social: - # Change to your full name. - # It will be displayed as the default author of the posts and the copyright owner in the Footer - name: Jungwoo Kim - email: kjungwoo@yonsei.ac.kr # change to your email address - links: - # The first element serves as the copyright owner's link - # - https://x.com/woo_jung78392 # change to your Twitter homepage - - https://github.com/kjungwoo03 # change to your GitHub homepage - # Uncomment below to add more social links - # - https://https://www.facebook.com/profile.php?id=100015974378653 - # - https://www.linkedin.com/in/jungwoo-kim-44a700288/ - -# 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 - -# 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. -# -# Note: Keep empty will follow the system prefer color by default, -# and there will be a toggle to switch the theme between dark and light -# on the bottom left of the sidebar. -# -# Available options: -# -# light — Use the light color scheme -# dark — Use the dark color scheme -# -theme_mode: light # [light | dark] - -# The CDN endpoint for media resources. -# Notice that once it is assigned, the CDN url -# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/' -# -# e.g. 'https://cdn.com' -cdn: "https://chirpy-img.netlify.app" - -# the avatar on sidebar, support local or CORS resources -avatar: "/assets/img/kjungwoo.png" - -# 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 - -comments: - # 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/ - utterances: - repo: # / - issue_term: # < url | pathname | title | ...> - # Giscus options › https://giscus.app - giscus: - repo: # / - repo_id: - 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` - -# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets -assets: - self_host: - 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] - -pwa: - 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 - -# 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 - # default_lang: console - span: - line_numbers: false - block: - line_numbers: true - start_line: 1 - -collections: - tabs: - output: true - sort_by: order - -defaults: - - scope: - path: "" # An empty string here means all files in the project - type: posts - values: - layout: post - comments: true # Enable comments in posts. - toc: true # Display TOC column in posts. - # DO NOT modify the following parameter unless you are confident enough - # to update the code of all other post links in this project. - permalink: /posts/:title/ - - scope: - path: _drafts - values: - comments: false - - scope: - path: "" - type: tabs # see `site.collections` - values: - layout: page - permalink: /:title/ - -sass: - style: compressed - -compress_html: - clippings: all - comments: all - endings: all - profile: false - blanklines: false - ignore: - envs: [development] - -exclude: - - "*.gem" - - "*.gemspec" - - docs - - tools - - README.md - - LICENSE - - purgecss.js - - rollup.config.js - - "package*.json" - -jekyll-archives: - enabled: [categories, tags] - layouts: - category: category - tag: tag - permalinks: - tag: /tags/:name/ - category: /categories/:name/ diff --git a/_data/.DS_Store b/_data/.DS_Store deleted file mode 100644 index f4e88ba..0000000 Binary files a/_data/.DS_Store and /dev/null differ diff --git a/_data/authors.yml b/_data/authors.yml deleted file mode 100644 index f012012..0000000 --- a/_data/authors.yml +++ /dev/null @@ -1,17 +0,0 @@ -## Template › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/advanced-usage.md#setting-author-url -# ------------------------------------- -# {author_id}: -# name: {full name} -# twitter: {twitter_of_author} -# url: {homepage_of_author} -# ------------------------------------- - -cotes: - name: Cotes Chung - twitter: cotes2020 - url: https://github.com/cotes2020/ - -sille_bille: - name: Dinesh Prasanth Moluguwan Krishnamoorthy - twitter: dinesh_MKD - url: https://github.com/SilleBille/ diff --git a/_data/contact.yml b/_data/contact.yml deleted file mode 100644 index ed40acb..0000000 --- a/_data/contact.yml +++ /dev/null @@ -1,40 +0,0 @@ -# The contact options. - -- type: github - icon: "fab fa-github" - -- type: twitter - icon: "fa-brands fa-x-twitter" - -- type: email - icon: "fas fa-envelope" - noblank: true # open link in current tab - -- type: rss - icon: "fas fa-rss" - noblank: true -# Uncomment and complete the url below to enable more contact options -# -# - type: mastodon -# icon: 'fab fa-mastodon' # icons powered by -# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification -# -# - type: linkedin -# icon: 'fab fa-linkedin' # icons powered by -# url: '' # Fill with your Linkedin homepage -# -# - type: stack-overflow -# 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 diff --git a/_data/locales/ar.yml b/_data/locales/ar.yml deleted file mode 100644 index a79e020..0000000 --- a/_data/locales/ar.yml +++ /dev/null @@ -1,91 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: منشور - category: فئة - tag: وسم - -# The tabs of sidebar -tabs: - # format: : - home: الرئيسية - categories: الفئات - tags: الوسوم - archives: الأرشيف - about: حول - -# the text displayed in the search bar & search results -search: - hint: بحث - cancel: إلغاء - no_results: نأسف! لا يوجد نتائج. - -panel: - lastmod: المحدثة مؤخرا - trending_tags: الوسوم الشائعة - toc: محتويات - -copyright: - # Shown at the bottom of the post - license: - template: هذا المنشور تحت ترخيص :LICENSE_NAME بواسطة المؤلف. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: بعض الحقوق محفوظة. - verbose: >- - ما لم يذكر خلاف ذلك ، يتم ترخيص منشورات المدونة على هذا الموقع - بموجب ترخيص Creative Commons Attribution 4.0 International (CC BY 4.0) من قبل المؤلف. - -meta: باستخدام :PLATFORM السمة :THEME - -not_found: - statement: عذرا, الرابط التالي غير صالح أو انه يشير إلى صفحة غير موجودة. - -notification: - update_found: يتوفر اصدار جديد للمحتوى. - update: تحديث - -# ----- Posts related labels ----- - -post: - written_by: بواسطة - posted: نشّر - updated: حدّث - words: كلمات - pageview_measure: مشاهدات - read_time: - unit: دقيقة - prompt: قراءة - relate_posts: إقرأ المزيد - share: شارك - button: - next: الأجدد - previous: الأقدم - copy_code: - succeed: تم النسخ! - share_link: - title: أنسخ الرابط - succeed: تم نسخ الرابط بنجاح! - -# Date time format. -# See: , -df: - post: - strftime: "%b %e, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: فئة - plural: فئات - post_measure: - singular: منشور - plural: منشورات diff --git a/_data/locales/bg-BG.yml b/_data/locales/bg-BG.yml deleted file mode 100644 index 3fb060f..0000000 --- a/_data/locales/bg-BG.yml +++ /dev/null @@ -1,81 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Публикация - category: Категория - tag: Таг - -# The tabs of sidebar -tabs: - # format: : - home: Начало - categories: Категории - tags: Тагове - archives: Архив - about: За мен - -# the text displayed in the search bar & search results -search: - hint: търси - cancel: Отмени - no_results: Упс! Не са намерени резултати. - -panel: - lastmod: Наскоро обновени - trending_tags: Популярни тагове - toc: Съдържание - -copyright: - # Shown at the bottom of the post - license: - template: Тази публикация е лицензирана под :LICENSE_NAME от автора. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Някои права запазени. - verbose: >- - Освен ако не е посочено друго, публикациите в блога на този сайт са лицензирани - под лиценза Creative Commons Attribution 4.0 (CC BY 4.0) от автора. - -meta: Създадено чрез :PLATFORM и :THEME тема - -not_found: - statement: Съжалявам, но на този URL адрес няма налично съдържание. - -notification: - update_found: Налична е нова версия на съдържанието. - update: Обнови - -# ----- Posts related labels ----- - -post: - written_by: Автор - posted: Публикувана - updated: Обновена - words: думи - pageview_measure: преглеждания - read_time: - unit: мин - prompt: четиво - relate_posts: Още за четене - share: Споделете - button: - next: По-нови - previous: По-стари - copy_code: - succeed: Копирано! - share_link: - title: Копирай линк - succeed: Линкът е копиран успешно! - -# categories page -categories: - category_measure: - singular: категория - plural: категории - post_measure: - singular: публикация - plural: публикации diff --git a/_data/locales/cs-CZ.yml b/_data/locales/cs-CZ.yml deleted file mode 100644 index cf93f61..0000000 --- a/_data/locales/cs-CZ.yml +++ /dev/null @@ -1,89 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Příspěvek - category: Kategorie - tag: Štítek - -# The tabs of sidebar -tabs: - # format: : - home: Domů - categories: Kategorie - tags: Štítky - archives: Archivy - about: O mně - -# the text displayed in the search bar & search results -search: - hint: hledat - cancel: Zrušit - no_results: Ups! Žádný výsledek nenalezen. - -panel: - lastmod: Nedávno aktualizováno - trending_tags: Trendy štítky - toc: Obsah - -copyright: - # Shown at the bottom of the post - license: - template: Tento příspěvek je licencován pod :LICENSE_NAME autorem. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Některá práva vyhrazena. - verbose: >- - Pokud není uvedeno jinak, jsou příspěvky na tomto webu licencovány - pod licencí Creative Commons Attribution 4.0 International (CC BY 4.0) Licence autora. - -meta: Použití :PLATFORM s motivem :THEME - -not_found: - 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. - update: Aktualizace - -# ----- Posts related labels ----- - -post: - written_by: Od - posted: Zveřejněno - updated: Aktualizováno - words: slova - pageview_measure: zhlednutí - read_time: - unit: minut - prompt: čtení - relate_posts: Další čtení - share: Sdílet - button: - next: Novější - previous: Starší - copy_code: - succeed: Zkopírováno! - share_link: - title: Kopírovat odkaz - succeed: Zkopírováno! - -# Date time format. -# See: , -df: - post: - strftime: "%b %e, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: kategorie - post_measure: - singular: příspěvěk - plural: příspěvky diff --git a/_data/locales/de-DE.yml b/_data/locales/de-DE.yml deleted file mode 100644 index 6c9d91d..0000000 --- a/_data/locales/de-DE.yml +++ /dev/null @@ -1,87 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Eintrag - category: Kategorie - tag: Tag - -# The tabs of sidebar -tabs: - # format: : - home: Startseite - categories: Kategorien - tags: Tags - archives: Archiv - about: Über - -# the text displayed in the search bar & search results -search: - hint: Suche - cancel: Abbrechen - no_results: Ups! Keine Einträge gefunden. - -panel: - lastmod: Kürzlich aktualisiert - trending_tags: Beliebte Tags - toc: Inhalt - -copyright: - # Shown at the bottom of the post - license: - template: Dieser Eintrag ist vom Autor unter :LICENSE_NAME lizensiert. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Einige Rechte vorbehalten. - verbose: >- - Alle Einträge auf dieser Seite stehen, soweit nicht anders angegeben, unter der Lizenz Creative Commons Attribution 4.0 (CC BY 4.0). - -meta: Powered by :PLATFORM with :THEME theme - -not_found: - statement: Entschuldigung, dieser Link verweist auf keine vorhandene Ressource. - -notification: - update_found: Eine neue Version ist verfügbar. - update: Neue Version - -# ----- Posts related labels ----- - -post: - written_by: Von - posted: Veröffentlicht - updated: Aktualisiert - words: Wörter - pageview_measure: Aufrufe - read_time: - unit: Minuten - prompt: Lesezeit - relate_posts: Weiterlesen - share: Teilen - button: - next: Nächster Eintrag - previous: Eintrag vorher - copy_code: - succeed: Kopiert! - share_link: - title: Link kopieren - succeed: Link erfolgreich kopiert! - -# Date time format. -# See: , -df: - post: - strftime: "%d.%m.%Y" - dayjs: "DD.MM.YYYY" - -# categories page -categories: - category_measure: - singular: Kategorie - plural: Kategorien - post_measure: - singular: Eintrag - plural: Einträge diff --git a/_data/locales/el-GR.yml b/_data/locales/el-GR.yml deleted file mode 100644 index b6d2a86..0000000 --- a/_data/locales/el-GR.yml +++ /dev/null @@ -1,91 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Δημοσίευση - category: Κατηγορία - tag: Ετικέτα - -# The tabs of sidebar -tabs: - # format: : - home: Home - categories: Κατηγορίες - tags: Ετικέτες - archives: Αρχεία - about: Σχετικά - -# the text displayed in the search bar & search results -search: - hint: αναζήτηση - cancel: Ακύρωση - no_results: Oops! Κανένα αποτέλεσμα δεν βρέθηκε. - -panel: - lastmod: Σχετικά ενημερωμένα - trending_tags: Ετικέτες τάσης - toc: Περιεχόμενα - -copyright: - # Shown at the bottom of the post - license: - template: Η δημοσίευση αυτή βρίσκεται υπο την άδεια :LICENSE_NAME Greekforce1821. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Ορισμένα δικαιώματα reserved. - verbose: >- - Εκτός αλλού ή οπουδήποτε αλλού, τα blog posts σε αυτήν την σελίδα βρίσκονται υπο την άδεια - Creative Commons Attribution 4.0 International (CC BY 4.0) του δημιουργού. - -meta: Αξιοποιώντας την :PLATFORM theme :THEME - -not_found: - statement: Συγνώμη, έχουμε τοποθετήσει λάθος αυτήν την διεύθυνση URL ή υποδεικνύει κάτι που δεν υπάρχει. - -notification: - update_found: Υπάρχει διαθέσιμη μια νέα έκδοση του περιεχομένου. - update: Ενημέρωση - -# ----- Posts related labels ----- - -post: - written_by: Από - posted: Δημοσιεύθηκε - updated: Ενημερώθηκε - words: λέξεις - pageview_measure: προβολές - read_time: - unit: Λεπτά - prompt: διαβάσματος - relate_posts: Περισσότερα - share: Κοινοποιήστε - button: - next: Νεότερα - previous: Παλαιότερα - copy_code: - succeed: Αντιγράφθηκε! - share_link: - title: Αντιγραφή συνδέσμου - succeed: Η διεύθυνση αντιγράφθηκε με επιτυχία! - -# Date time format. -# See: , -df: - post: - strftime: "%b %e, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: Κατηγορία - plural: Κατηγορίες - post_measure: - singular: Δημοσίευση - plural: Δημοσιεύσεις diff --git a/_data/locales/en.yml b/_data/locales/en.yml deleted file mode 100644 index 152d090..0000000 --- a/_data/locales/en.yml +++ /dev/null @@ -1,91 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Post - category: Category - tag: Tag - -# The tabs of sidebar -tabs: - # format: : - home: Home - categories: Categories - tags: Tags - archives: Archives - about: About - -# the text displayed in the search bar & search results -search: - hint: search - cancel: Cancel - no_results: Oops! No results found. - -panel: - lastmod: Recently Updated - trending_tags: Trending Tags - toc: Contents - -copyright: - # Shown at the bottom of the post - license: - template: This post is licensed under :LICENSE_NAME by the author. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Some rights reserved. - verbose: >- - Except where otherwise noted, the blog posts on this site are licensed - under the Creative Commons Attribution 4.0 International (CC BY 4.0) License by the author. - -meta: Using the :THEME theme for :PLATFORM. - -not_found: - 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. - update: Update - -# ----- Posts related labels ----- - -post: - written_by: By - posted: Posted - updated: Updated - words: words - pageview_measure: views - read_time: - unit: min - prompt: read - relate_posts: Further Reading - share: Share - button: - next: Newer - previous: Older - copy_code: - succeed: Copied! - share_link: - title: Copy link - succeed: Link copied successfully! - -# Date time format. -# See: , -df: - post: - strftime: "%b %e, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: category - plural: categories - post_measure: - singular: post - plural: posts diff --git a/_data/locales/es-ES.yml b/_data/locales/es-ES.yml deleted file mode 100644 index 8f8d149..0000000 --- a/_data/locales/es-ES.yml +++ /dev/null @@ -1,77 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Entrada - category: Categoría - tag: Etiqueta - -# The tabs of sidebar -tabs: - # format: : - home: Inicio - categories: Categorías - tags: Etiquetas - archives: Archivo - about: Acerca de - -# the text displayed in the search bar & search results -search: - hint: Buscar - cancel: Cancelar - no_results: ¡Oops! No se encuentran resultados. - -panel: - lastmod: Actualizado recientemente - trending_tags: Etiquetas populares - toc: Contenido - -copyright: - # Shown at the bottom of the post - license: - template: Esta entrada está licenciada bajo :LICENSE_NAME por el autor. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Algunos derechos reservados. - verbose: >- - Salvo que se indique explícitamente, las entradas de este blog están licenciadas - bajo la Creative Commons Attribution 4.0 International (CC BY 4.0) License por el autor. - -meta: Hecho con :PLATFORM usando el tema :THEME - -not_found: - 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. - update: Actualizar - -# ----- Posts related labels ----- - -post: - written_by: Por - posted: Publicado - updated: Actualizado - words: palabras - pageview_measure: visitas - read_time: - unit: min - prompt: " de lectura" - relate_posts: Lecturas adicionales - share: Compartir - button: - next: Nuevo - previous: Anterior - copy_code: - succeed: ¡Copiado! - share_link: - title: Copiar enlace - succeed: ¡Enlace copiado! - -# categories page -categories: - category_measure: categorias - post_measure: entradas diff --git a/_data/locales/fi-FI.yml b/_data/locales/fi-FI.yml deleted file mode 100644 index 60c9862..0000000 --- a/_data/locales/fi-FI.yml +++ /dev/null @@ -1,90 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Julkaisu - category: Kateogoria - tag: Tagi - -# The tabs of sidebar -tabs: - # format: : - home: Koti - categories: Kateogoriat - tags: Tagit - archives: Arkistot - about: Minusta - -# the text displayed in the search bar & search results -search: - hint: etsi - cancel: Peruuta - no_results: Hups! Ei tuloksia. - -panel: - lastmod: Viimeksi päivitetty - trending_tags: Trendaavat tagit - toc: Sisältö - -copyright: - # Shown at the bottom of the post - license: - template: Tämä julkaisu on lisenssoitu :LICENSE_NAME julkaisijan toimesta. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Jotkut oikeudet pidätetään. - verbose: >- - Paitsi jos erikseen mainitaan on kaikki sisältö Creative Commons Attribution 4.0 International (CC BY 4.0) Lisensoitu kirjoittajan toimesta. - -meta: Käytetään :PLATFORM iä Teema :THEME - -not_found: - statement: Valitettavasti tällä URL-osoitteella ei ole saatavilla sisältöä. - -notification: - update_found: Uusi versio sisällöstä on saatavilla. - update: Päivitä - -# ----- Posts related labels ----- - -post: - written_by: Kirjoittaja - posted: Julkaistu - updated: Päivitetty - words: sanaa - pageview_measure: katselukertoja - read_time: - unit: minuuttia - prompt: lukea - relate_posts: Jatka lukemista - share: Jaa - button: - next: Uudempi - previous: Vanhempi - copy_code: - succeed: Kopiotu! - share_link: - title: Kopioi linkki - succeed: Linkki kopioitu onnistuneesti! - -# Date time format. -# See: , -df: - post: - strftime: "%b %e, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: kategoria - plural: kategoriat - post_measure: - singular: julkaisu - plural: julkaisut diff --git a/_data/locales/fr-FR.yml b/_data/locales/fr-FR.yml deleted file mode 100644 index dce83c9..0000000 --- a/_data/locales/fr-FR.yml +++ /dev/null @@ -1,77 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Post - category: Catégorie - tag: Tag - -# The tabs of sidebar -tabs: - # format: : - home: Accueil - categories: Catégories - tags: Tags - archives: Archives - about: À propos - -# the text displayed in the search bar & search results -search: - hint: recherche - cancel: Annuler - no_results: Oups ! Aucun résultat trouvé. - -panel: - lastmod: Récemment mis à jour - trending_tags: Tags tendance - toc: Contenu - -copyright: - # Shown at the bottom of the post - license: - template: Cet article est sous licence :LICENSE_NAME par l'auteur. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/deed.fr - - # Displayed in the footer - brief: Certains droits réservés. - verbose: >- - Sauf mention contraire, les articles de ce site sont publiés - sous la licence Creative Commons Attribution 4.0 International (CC BY 4.0) par l'auteur. - -meta: Propulsé par :PLATFORM avec le thème :THEME - -not_found: - 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. - update: Mise à jour - -# ----- Posts related labels ----- - -post: - written_by: Par - posted: Posté - updated: Mis à jour - words: mots - pageview_measure: vues - read_time: - unit: min - prompt: lire - relate_posts: Autres lectures - share: Partager - button: - next: Plus récent - previous: Plus ancien - copy_code: - succeed: Copié ! - share_link: - title: Copier le lien - succeed: Lien copié avec succès ! - -# categories page -categories: - category_measure: catégories - post_measure: posts diff --git a/_data/locales/hu-HU.yml b/_data/locales/hu-HU.yml deleted file mode 100644 index be3a31b..0000000 --- a/_data/locales/hu-HU.yml +++ /dev/null @@ -1,92 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Bejegyzés - category: Kategória - tag: Címke - -# The tabs of sidebar -tabs: - # format: : - home: Kezdőlap - categories: Kategóriák - tags: Címkék - archives: Archívum - about: Bemutatkozás - -# the text displayed in the search bar & search results -search: - hint: keresés - cancel: Mégse - no_results: Hoppá! Nincs találat a keresésre. - -panel: - lastmod: Legutóbb frissítve - trending_tags: Népszerű Címkék - toc: Tartalom - -copyright: - # Shown at the bottom of the post - license: - template: A bejegyzést a szerző :LICENSE_NAME licenc alatt engedélyezte. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Néhány jog fenntartva. - verbose: >- - Az oldalon található tartalmak - Creative Commons Attribution 4.0 International (CC BY 4.0) licenccel rendelkeznek, - hacsak másképp nincs jelezve. - -meta: Készítve :THEME témával a :PLATFORM platformra. - -not_found: - 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. - update: Frissítés - -# ----- Posts related labels ----- - -post: - written_by: Szerző - posted: Létrehozva - updated: Frissítve - words: szó - pageview_measure: látogató - read_time: - unit: perc - prompt: elolvasni - relate_posts: További olvasnivaló - share: Megosztás - button: - next: Újabb - previous: Régebbi - copy_code: - succeed: Másolva! - share_link: - title: Link másolása - succeed: Link sikeresen másolva! - -# Date time format. -# See: , -df: - post: - strftime: "%Y. %B. %e." - dayjs: "YYYY. MMMM D." - archives: - strftime: "%B" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: kategória - plural: kategória - post_measure: - singular: bejegyzés - plural: bejegyzés diff --git a/_data/locales/id-ID.yml b/_data/locales/id-ID.yml deleted file mode 100644 index d772ec3..0000000 --- a/_data/locales/id-ID.yml +++ /dev/null @@ -1,77 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Postingan - category: Kategori - tag: Tagar - -# The tabs of sidebar -tabs: - # format: : - home: Beranda - categories: Kategori - tags: Tagar - archives: Arsip - about: Tentang - -# the text displayed in the search bar & search results -search: - hint: Cari - cancel: Batal - no_results: Ups! Tidak ada hasil yang ditemukan. - -panel: - lastmod: Postingan Terbaru - trending_tags: Tagar Terpopuler - toc: Konten - -copyright: - # Shown at the bottom of the post - license: - template: Postingan ini dilisensikan di bawah :LICENSE_NAME oleh penulis. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Sebagian konten dilindungi. - verbose: >- - Kecuali jika dinyatakan, Postingan blog di situs ini dilisensikan - di bawah Lisensi Creative Commons Attribution 4.0 International (CC BY 4.0) oleh penulis. - -meta: Didukung oleh :PLATFORM dengan tema :THEME - -not_found: - statement: Maaf, kami gagal menemukan URL itu atau memang mengarah ke sesuatu yang tidak ada. - -notification: - update_found: Versi konten baru tersedia. - update: Perbarui - -# ----- Posts related labels ----- - -post: - written_by: Oleh - posted: Diterbitkan - updated: Diperbarui - words: kata - pageview_measure: dilihat - read_time: - unit: menit - prompt: baca - relate_posts: Postingan Lainya - share: Bagikan - button: - next: Terbaru - previous: Terlama - copy_code: - succeed: Disalin! - share_link: - title: Salin tautan - succeed: Tautan berhasil disalin! - -# categories page -categories: - category_measure: kategori - post_measure: Postingan diff --git a/_data/locales/it-IT.yml b/_data/locales/it-IT.yml deleted file mode 100644 index c8dfb44..0000000 --- a/_data/locales/it-IT.yml +++ /dev/null @@ -1,90 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Post - category: Categoria - tag: Tag - -# The tabs of sidebar -tabs: - # format: : - home: Pagina principale - categories: Categorie - tags: Tags - archives: Archivio - about: Informazioni - -# the text displayed in the search bar & search results -search: - hint: ricerca - cancel: Cancella - no_results: Oops! La ricerca non ha fornito risultati. - -panel: - lastmod: Aggiornati recentemente - trending_tags: Tags più cliccati - toc: Contenuti - -copyright: - # Shown at the bottom of the post - license: - template: Questo post è sotto licenza :LICENSE_NAME a nome dell'autore. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Alcuni diritti riservati. - verbose: >- - Eccetto quando esplicitamente menzionato, i post di questo blog sono da ritenersi sotto - i termini di licenza Creative Commons Attribution 4.0 International (CC BY 4.0). - -meta: Servizio offerto da :PLATFORM con tema :THEME -not_found: - 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. - update: Aggiornamento - -# ----- Posts related labels ----- - -post: - written_by: Da - posted: Postato - updated: Aggiornato - words: parole - pageview_measure: visioni - read_time: - unit: min - prompt: lettura - relate_posts: Continua a leggere - share: Condividi - button: - next: Più recenti - previous: Meno recenti - copy_code: - succeed: Copiato! - share_link: - title: Copia link - succeed: Link copiato con successo! - -# Date time format. -# See: , -df: - post: - strftime: "%b %e, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: categoria - plural: categorie - post_measure: - singular: post - plural: posts diff --git a/_data/locales/ko-KR.yml b/_data/locales/ko-KR.yml deleted file mode 100644 index 8297634..0000000 --- a/_data/locales/ko-KR.yml +++ /dev/null @@ -1,84 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: 포스트 - category: 카테고리 - tag: 태그 - -# The tabs of sidebar -tabs: - # format: : - home: 홈 - categories: 카테고리 - tags: 태그 - archives: 아카이브 - about: 정보 - -# the text displayed in the search bar & search results -search: - hint: 검색 - cancel: 취소 - no_results: 검색 결과가 없습니다. - -panel: - lastmod: 최근 업데이트 - trending_tags: 인기 태그 - toc: 바로가기 - -copyright: - # Shown at the bottom of the post - license: - template: 이 기사는 저작권자의 :LICENSE_NAME 라이센스를 따릅니다. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: 일부 권리 보유 - verbose: >- - 명시되지 않는 한 이 사이트의 블로그 게시물은 작성자의 - Creative Commons Attribution 4.0 International(CC BY 4.0) 라이선스에 따라 사용이 허가되었습니다. - -meta: Powered by :PLATFORM with :THEME theme - -not_found: - statement: 해당 URL은 존재하지 않습니다. - -notification: - update_found: 새 버전의 콘텐츠를 사용할 수 있습니다. - update: 업데이트 - -# ----- Posts related labels ----- - -post: - written_by: By - posted: 게시 - updated: 업데이트 - words: 단어 - pageview_measure: 조회 - read_time: - unit: 분 - prompt: 읽는 시간 - relate_posts: 관련된 글 - share: 공유하기 - button: - next: 다음 글 - previous: 이전 글 - copy_code: - succeed: 복사되었습니다! - share_link: - title: 링크 복사하기 - succeed: 링크가 복사되었습니다! - -# Date time format. -# See: , -df: - post: - strftime: "%Y/%m/%d" - dayjs: "YYYY/MM/DD" - -# categories page -categories: - category_measure: 카테고리 - post_measure: 포스트 diff --git a/_data/locales/my-MM.yml b/_data/locales/my-MM.yml deleted file mode 100644 index d5bf728..0000000 --- a/_data/locales/my-MM.yml +++ /dev/null @@ -1,77 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: ပို့စ် - category: ကဏ္ဍ - tag: နာမ(တက်ဂ်) - -# The tabs of sidebar -tabs: - # format: : - home: အဓိကစာမျက်နှာ - categories: ကဏ္ဍများ - tags: နာမ(တက်ဂ်)များ - archives: မှတ်တမ်း​တိုက် - about: အကြောင်းအရာ - -# the text displayed in the search bar & search results -search: - hint: ရှာဖွေမည် - cancel: ဖျက်သိမ်းမည် - no_results: အိုး! ဘာမှမရှိပါ - -panel: - lastmod: မကြာသေးမီကမွမ်းမံထားသည် - trending_tags: ခေတ်စားနေသည့်တက်ဂ်များ - toc: အကြောင်းအရာများ - -copyright: - # Shown at the bottom of the post - license: - template: ဤပို့စ်သည်စာရေးသူ၏ :LICENSE_NAME လိုင်စင်ရထားသည်။ - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: မူပိုင်ခွင့်အချို့ကို လက်ဝယ်ထားသည်။ - verbose: >- - အခြားမှတ်သားထားချက်များမှလွဲ၍ ဤဆိုက်ရှိ ဘလော့ဂ်ပို့စ်များသည် စာရေးသူ၏ - Creative Commons Attribution 4.0 International (CC BY 4.0) အောက်တွင် လိုင်စင်ရထားပါသည်။ - -meta: Powered by :PLATFORM with :THEME theme - -not_found: - statement: ဝမ်းနည်းပါသည်၊ ကျွန်ုပ်တို့သည် အဆိုပါ URL ကို မှားယွင်းစွာ နေရာချထားခြင်း သို့မဟုတ် ၎င်းသည် မရှိသောအရာကို ညွှန်ပြနေပါသည်။ - -notification: - update_found: အကြောင်းအရာဗားရှင်းအသစ်ကို ရနိုင်ပါပြီ။ - update: အပ်ဒိတ် - -# ----- Posts related labels ----- - -post: - written_by: ကရေးသားခဲ့သည်။ - posted: တင်ထားခဲ့သည်။ - updated: မွမ်းမံထားခဲ့သည်။ - words: စကားလုံးများ - pageview_measure: အမြင်များ - read_time: - unit: မိနစ် - prompt: ဖတ်ပါမည် - relate_posts: နောက်ထပ်ဖတ်ရန် - share: မျှဝေရန် - button: - next: အသစ်များ - previous: အဟောင်းများ - copy_code: - succeed: ကူးယူလိုက်ပြီ။ - share_link: - title: လင့်ခ်ကို ကူးယူရန် - succeed: လင့်ခ်ကို ကူးယူလိုက်ပြီ။ - -# categories page -categories: - category_measure: ကဏ္ဍများ - post_measure: ပို့စ်များ diff --git a/_data/locales/nl-NL.yml b/_data/locales/nl-NL.yml deleted file mode 100644 index d7e8016..0000000 --- a/_data/locales/nl-NL.yml +++ /dev/null @@ -1,90 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Post - category: Categorie - tag: Tag - -# The tabs of sidebar -tabs: - # format: : - home: Startpagina - categories: Categorieën - tags: Tags - archives: Archief - about: Over - -# the text displayed in the search bar & search results -search: - hint: Zoek - cancel: Annuleer - no_results: Oops! Geen resultaat gevonden. - -panel: - lastmod: Recent Bijgewerkt - trending_tags: Trending Tags - toc: Inhoud - -copyright: - # Shown at the bottom of the post - license: - template: Alle posts zijn onder :LICENSE_NAME gepubliceerd door de auteur. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Sommige rechten voorbehouden. - verbose: >- - Tenzij anders vermeld, alle posts zijn onder de - Creative Commons Attribution 4.0 International (CC BY 4.0) gepubliceerd door de auteur. - -meta: Gebruikt :THEME - -not_found: - statement: Sorry, we hebben de URL verkeerd geplaatst of hij verwijst naar iets dat niet bestaat. - -notification: - update_found: Nieuwe versie van inhoud beschikbaar. - update: Update - -# ----- Posts related labels ----- -post: - written_by: Door - posted: Posted - updated: Bijgewerkt - words: woorden - pageview_measure: Gelezen - read_time: - unit: min - prompt: lees - relate_posts: Verder Lezen - share: Deel - button: - next: Volgende - previous: Vorige - copy_code: - succeed: Gekopieerd! - share_link: - title: Link kopiëren - succeed: Succesvol gekopieerd! - -# Date time format. -# See: , -df: - post: - strftime: "%b %e, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: categorie - plural: categorieën - post_measure: - singular: post - plural: posts diff --git a/_data/locales/pt-BR.yml b/_data/locales/pt-BR.yml deleted file mode 100644 index 7ca60a7..0000000 --- a/_data/locales/pt-BR.yml +++ /dev/null @@ -1,77 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Post - category: Categoria - tag: Tag - -# The tabs of sidebar -tabs: - # format: : - home: Home - categories: Categorias - tags: Tags - archives: Arquivos - about: Sobre - -# the text displayed in the search bar & search results -search: - hint: Buscar - cancel: Cancelar - no_results: Oops! Nenhum resultado encontrado. - -panel: - lastmod: Atualizados recentemente - trending_tags: Trending Tags - toc: Conteúdo - -copyright: - # Shown at the bottom of the post - license: - template: Esta postagem está licenciada sob :LICENSE_NAME pelo autor. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Alguns direitos reservados. - verbose: >- - Exceto onde indicado de outra forma, as postagens do blog neste site são licenciadas sob a - Creative Commons Attribution 4.0 International (CC BY 4.0) License pelo autor. - -meta: Feito com :PLATFORM usando o tema :THEME - -not_found: - statement: Desculpe, a página não foi encontrada. - -notification: - update_found: Uma nova versão do conteúdo está disponível. - update: atualização - -# ----- Posts related labels ----- - -post: - written_by: Por - posted: Postado em - updated: Atualizado - words: palavras - pageview_measure: visualizações - read_time: - unit: min - prompt: " de leitura" - relate_posts: Leia também - share: Compartilhar - button: - next: Próximo - previous: Anterior - copy_code: - succeed: Copiado! - share_link: - title: Copie o link - succeed: Link copiado com sucesso! - -# categories page -categories: - category_measure: categorias - post_measure: posts diff --git a/_data/locales/ru-RU.yml b/_data/locales/ru-RU.yml deleted file mode 100644 index 868ba95..0000000 --- a/_data/locales/ru-RU.yml +++ /dev/null @@ -1,87 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Пост - category: Категория - tag: Тег - -# The tabs of sidebar -tabs: - # format: : - home: Главная - categories: Категории - tags: Теги - archives: Архив - about: О сайте - -# the text displayed in the search bar & search results -search: - hint: поиск - cancel: Отмена - no_results: Упс! Ничего не найдено. - -panel: - lastmod: Недавно обновлено - trending_tags: Популярные теги - toc: Содержание - -copyright: - # Shown at the bottom of the post - license: - template: Авторский пост защищен лицензией :LICENSE_NAME. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Некоторые права защищены. - verbose: >- - Если не указано иное, авторские посты на этом сайте защищены лицензией Creative Commons Attribution 4.0 International (CC BY 4.0). - -meta: Использует тему :THEME для :PLATFORM - -not_found: - statement: Извините, мы перепутали URL-адрес или он указывает на что-то несуществующее. - -notification: - update_found: Доступна новая версия контента. - update: Обновить - -# ----- Posts related labels ----- - -post: - written_by: Автор - posted: Опубликовано - updated: Обновлено - words: слов - pageview_measure: просмотров - read_time: - unit: мин. - prompt: чтения - relate_posts: Похожие посты - share: Поделиться - button: - next: Следующий пост - previous: Предыдущий пост - copy_code: - succeed: Скопировано! - share_link: - title: Скопировать ссылку - succeed: Ссылка успешно скопирована! - -# Date time format. -# See: , -df: - post: - strftime: "%d.%m.%Y" - dayjs: "DD.MM.YYYY" - -# categories page -categories: - category_measure: - singular: категория - plural: категории - post_measure: - singular: пост - plural: посты diff --git a/_data/locales/sl-SI.yml b/_data/locales/sl-SI.yml deleted file mode 100644 index 4d9434d..0000000 --- a/_data/locales/sl-SI.yml +++ /dev/null @@ -1,91 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Objava #Post - category: Kategorija #Category - tag: Oznaka #Tag - -# The tabs of sidebar -tabs: - # format: : - home: Domov #Home - categories: Kategorije #Categories - tags: Oznake #Tags - archives: Arhiv #Archives - about: O meni #About - -# the text displayed in the search bar & search results -search: - hint: išči #search - cancel: Prekliči #Cancel - no_results: Ups! Vsebina ni bila najdena #Oops! No results found. - -panel: - lastmod: Nedavno Posodobljeno #Recently Updated - trending_tags: Priljubljene Oznake #Trending Tags - toc: Vsebina #Contents - -copyright: - # Shown at the bottom of the post - license: - template: Ta objava je licencirana pod :LICENCE_NAME s strani avtorja. #This post is licensed under :LICENSE_NAME by the author. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Nekatere pravice pridržane. #Some rights reserved. - verbose: >- - Razen kjer navedeno drugače, vse objave spletnega dnevnika so licencirane - pod Creative Commons Attribution 4.0 International (CC BY 4.0) s strani avtorja. - -meta: Uporabljena :PLATFORM tema :THEME #Using the :PLATFORM theme :THEME - -not_found: - 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. - update: Posodobi #Update - -# ----- Posts related labels ----- - -post: - written_by: Od #By - posted: Objavljeno #Posted - updated: Posodobljeno #Updated - words: besede #words - pageview_measure: ogledi #views - read_time: - unit: min - prompt: beri #read - relate_posts: Nadaljnje branje #Further Reading - share: Deli #Share - button: - next: Novejše #Newer - previous: Starejše #Older - copy_code: - succeed: Kopirano! #Copied! - share_link: - title: Kopiraj povezavo #Copy link - succeed: Povezava uspešno kopirana! #Link copied successfully! - -# Date time format. -# See: , -df: - post: - strftime: "%e %b, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: kategorija #category - plural: kategorije #categories - post_measure: - singular: objava #post - plural: objave #posts diff --git a/_data/locales/sv-SE.yml b/_data/locales/sv-SE.yml deleted file mode 100644 index decb59c..0000000 --- a/_data/locales/sv-SE.yml +++ /dev/null @@ -1,91 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Inlägg #Post - category: Kategori #Category - tag: Tagga #Tag - -# The tabs of sidebar -tabs: - # format: : - home: Hem #Home - categories: Kategorier #Categories - tags: Taggar #Tags - archives: Arkiv #Archives - about: Om #About - -# the text displayed in the search bar & search results -search: - hint: sök - cancel: Avbryt - no_results: Hoppsan! Hittade inga sökträffar. - -panel: - lastmod: Senast uppdaterad - trending_tags: Trendande taggar - toc: Innehåll - -copyright: - # Shown at the bottom of the post - license: - template: Den här posten är publicerad under licensen :LICENSE_NAME av författaren. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Vissa rättigheter är reserverade. - verbose: >- - Om inte annat anges är blogginläggen på denna webbplats licensierade - under Creative Commons Attribution 4.0 International (CC BY 4.0) av författaren. - -meta: Byggd med :PLATFORM och temat :THEME - -not_found: - 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. - update: Uppdatera sidan - -# ----- Posts related labels ----- - -post: - written_by: Av - posted: Postad - updated: Uppdaterad - words: ord - pageview_measure: visningar - read_time: - unit: min - prompt: läsning - relate_posts: Mer läsning - share: Dela - button: - next: Nyare - previous: Äldre - copy_code: - succeed: Kopierat! - share_link: - title: Kopiera länk - succeed: Länken har kopierats! - -# Date time format. -# See: , -df: - post: - strftime: "%b %e, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: kategori - plural: kategorier - post_measure: - singular: inlägg - plural: inlägg diff --git a/_data/locales/th.yml b/_data/locales/th.yml deleted file mode 100644 index a3f41a0..0000000 --- a/_data/locales/th.yml +++ /dev/null @@ -1,91 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: โพสต์ - category: หมวดหมู่ - tag: แท็ก - -# The tabs of sidebar -tabs: - # format: : - home: หน้าแรก - categories: หมวดหมู่ - tags: แท็ก - archives: คลังเก็บ - about: เกี่ยวกับ - -# the text displayed in the search bar & search results -search: - hint: ค้นหา - cancel: ยกเลิก - no_results: โอ๊ะ! ไม่พบผลลัพธ์ - -panel: - lastmod: อัปเดตล่าสุด - trending_tags: แท็กยอดนิยม - toc: เนื้อหา - -copyright: - # Shown at the bottom of the post - license: - template: โพสต์นี้อยู่ภายใต้การอนุญาต :LICENSE_NAME โดยผู้เขียน - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: สงวนลิขสิทธิ์เป็นบางส่วน - verbose: >- - เว้นแต่ว่าจะระบุเป็นอย่างอื่น โพสต์บนเว็บไซต์นี้อยู่ภายใต้ - สัญญาอนุญาตครีเอทีฟคอมมอนส์แบบ 4.0 นานาชาติ (CC BY 4.0) โดยผู้เขียน - -meta: กำลังใช้ธีมของ :PLATFORM ชื่อ :THEME - -not_found: - statement: ขออภัย เราวาง URL นั้นไว้ผิดที่ หรือมันชี้ไปยังสิ่งที่ไม่มีอยู่ - -notification: - update_found: มีเวอร์ชันใหม่ของเนื้อหา - update: อัปเดต - -# ----- Posts related labels ----- - -post: - written_by: โดย - posted: โพสต์เมื่อ - updated: อัปเดตเมื่อ - words: คำ - pageview_measure: ครั้ง - read_time: - unit: นาที - prompt: อ่าน - relate_posts: อ่านต่อ - share: แชร์ - button: - next: ใหม่กว่า - previous: เก่ากว่า - copy_code: - succeed: คัดลอกแล้ว! - share_link: - title: คัดลอกลิงก์ - succeed: คัดลอกลิงก์เรียบร้อยแล้ว! - -# Date time format. -# See: , -df: - post: - strftime: "%b %e, %Y" - dayjs: "ll" - archives: - strftime: "%b" - dayjs: "MMM" - -# categories page -categories: - category_measure: - singular: หมวดหมู่ - plural: หมวดหมู่ - post_measure: - singular: โพสต์ - plural: โพสต์ diff --git a/_data/locales/tr-TR.yml b/_data/locales/tr-TR.yml deleted file mode 100644 index 768f57c..0000000 --- a/_data/locales/tr-TR.yml +++ /dev/null @@ -1,77 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Gönderi - category: Kategori - tag: Etiket - -# The tabs of sidebar -tabs: - # format: : - home: Ana Sayfa - categories: Kategoriler - tags: Etiketler - archives: Arşiv - about: Hakkında - -# the text displayed in the search bar & search results -search: - hint: Ara... - cancel: İptal - no_results: Hop! Öyle bir şey bulamadım. - -panel: - lastmod: Son Güncellenenler - trending_tags: Yükselen Etiketler - toc: İçindekiler - -copyright: - # Shown at the bottom of the post - license: - template: Bu gönderi :LICENSE_NAME lisansı altındadır. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/deed.tr - - # Displayed in the footer - brief: Bazı hakları saklıdır. - verbose: >- - Aksi belirtilmediği sürece, bu sitedeki gönderiler Creative Commons Atıf 4.0 Uluslararası (CC BY 4.0) Lisansı altındadır. - Kısaca sayfa linkini vererek değiştirebilir / paylaşabilirsiniz. - -meta: :PLATFORM ve :THEME teması - -not_found: - 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. - update: Güncelle - -# ----- Posts related labels ----- - -post: - written_by: Yazan - posted: Gönderim - updated: Güncelleme - words: sözcük - pageview_measure: görüntülenme - read_time: - unit: dakikada - prompt: okunabilir - relate_posts: Benzer Gönderiler - share: Paylaş - button: - next: İleri - previous: Geri - copy_code: - succeed: Kopyalandı. - share_link: - title: Linki kopyala - succeed: Link kopyalandı. - -# categories page -categories: - category_measure: kategori - post_measure: gönderi diff --git a/_data/locales/uk-UA.yml b/_data/locales/uk-UA.yml deleted file mode 100644 index 8fef52e..0000000 --- a/_data/locales/uk-UA.yml +++ /dev/null @@ -1,77 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Публікація - category: Категорія - tag: Тег - -# The tabs of sidebar -tabs: - # format: : - home: Домашня сторінка - categories: Категорії - tags: Теги - archives: Архів - about: Про сайт - -# the text displayed in the search bar & search results -search: - hint: пошук - cancel: Скасувати - no_results: Ох! Нічого не знайдено. - -panel: - lastmod: Нещодавно оновлено - trending_tags: Популярні теги - toc: Зміст - -copyright: - # Shown at the bottom of the post - license: - template: Публікація захищена ліцензією :LICENSE_NAME. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Деякі права захищено. - verbose: >- - Публікації на сайті захищено ліцензією Creative Commons Attribution 4.0 International (CC BY 4.0), - якщо інше не вказано в тексті. - -meta: Powered by :PLATFORM with :THEME theme - -not_found: - statement: Вибачте, це посилання вказує на ресурс, що не існує. - -notification: - update_found: Доступна нова версія вмісту. - update: Оновлення - -# ----- Posts related labels ----- - -post: - written_by: Автор - posted: Час публікації - updated: Оновлено - words: слів - pageview_measure: переглядів - read_time: - unit: хвилин - prompt: читання - relate_posts: Вас також може зацікавити - share: Поділитися - button: - next: Попередня публікація - previous: Наступна публікація - copy_code: - succeed: Успішно скопійовано! - share_link: - title: Скопіювати посилання - succeed: Посилання успішно скопійовано! - -# categories page -categories: - category_measure: категорії - post_measure: публікації diff --git a/_data/locales/vi-VN.yml b/_data/locales/vi-VN.yml deleted file mode 100644 index 6c2ceff..0000000 --- a/_data/locales/vi-VN.yml +++ /dev/null @@ -1,76 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: Bài viết - category: Danh mục - tag: Thẻ - -# The tabs of sidebar -tabs: - # format: : - home: Trang chủ - categories: Các danh mục - tags: Các thẻ - archives: Lưu trữ - about: Giới thiệu - -# the text displayed in the search bar & search results -search: - hint: tìm kiếm - cancel: Hủy - no_results: Không có kết quả tìm kiếm. - -panel: - lastmod: Mới cập nhật - trending_tags: Các thẻ thịnh hành - toc: Mục lục - -copyright: - # Shown at the bottom of the post - license: - template: Bài viết này được cấp phép bởi tác giả theo giấy phép :LICENSE_NAME. - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: Một số quyền được bảo lưu. - verbose: >- - Trừ khi có ghi chú khác, các bài viết đăng trên trang này được cấp phép bởi tác giả theo giấy phép Creative Commons Attribution 4.0 International (CC BY 4.0). - -meta: Trang web này được tạo bởi :PLATFORM với chủ đề :THEME - -not_found: - 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. - update: Cập nhật - -# ----- Posts related labels ----- - -post: - written_by: Viết bởi - posted: Đăng lúc - updated: Cập nhật lúc - words: từ - pageview_measure: lượt xem - read_time: - unit: phút - prompt: đọc - relate_posts: Bài viết liên quan - share: Chia sẻ - button: - next: Mới hơn - previous: Cũ hơn - copy_code: - succeed: Đã sao chép! - share_link: - title: Sao chép đường dẫn - succeed: Đã sao chép đường dẫn thành công! - -# categories page -categories: - category_measure: danh mục - post_measure: bài viết diff --git a/_data/locales/zh-CN.yml b/_data/locales/zh-CN.yml deleted file mode 100644 index 5c13410..0000000 --- a/_data/locales/zh-CN.yml +++ /dev/null @@ -1,83 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: 文章 - category: 分类 - tag: 标签 - -# The tabs of sidebar -tabs: - # format: : - home: 首页 - categories: 分类 - tags: 标签 - archives: 归档 - about: 关于 - -# the text displayed in the search bar & search results -search: - hint: 搜索 - cancel: 取消 - no_results: 搜索结果为空 - -panel: - lastmod: 最近更新 - trending_tags: 热门标签 - toc: 文章内容 - -copyright: - # Shown at the bottom of the post - license: - template: 本文由作者按照 :LICENSE_NAME 进行授权 - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: 保留部分权利。 - verbose: >- - 除非另有说明,本网站上的博客文章均由作者按照知识共享署名 4.0 国际 (CC BY 4.0) 许可协议进行授权。 - -meta: 本站采用 :PLATFORM 主题 :THEME - -not_found: - statement: 抱歉,我们放错了该 URL,或者它指向了不存在的内容。 - -notification: - update_found: 发现新版本的内容。 - update: 更新 - -# ----- Posts related labels ----- - -post: - written_by: 作者 - posted: 发表于 - updated: 更新于 - words: 字 - pageview_measure: 次浏览 - read_time: - unit: 分钟 - prompt: 阅读 - relate_posts: 相关文章 - share: 分享 - button: - next: 下一篇 - previous: 上一篇 - copy_code: - succeed: 已复制! - share_link: - title: 分享链接 - succeed: 链接已复制! - -# Date time format. -# See: , -df: - post: - strftime: "%Y/%m/%d" - dayjs: "YYYY/MM/DD" - -# categories page -categories: - category_measure: 个分类 - post_measure: 篇文章 diff --git a/_data/locales/zh-TW.yml b/_data/locales/zh-TW.yml deleted file mode 100644 index 33a4330..0000000 --- a/_data/locales/zh-TW.yml +++ /dev/null @@ -1,83 +0,0 @@ -# The layout text of site - -# ----- Commons label ----- - -layout: - post: 文章 - category: 分類 - tag: 標籤 - -# The tabs of sidebar -tabs: - # format: : - home: 首頁 - categories: 分類 - tags: 標籤 - archives: 封存 - about: 關於 - -# the text displayed in the search bar & search results -search: - hint: 搜尋 - cancel: 取消 - no_results: 沒有搜尋結果 - -panel: - lastmod: 最近更新 - trending_tags: 熱門標籤 - toc: 文章摘要 - -copyright: - # Shown at the bottom of the post - license: - template: 本文章以 :LICENSE_NAME 授權 - name: CC BY 4.0 - link: https://creativecommons.org/licenses/by/4.0/ - - # Displayed in the footer - brief: 保留部份權利。 - verbose: >- - 除非另有說明,否則本網誌的文章均由作者按照姓名標示 4.0 國際 (CC BY 4.0) 授權條款進行授權。 - -meta: 本網站使用 :PLATFORM 產生,採用 :THEME 主題 - -not_found: - statement: 抱歉,您可能正在存取一個已被移動的 URL,或者它從未存在。 - -notification: - update_found: 發現新版本更新。 - update: 更新 - -# ----- Posts related labels ----- - -post: - written_by: 作者 - posted: 發布於 - updated: 更新於 - words: 字 - pageview_measure: 次瀏覽 - read_time: - unit: 分鐘 - prompt: 閱讀 - relate_posts: 相關文章 - share: 分享 - button: - next: 下一篇 - previous: 上一篇 - copy_code: - succeed: 已複製! - share_link: - title: 分享連結 - succeed: 已複製連結! - -# Date time format. -# See: , -df: - post: - strftime: "%Y/%m/%d" - dayjs: "YYYY/MM/DD" - -# categories page -categories: - category_measure: 個分類 - post_measure: 篇文章 diff --git a/_data/media.yml b/_data/media.yml deleted file mode 100644 index 9cd69b4..0000000 --- a/_data/media.yml +++ /dev/null @@ -1,18 +0,0 @@ -- extension: mp3 - mime_type: mpeg -- extension: mov - mime_type: quicktime -- extension: avi - mime_type: x-msvideo -- extension: mkv - mime_type: x-matroska -- extension: ogv - mime_type: ogg -- extension: weba - mime_type: webm -- extension: 3gp - mime_type: 3gpp -- extension: 3g2 - mime_type: 3gpp2 -- extension: mid - mime_type: midi diff --git a/_data/origin/basic.yml b/_data/origin/basic.yml deleted file mode 100644 index 2d52982..0000000 --- a/_data/origin/basic.yml +++ /dev/null @@ -1,39 +0,0 @@ -# fonts - -webfonts: /assets/lib/fonts/main.css - -# Libraries - -toc: - css: /assets/lib/tocbot/tocbot.min.css - js: /assets/lib/tocbot/tocbot.min.js - -fontawesome: - css: /assets/lib/fontawesome-free/css/all.min.css - -search: - js: /assets/lib/simple-jekyll-search/simple-jekyll-search.min.js - -mermaid: - js: /assets/lib/mermaid/mermaid.min.js - -dayjs: - js: - common: /assets/lib/dayjs/dayjs.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 - js: /assets/lib/glightbox/glightbox.min.js - -lazy-polyfill: - css: /assets/lib/loading-attribute-polyfill/loading-attribute-polyfill.min.css - js: /assets/lib/loading-attribute-polyfill/loading-attribute-polyfill.umd.min.js - -clipboard: - js: /assets/lib/clipboard/clipboard.min.js - -mathjax: - js: /assets/lib/mathjax/tex-chtml.js diff --git a/_data/origin/cors.yml b/_data/origin/cors.yml deleted file mode 100644 index e9bb4eb..0000000 --- a/_data/origin/cors.yml +++ /dev/null @@ -1,54 +0,0 @@ -# Resource Hints -resource_hints: - - url: https://fonts.googleapis.com - links: - - rel: preconnect - - rel: dns-prefetch - - url: https://fonts.gstatic.com - links: - - rel: preconnect - opts: [crossorigin] - - rel: dns-prefetch - - url: https://cdn.jsdelivr.net - links: - - rel: preconnect - - rel: dns-prefetch - -# Web Fonts -webfonts: https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Source+Sans+Pro:wght@400;600;700;900&display=swap - -# Libraries - -toc: - css: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.css - js: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.js - -fontawesome: - css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7.1/css/all.min.css - -search: - js: https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js - -mermaid: - js: https://cdn.jsdelivr.net/npm/mermaid@11.4.0/dist/mermaid.min.js - -dayjs: - js: - common: https://cdn.jsdelivr.net/npm/dayjs@1.11.13/dayjs.min.js - locale: https://cdn.jsdelivr.net/npm/dayjs@1.11.13/locale/:LOCALE.js - relativeTime: https://cdn.jsdelivr.net/npm/dayjs@1.11.13/plugin/relativeTime.js - localizedFormat: https://cdn.jsdelivr.net/npm/dayjs@1.11.13/plugin/localizedFormat.js - -glightbox: - css: https://cdn.jsdelivr.net/npm/glightbox@3.3.0/dist/css/glightbox.min.css - js: https://cdn.jsdelivr.net/npm/glightbox@3.3.0/dist/js/glightbox.min.js - -lazy-polyfill: - css: https://cdn.jsdelivr.net/npm/loading-attribute-polyfill@2.1.1/dist/loading-attribute-polyfill.min.css - js: https://cdn.jsdelivr.net/npm/loading-attribute-polyfill@2.1.1/dist/loading-attribute-polyfill.umd.min.js - -clipboard: - js: https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js - -mathjax: - js: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js diff --git a/_data/share.yml b/_data/share.yml deleted file mode 100644 index 6f97568..0000000 --- a/_data/share.yml +++ /dev/null @@ -1,50 +0,0 @@ -# Sharing options at the bottom of the post. -# Icons from - -platforms: - - type: Twitter - icon: "fa-brands fa-square-x-twitter" - link: "https://twitter.com/intent/tweet?text=TITLE&url=URL" - - - type: Facebook - icon: "fab fa-facebook-square" - link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL" - - - 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" - # - # - type: Weibo - # icon: "fab fa-weibo" - # link: "https://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/" - # - # - type: Bluesky - # icon: "fa-brands fa-bluesky" - # link: "https://bsky.app/intent/compose?text=TITLE%20URL" - # - # - type: Reddit - # icon: "fa-brands fa-square-reddit" - # link: "https://www.reddit.com/submit?url=URL&title=TITLE" - # - # - type: Threads - # icon: "fa-brands fa-square-threads" - # link: "https://www.threads.net/intent/post?text=TITLE%20URL" diff --git a/_includes/.DS_Store b/_includes/.DS_Store deleted file mode 100644 index 4690bdf..0000000 Binary files a/_includes/.DS_Store and /dev/null differ diff --git a/_includes/analytics/cloudflare.html b/_includes/analytics/cloudflare.html deleted file mode 100644 index 9faa11e..0000000 --- a/_includes/analytics/cloudflare.html +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/_includes/analytics/fathom.html b/_includes/analytics/fathom.html deleted file mode 100644 index 216bb14..0000000 --- a/_includes/analytics/fathom.html +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/_includes/analytics/goatcounter.html b/_includes/analytics/goatcounter.html deleted file mode 100644 index 3867fdb..0000000 --- a/_includes/analytics/goatcounter.html +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/_includes/analytics/google.html b/_includes/analytics/google.html deleted file mode 100644 index dfe4828..0000000 --- a/_includes/analytics/google.html +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/_includes/analytics/matomo.html b/_includes/analytics/matomo.html deleted file mode 100644 index caaa63e..0000000 --- a/_includes/analytics/matomo.html +++ /dev/null @@ -1,13 +0,0 @@ - - diff --git a/_includes/analytics/umami.html b/_includes/analytics/umami.html deleted file mode 100644 index bfcb1d0..0000000 --- a/_includes/analytics/umami.html +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/_includes/comment.html b/_includes/comment.html deleted file mode 100644 index fef135f..0000000 --- a/_includes/comment.html +++ /dev/null @@ -1,5 +0,0 @@ - -{% if page.comments and site.comments.provider %} - {% capture path %}comments/{{ site.comments.provider }}.html{% endcapture %} - {% include {{ path }} %} -{% endif %} diff --git a/_includes/comments/disqus.html b/_includes/comments/disqus.html deleted file mode 100644 index fd12a3c..0000000 --- a/_includes/comments/disqus.html +++ /dev/null @@ -1,57 +0,0 @@ - diff --git a/_includes/comments/giscus.html b/_includes/comments/giscus.html deleted file mode 100644 index 8058472..0000000 --- a/_includes/comments/giscus.html +++ /dev/null @@ -1,55 +0,0 @@ - - diff --git a/_includes/comments/utterances.html b/_includes/comments/utterances.html deleted file mode 100644 index 9940897..0000000 --- a/_includes/comments/utterances.html +++ /dev/null @@ -1,38 +0,0 @@ - - diff --git a/_includes/datetime.html b/_includes/datetime.html deleted file mode 100644 index 9f954b6..0000000 --- a/_includes/datetime.html +++ /dev/null @@ -1,20 +0,0 @@ - - -{% assign df_strftime = site.data.locales[include.lang].df.post.strftime | default: '%d/%m/%Y' %} -{% assign df_dayjs = site.data.locales[include.lang].df.post.dayjs | default: 'DD/MM/YYYY' %} - - diff --git a/_includes/embed/audio.html b/_includes/embed/audio.html deleted file mode 100644 index cf928a7..0000000 --- a/_includes/embed/audio.html +++ /dev/null @@ -1,35 +0,0 @@ -{% assign src = include.src | strip %} -{% assign title = include.title | strip %} -{% assign types = include.types | default: '' | strip | split: '|' %} - -{% unless src contains '://' %} - {%- capture src -%} - {% include media-url.html src=src subpath=page.media_subpath %} - {%- endcapture -%} -{% endunless %} - -

- - {% if title %} - {{ title }} - {% endif %} -

diff --git a/_includes/embed/bilibili.html b/_includes/embed/bilibili.html deleted file mode 100644 index 0aa5552..0000000 --- a/_includes/embed/bilibili.html +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/_includes/embed/twitch.html b/_includes/embed/twitch.html deleted file mode 100644 index ed5ec83..0000000 --- a/_includes/embed/twitch.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/_includes/embed/video.html b/_includes/embed/video.html deleted file mode 100644 index 9b6918f..0000000 --- a/_includes/embed/video.html +++ /dev/null @@ -1,59 +0,0 @@ -{% assign video_url = include.src %} -{% assign title = include.title %} -{% assign poster_url = include.poster %} -{% assign types = include.types | default: '' | strip | split: '|' %} - -{% unless video_url contains '://' %} - {%- capture video_url -%} - {% include media-url.html src=video_url subpath=page.media_subpath %} - {%- endcapture -%} -{% endunless %} - -{% if poster_url %} - {% unless poster_url contains '://' %} - {%- capture poster_url -%} - {% include media-url.html src=poster_url subpath=page.media_subpath %} - {%- endcapture -%} - {% endunless %} - {% assign poster = 'poster="' | append: poster_url | append: '"' %} -{% endif %} - -{% assign attributes = 'controls' %} - -{% if include.autoplay %} - {% assign attributes = attributes | append: ' ' | append: 'autoplay' %} -{% endif %} - -{% if include.loop %} - {% assign attributes = attributes | append: ' ' | append: 'loop' %} -{% endif %} - -{% if include.muted %} - {% assign attributes = attributes | append: ' ' | append: 'muted' %} -{% endif %} - -

- - {% if title %} - {{ title }} - {% endif %} -

diff --git a/_includes/embed/youtube.html b/_includes/embed/youtube.html deleted file mode 100644 index 8f08002..0000000 --- a/_includes/embed/youtube.html +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/_includes/favicons.html b/_includes/favicons.html deleted file mode 100644 index 957c933..0000000 --- a/_includes/favicons.html +++ /dev/null @@ -1,19 +0,0 @@ - - -{% capture favicon_path %}{{ '/assets/img/favicons' | relative_url }}{% endcapture %} - - - - -{% if site.pwa.enabled %} - -{% endif %} - - - - - - diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100644 index 1ba9b63..0000000 --- a/_includes/footer.html +++ /dev/null @@ -1,49 +0,0 @@ - - -
-

- {{- '©' }} - - - {% if site.social.links %} - {{ site.social.name }}. - {% else %} - {{ site.social.name }}. - {% endif %} - - {% if site.data.locales[include.lang].copyright.brief %} - - {{- site.data.locales[include.lang].copyright.brief -}} - - {% endif %} -

- -

- {%- capture _platform -%} - Jekyll - {%- endcapture -%} - - {%- capture _theme -%} - Chirpy - {%- endcapture -%} - - {{ site.data.locales[include.lang].meta | replace: ':PLATFORM', _platform | replace: ':THEME', _theme }} -

-
diff --git a/_includes/head.html b/_includes/head.html deleted file mode 100644 index 4514666..0000000 --- a/_includes/head.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - {%- capture seo_tags -%} - {% seo title=false %} - {%- endcapture -%} - - - - {% if page.image %} - {% assign src = page.image.path | default: page.image %} - - {% unless src contains '://' %} - {%- capture img_url -%} - {% include media-url.html src=src subpath=page.media_subpath absolute=true %} - {%- endcapture -%} - - {%- capture old_url -%}{{ src | absolute_url }}{%- endcapture -%} - {%- capture new_url -%}{{ img_url }}{%- endcapture -%} - - {% assign seo_tags = seo_tags | replace: old_url, new_url %} - {% endunless %} - - {% elsif site.social_preview_image %} - {%- capture img_url -%} - {% include media-url.html src=site.social_preview_image absolute=true %} - {%- endcapture -%} - - {%- capture og_image -%} - - {%- endcapture -%} - - {%- capture twitter_image -%} - - - {%- endcapture -%} - - {% assign old_meta_clip = '' %} - {% assign new_meta_clip = og_image | append: twitter_image %} - {% assign seo_tags = seo_tags | replace: old_meta_clip, new_meta_clip %} - {% endif %} - - {{ seo_tags }} - - - {%- unless page.layout == 'home' -%} - {{ page.title | append: ' | ' }} - {%- endunless -%} - {{ site.title }} - - - {% include_cached favicons.html %} - - - {% unless site.assets.self_host.enabled %} - {% for hint in site.data.origin.cors.resource_hints %} - {% for link in hint.links %} - - {% endfor %} - {% endfor %} - {% endunless %} - - - {% unless jekyll.environment == 'production' %} - - {% endunless %} - - - - - - - - - - - - - {% if site.toc and page.toc %} - - {% endif %} - - {% if page.layout == 'post' or page.layout == 'page' or page.layout == 'home' %} - - {% endif %} - - {% if page.layout == 'page' or page.layout == 'post' %} - - - {% endif %} - - - - - - {% include js-selector.html lang=lang %} - - {% if jekyll.environment == 'production' %} - - {% if site.pwa.enabled %} - - {% endif %} - - - {% for analytics in site.analytics %} - {% capture str %}{{ analytics }}{% endcapture %} - {% assign platform = str | split: '{' | first %} - {% if site.analytics[platform].id and site.analytics[platform].id != empty %} - {% include analytics/{{ platform }}.html %} - {% endif %} - {% endfor %} - {% endif %} - - {% include metadata-hook.html %} - diff --git a/_includes/js-selector.html b/_includes/js-selector.html deleted file mode 100644 index fd4acca..0000000 --- a/_includes/js-selector.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - -{% assign urls = site.data.origin[type].search.js %} - - - -{% if page.layout == 'post' or page.layout == 'page' or page.layout == 'home' %} - {% assign urls = urls | append: ',' | append: site.data.origin[type]['lazy-polyfill'].js %} - - {% unless page.layout == 'home' %} - - {% assign urls = urls - | append: ',' - | append: site.data.origin[type].glightbox.js - | append: ',' - | append: site.data.origin[type].clipboard.js - %} - {% endunless %} -{% endif %} - -{% if page.layout == 'home' - or page.layout == 'post' - or page.layout == 'archives' - or page.layout == 'category' - or page.layout == 'tag' -%} - {% assign locale = include.lang | split: '-' | first %} - - {% assign urls = urls - | append: ',' - | append: site.data.origin[type].dayjs.js.common - | append: ',' - | append: site.data.origin[type].dayjs.js.locale - | replace: ':LOCALE', locale - | append: ',' - | append: site.data.origin[type].dayjs.js.relativeTime - | append: ',' - | append: site.data.origin[type].dayjs.js.localizedFormat - %} -{% endif %} - -{% if page.content contains ' - -{% if page.math %} - - - - -{% endif %} - - -{% if page.layout == 'post' %} - {% assign provider = site.pageviews.provider %} - - {% if provider and provider != empty %} - {% case provider %} - {% when 'goatcounter' %} - {% if site.analytics[provider].id != empty and site.analytics[provider].id %} - {% include pageviews/{{ provider }}.html %} - {% endif %} - {% endcase %} - {% endif %} -{% endif %} diff --git a/_includes/jsdelivr-combine.html b/_includes/jsdelivr-combine.html deleted file mode 100644 index 0611213..0000000 --- a/_includes/jsdelivr-combine.html +++ /dev/null @@ -1,26 +0,0 @@ -{% assign urls = include.urls | split: ',' %} - -{% assign combined_urls = null %} - -{% assign domain = 'https://cdn.jsdelivr.net/' %} - -{% for url in urls %} - {% if url contains domain %} - {% assign url_snippet = url | slice: domain.size, url.size %} - - {% if combined_urls %} - {% assign combined_urls = combined_urls | append: ',' | append: url_snippet %} - {% else %} - {% assign combined_urls = domain | append: 'combine/' | append: url_snippet %} - {% endif %} - - {% elsif url contains '//' %} - - {% else %} - - {% endif %} -{% endfor %} - -{% if combined_urls %} - -{% endif %} diff --git a/_includes/lang.html b/_includes/lang.html deleted file mode 100644 index 34b50df..0000000 --- a/_includes/lang.html +++ /dev/null @@ -1,10 +0,0 @@ -{% comment %} - Detect appearance language and return it through variable "lang" -{% endcomment %} -{% if site.data.locales[page.lang] %} - {% assign lang = page.lang %} -{% elsif site.data.locales[site.lang] %} - {% assign lang = site.lang %} -{% else %} - {% assign lang = 'en' %} -{% endif %} diff --git a/_includes/language-alias.html b/_includes/language-alias.html deleted file mode 100644 index abfa7ba..0000000 --- a/_includes/language-alias.html +++ /dev/null @@ -1,70 +0,0 @@ -{% comment %} - - Convert the alias of the syntax language to the official name - - See: - -{% endcomment %} - -{% assign _lang = include.language | default: '' %} - -{% case _lang %} - {% when 'actionscript', 'as', 'as3' %} - {{ 'ActionScript' }} - {% when 'applescript' %} - {{ 'AppleScript' }} - {% when 'brightscript', 'bs', 'brs' %} - {{ 'BrightScript' }} - {% when 'cfscript', 'cfc' %} - {{ 'CFScript' }} - {% when 'coffeescript', 'coffee', 'coffee-script' %} - {{ 'CoffeeScript' }} - {% when 'cs', 'csharp' %} - {{ 'C#' }} - {% when 'erl' %} - {{ 'Erlang' }} - {% when 'graphql' %} - {{ 'GraphQL' }} - {% when 'haskell', 'hs' %} - {{ 'Haskell' }} - {% when 'javascript', 'js' %} - {{ 'JavaScript' }} - {% when 'make', 'mf', 'gnumake', 'bsdmake' %} - {{ 'Makefile' }} - {% when 'md', 'mkd' %} - {{ 'Markdown' }} - {% when 'm' %} - {{ 'Matlab' }} - {% when 'objective_c', 'objc', 'obj-c', 'obj_c', 'objectivec' %} - {{ 'Objective-C' }} - {% when 'perl', 'pl' %} - {{ 'Perl' }} - {% when 'php','php3','php4','php5' %} - {{ 'PHP' }} - {% when 'py' %} - {{ 'Python' }} - {% when 'rb' %} - {{ 'Ruby' }} - {% when 'rs','no_run','ignore','should_panic' %} - {{ 'Rust' }} - {% when 'bash', 'zsh', 'ksh', 'sh' %} - {{ 'Shell' }} - {% when 'st', 'squeak' %} - {{ 'Smalltalk' }} - {% when 'tex'%} - {{ 'TeX' }} - {% when 'latex' %} - {{ 'LaTex' }} - {% when 'ts', 'typescript' %} - {{ 'TypeScript' }} - {% when 'vb', 'visualbasic' %} - {{ 'Visual Basic' }} - {% when 'vue', 'vuejs' %} - {{ 'Vue.js' }} - {% when 'yml' %} - {{ 'YAML' }} - {% when 'css', 'html', 'scss', 'ssh', 'toml', 'xml', 'yaml', 'json' %} - {{ _lang | upcase }} - {% else %} - {{ _lang | capitalize }} -{% endcase %} diff --git a/_includes/media-url.html b/_includes/media-url.html deleted file mode 100644 index ea41075..0000000 --- a/_includes/media-url.html +++ /dev/null @@ -1,37 +0,0 @@ -{%- comment -%} - Generate media resource final URL based on `site.cdn`, `page.media_subpath` - - Arguments: - src - required, basic media resources path - subpath - optional, relative path of media resources - absolute - optional, boolean, if true, generate absolute URL - - Return: - media resources URL -{%- endcomment -%} - -{% assign url = include.src %} - -{%- if url -%} - {% unless url contains ':' %} - {%- comment -%} Add media resources subpath prefix {%- endcomment -%} - {% assign url = include.subpath | default: '' | append: '/' | append: url %} - - {%- comment -%} Prepend CND URL {%- endcomment -%} - {% if site.cdn %} - {% assign url = site.cdn | append: '/' | append: url %} - {% endif %} - - {% assign url = url | replace: '///', '/' | replace: '//', '/' | replace: ':/', '://' %} - - {% unless url contains '://' %} - {% if include.absolute %} - {% assign url = site.url | append: site.baseurl | append: url %} - {% else %} - {% assign url = site.baseurl | append: url %} - {% endif %} - {% endunless %} - {% endunless %} -{%- endif -%} - -{{- url -}} diff --git a/_includes/metadata-hook.html b/_includes/metadata-hook.html deleted file mode 100644 index fd7e9bd..0000000 --- a/_includes/metadata-hook.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/_includes/no-linenos.html b/_includes/no-linenos.html deleted file mode 100644 index 8500693..0000000 --- a/_includes/no-linenos.html +++ /dev/null @@ -1,10 +0,0 @@ -{% comment %} - Remove the line number of the code snippet. -{% endcomment %} - -{% assign content = include.content %} - -{% if content contains '
' %}
-  {% assign content = content | replace: '
', '' %}
-{% endif %}
diff --git a/_includes/notification.html b/_includes/notification.html
deleted file mode 100644
index 80049b0..0000000
--- a/_includes/notification.html
+++ /dev/null
@@ -1,24 +0,0 @@
-
diff --git a/_includes/origin-type.html b/_includes/origin-type.html
deleted file mode 100644
index 7f72012..0000000
--- a/_includes/origin-type.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{% comment %} Site static assets origin type {% endcomment %}
-
-{% assign type = 'cors' %}
-
-{% if site.assets.self_host.enabled %}
-  {% if site.assets.self_host.env %}
-    {% if site.assets.self_host.env == jekyll.environment %}
-      {% assign type = 'basic' %}
-    {% endif %}
-  {% else %}
-    {% assign type = 'basic' %}
-  {% endif %}
-{% endif %}
diff --git a/_includes/pageviews/goatcounter.html b/_includes/pageviews/goatcounter.html
deleted file mode 100644
index 265b224..0000000
--- a/_includes/pageviews/goatcounter.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
diff --git a/_includes/post-description.html b/_includes/post-description.html
deleted file mode 100644
index 6c40036..0000000
--- a/_includes/post-description.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{%- comment -%}
-  Get post description or generate it from the post content.
-{%- endcomment -%}
-
-{%- assign max_length = include.max_length | default: 200 -%}
-
-{%- capture description -%}
-{%- if post.description -%}
-  {{- post.description -}}
-{%- else -%}
-  {%- include no-linenos.html content=post.content -%}
-  {{- content | markdownify | strip_html -}}
-{%- endif -%}
-{%- endcapture -%}
-
-{{- description | strip | truncate: max_length | escape -}}
diff --git a/_includes/post-nav.html b/_includes/post-nav.html
deleted file mode 100644
index 736bec3..0000000
--- a/_includes/post-nav.html
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
diff --git a/_includes/post-paginator.html b/_includes/post-paginator.html
deleted file mode 100644
index c74e978..0000000
--- a/_includes/post-paginator.html
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
diff --git a/_includes/post-sharing.html b/_includes/post-sharing.html
deleted file mode 100644
index d894199..0000000
--- a/_includes/post-sharing.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
diff --git a/_includes/read-time.html b/_includes/read-time.html
deleted file mode 100644
index 9952410..0000000
--- a/_includes/read-time.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-{% assign words = include.content | strip_html | number_of_words: 'auto' %}
-
-
-
-{% assign wpm = 180 %}
-{% assign min_time = 1 %}
-
-{% assign read_time = words | divided_by: wpm %}
-
-{% unless read_time > 0 %}
-  {% assign read_time = min_time %}
-{% endunless %}
-
-{% capture read_prompt %}
-  {{- site.data.locales[include.lang].post.read_time.prompt -}}
-{% endcapture %}
-
-
-
-  
-    {{- read_time -}}
-    {{ ' ' }}
-    {{- site.data.locales[include.lang].post.read_time.unit -}}
-  
-  {%- if include.prompt -%}
-    {%- assign _prompt_words = read_prompt | number_of_words: 'auto' -%}
-    {%- unless _prompt_words > 1 -%}{{ ' ' }}{%- endunless -%}
-    {{ read_prompt }}
-  {%- endif -%}
-
diff --git a/_includes/refactor-content.html b/_includes/refactor-content.html
deleted file mode 100644
index 8d298cd..0000000
--- a/_includes/refactor-content.html
+++ /dev/null
@@ -1,255 +0,0 @@
-
-
-{% assign _content = include.content %}
-
-
-
-{% if _content contains '', ''
-    | replace: '
', '' - | replace: '
', '
' - %} -{% endif %} - - - -{% if _content contains '
' %}
-  {% assign _content = _content
-    | replace: '
', '' - %} -{% endif %} - - - -{% if _content contains '', - '' - | replace: '', - '' - %} -{% endif %} - - - -{% assign IMG_TAG = '' | first %} - {% assign _right = _img_snippet | remove: _left %} - - {% unless _left contains 'src=' %} - {% continue %} - {% endunless %} - - {% assign _left = _left | remove: ' /' | replace: ' w=', ' width=' | replace: ' h=', ' height=' %} - {% assign _attrs = _left | split: '" ' %} - - {% assign _src = null %} - {% assign _lqip = null %} - {% assign _class = null %} - - {% for _attr in _attrs %} - {% unless _attr contains '=' %} - {% continue %} - {% endunless %} - - {% assign _pair = _attr | split: '="' %} - {% capture _key %}{{ _pair | first }}{% endcapture %} - {% capture _value %}{{ _pair | last | remove: '"' }}{% endcapture %} - - {% case _key %} - {% when 'src' %} - {% assign _src = _value %} - {% when 'lqip' %} - {% assign _lqip = _value %} - {% when 'class' %} - {% assign _class = _value %} - {% endcase %} - {% endfor %} - - - {% if _class %} - {% capture _old_class %}class="{{ _class }}"{% endcapture %} - {% assign _left = _left | remove: _old_class %} - {% endif %} - - {% assign _final_src = null %} - {% assign _lazyload = true %} - - {%- capture _img_url -%} - {% include media-url.html src=_src subpath=page.media_subpath %} - {%- endcapture -%} - - {% assign _path_prefix = _img_url | remove: _src %} - - {% unless _src contains '//' %} - {% assign _final_src = _path_prefix | append: _src %} - {% assign _src_alt = 'src="' | append: _path_prefix %} - {% assign _left = _left | replace: 'src="', _src_alt %} - {% endunless %} - - {% if _lqip %} - {% assign _lazyload = false %} - {% assign _class = _class | append: ' blur' %} - - {% unless _lqip contains 'data:' %} - {% assign _lqip_alt = 'lqip="' | append: _path_prefix %} - {% assign _left = _left | replace: 'lqip="', _lqip_alt %} - {% endunless %} - - - {% assign _left = _left | replace: 'src=', 'data-src=' | replace: ' lqip=', ' data-lqip="true" src=' %} - - {% else %} - {% assign _class = _class | append: ' shimmer' %} - {% endif %} - - - {% if _lazyload %} - {% assign _left = _left | append: ' loading="lazy"' %} - {% endif %} - - {% if page.layout == 'home' %} - - {% assign _wrapper_start = '
' %} - - {% assign _img_content = _img_content | append: _wrapper_start %} - {% assign _right = _right | prepend: '>` is wrapped by `` --> - {% assign _parent = _right | slice: 1, 4 %} - - {% if _parent == '' %} - - {% assign _size = _img_content | size | minus: 1 %} - {% capture _class %} - class="img-link{% unless _lqip %} shimmer{% endunless %}" - {% endcapture %} - {% assign _img_content = _img_content | slice: 0, _size | append: _class | append: '>' %} - - {% else %} - - {% assign _wrapper_start = _final_src - | default: _src - | prepend: '' - %} - - {% assign _img_content = _img_content | append: _wrapper_start %} - {% assign _right = '> - {% assign _img_content = _img_content | append: IMG_TAG | append: _left | append: _right %} - {% endfor %} - - {% if _img_content %} - {% assign _content = _img_content %} - {% endif %} -{% endif %} - - - -{% if _content contains '
' %} - {% assign _code_spippets = _content | split: '
' %} - {% assign _new_content = '' %} - - {% for _snippet in _code_spippets %} - {% if forloop.last %} - {% assign _new_content = _new_content | append: _snippet %} - - {% else %} - {% assign _left = _snippet | split: '><' | last %} - - {% if _left contains 'file="' %} - {% assign _label_text = _left | split: 'file="' | last | split: '"' | first %} - {% assign _label_icon = 'far fa-file-code fa-fw' %} - {% else %} - {% assign _lang = _left | split: 'language-' | last | split: ' ' | first %} - {% capture _label_text %}{% include language-alias.html language=_lang %}{% endcapture %} - {% assign _label_icon = 'fas fa-code fa-fw small' %} - {% endif %} - - {% capture _label %} - - {% endcapture %} - - {% assign _new_content = _new_content - | append: _snippet - | append: '
' - | append: _label - | append: '
' - | append: '
' - %} - {% endif %} - {% endfor %} - - {% assign _content = _new_content %} -{% endif %} - - - -{% assign heading_levels = '2,3,4,5' | split: ',' %} -{% assign _heading_content = _content %} - -{% for level in heading_levels %} - {% assign mark_start = '' - %} - - {% assign left = snippet | split: mark_end | first %} - {% assign right = snippet | slice: left.size, snippet.size %} - {% assign left = left | replace_first: '">', '">' | append: '' %} - - {% assign _new_content = _new_content | append: mark_start | append: left | append: anchor | append: right %} - {% endfor %} - - {% assign _heading_content = _new_content %} - {% endif %} -{% endfor %} - -{% assign _content = _heading_content %} - - -{{ _content }} diff --git a/_includes/related-posts.html b/_includes/related-posts.html deleted file mode 100644 index 37a295b..0000000 --- a/_includes/related-posts.html +++ /dev/null @@ -1,94 +0,0 @@ - - - -{% assign TOTAL_SIZE = 3 %} - - -{% assign TAG_SCORE = 1 %} - - -{% assign CATEGORY_SCORE = 0.5 %} - -{% assign SEPARATOR = ':' %} - -{% assign match_posts = '' | split: '' %} - -{% for category in page.categories %} - {% assign match_posts = match_posts | push: site.categories[category] | uniq %} -{% endfor %} - -{% for tag in page.tags %} - {% assign match_posts = match_posts | push: site.tags[tag] | uniq %} -{% endfor %} - -{% assign match_posts = match_posts | reverse %} -{% assign last_index = match_posts.size | minus: 1 %} -{% assign score_list = '' | split: '' %} - -{% for i in (0..last_index) %} - {% assign post = match_posts[i] %} - - {% if post.url == page.url %} - {% continue %} - {% endif %} - - {% assign score = 0 %} - - {% for tag in post.tags %} - {% if page.tags contains tag %} - {% assign score = score | plus: TAG_SCORE %} - {% endif %} - {% endfor %} - - {% for category in post.categories %} - {% if page.categories contains category %} - {% assign score = score | plus: CATEGORY_SCORE %} - {% endif %} - {% endfor %} - - {% if score > 0 %} - {% capture score_item %}{{ score }}{{ SEPARATOR }}{{ i }}{% endcapture %} - {% assign score_list = score_list | push: score_item %} - {% endif %} -{% endfor %} - -{% assign index_list = '' | split: '' %} - -{% if score_list.size > 0 %} - {% assign score_list = score_list | sort | reverse %} - {% for entry in score_list limit: TOTAL_SIZE %} - {% assign index = entry | split: SEPARATOR | last %} - {% assign index_list = index_list | push: index %} - {% endfor %} -{% endif %} - -{% assign relate_posts = '' | split: '' %} - -{% for index in index_list %} - {% assign i = index | to_integer %} - {% assign relate_posts = relate_posts | push: match_posts[i] %} -{% endfor %} - -{% if relate_posts.size > 0 %} - - -{% endif %} diff --git a/_includes/search-loader.html b/_includes/search-loader.html deleted file mode 100644 index 7fd065d..0000000 --- a/_includes/search-loader.html +++ /dev/null @@ -1,49 +0,0 @@ - - -{% capture result_elem %} -
-
-

{title}

- -
-

{snippet}

-
-{% endcapture %} - -{% capture not_found %}

{{ site.data.locales[include.lang].search.no_results }}

{% endcapture %} - - diff --git a/_includes/search-results.html b/_includes/search-results.html deleted file mode 100644 index 00a3182..0000000 --- a/_includes/search-results.html +++ /dev/null @@ -1,10 +0,0 @@ - - -
-
-
- {% include_cached trending-tags.html %} -
-
-
-
diff --git a/_includes/sidebar.html b/_includes/sidebar.html deleted file mode 100644 index 569585f..0000000 --- a/_includes/sidebar.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - diff --git a/_includes/toc-status.html b/_includes/toc-status.html deleted file mode 100644 index 4b71cae..0000000 --- a/_includes/toc-status.html +++ /dev/null @@ -1,10 +0,0 @@ -{% comment %} - Determine TOC state and return it through variable "enable_toc" -{% endcomment %} - -{% assign enable_toc = false %} -{% if site.toc and page.toc %} - {% if page.content contains '
- -{% endif %} diff --git a/_includes/topbar.html b/_includes/topbar.html deleted file mode 100644 index fd68d1f..0000000 --- a/_includes/topbar.html +++ /dev/null @@ -1,77 +0,0 @@ - - -
-
- - - - - -
- {% if page.layout == 'home' %} - {{- site.data.locales[include.lang].title | default: site.title -}} - {% elsif page.collection == 'tabs' or page.layout == 'page' %} - {%- capture tab_key -%}{{ page.url | split: '/' }}{%- endcapture -%} - {{- site.data.locales[include.lang].tabs[tab_key] | default: page.title -}} - {% else %} - {{- site.data.locales[include.lang].layout[page.layout] | default: page.layout | capitalize -}} - {% endif %} -
- - - - - - - - -
-
diff --git a/_includes/trending-tags.html b/_includes/trending-tags.html deleted file mode 100644 index 57369f0..0000000 --- a/_includes/trending-tags.html +++ /dev/null @@ -1,46 +0,0 @@ - - -{% assign MAX = 10 %} - -{% assign size_list = '' | split: '' %} -{% assign tag_list = '' | split: '' %} - -{% for tag in site.tags %} - {% assign size = tag | last | size %} - {% assign size_list = size_list | push: size %} - - {% assign tag_str = tag | first | append: '::' | append: size %} - {% assign tag_list = tag_list | push: tag_str %} -{% endfor %} - -{% assign size_list = size_list | sort | reverse %} - -{% assign tag_list = tag_list | sort_natural %} - -{% assign trending_tags = '' | split: '' %} - -{% for size in size_list limit: MAX %} - {% for tag_str in tag_list %} - {% assign tag = tag_str | split: '::' %} - {% assign tag_name = tag | first %} - {% assign tag_size = tag | last | plus: 0 %} - {% if tag_size == size %} - {% unless trending_tags contains tag_name %} - {% assign trending_tags = trending_tags | push: tag_name %} - {% break %} - {% endunless %} - {% endif %} - {% endfor %} -{% endfor %} - -{% if trending_tags.size > 0 %} -
-

{{- site.data.locales[include.lang].panel.trending_tags -}}

-
- {% for tag_name in trending_tags %} - {% assign url = tag_name | slugify | url_encode | prepend: '/tags/' | append: '/' %} - - {% endfor %} -
-
-{% endif %} diff --git a/_includes/update-list.html b/_includes/update-list.html deleted file mode 100644 index 93684c3..0000000 --- a/_includes/update-list.html +++ /dev/null @@ -1,40 +0,0 @@ - - -{% assign MAX_SIZE = 5 %} - -{% assign all_list = '' | split: '' %} - -{% for post in site.posts %} - {% assign datetime = post.last_modified_at | default: post.date %} - - {% capture elem %} - {{- datetime | date: "%Y%m%d%H%M%S" -}}::{{- forloop.index0 -}} - {% endcapture %} - - {% assign all_list = all_list | push: elem %} -{% endfor %} - -{% assign all_list = all_list | sort | reverse %} - -{% assign update_list = '' | split: '' %} - -{% for entry in all_list limit: MAX_SIZE %} - {% assign update_list = update_list | push: entry %} -{% endfor %} - -{% if update_list.size > 0 %} -
-

{{- site.data.locales[include.lang].panel.lastmod -}}

-
    - {% for item in update_list %} - {% assign index = item | split: '::' | last | plus: 0 %} - {% assign post = site.posts[index] %} - {% assign url = post.url | relative_url %} -
  • - {{ post.title }} -
  • - {% endfor %} -
-
- -{% endif %} diff --git a/_javascript/categories.js b/_javascript/categories.js deleted file mode 100644 index ce87d67..0000000 --- a/_javascript/categories.js +++ /dev/null @@ -1,7 +0,0 @@ -import { basic, initSidebar, initTopbar } from './modules/layouts'; -import { categoryCollapse } from './modules/components'; - -basic(); -initSidebar(); -initTopbar(); -categoryCollapse(); diff --git a/_javascript/commons.js b/_javascript/commons.js deleted file mode 100644 index 6a17fb9..0000000 --- a/_javascript/commons.js +++ /dev/null @@ -1,5 +0,0 @@ -import { basic, initSidebar, initTopbar } from './modules/layouts'; - -initSidebar(); -initTopbar(); -basic(); diff --git a/_javascript/home.js b/_javascript/home.js deleted file mode 100644 index 7f628a1..0000000 --- a/_javascript/home.js +++ /dev/null @@ -1,8 +0,0 @@ -import { basic, initSidebar, initTopbar } from './modules/layouts'; -import { initLocaleDatetime, loadImg } from './modules/components'; - -loadImg(); -initLocaleDatetime(); -initSidebar(); -initTopbar(); -basic(); diff --git a/_javascript/misc.js b/_javascript/misc.js deleted file mode 100644 index 37130da..0000000 --- a/_javascript/misc.js +++ /dev/null @@ -1,7 +0,0 @@ -import { basic, initSidebar, initTopbar } from './modules/layouts'; -import { initLocaleDatetime } from './modules/components'; - -initSidebar(); -initTopbar(); -initLocaleDatetime(); -basic(); diff --git a/_javascript/modules/.DS_Store b/_javascript/modules/.DS_Store deleted file mode 100644 index ce67d2f..0000000 Binary files a/_javascript/modules/.DS_Store and /dev/null differ diff --git a/_javascript/modules/components.js b/_javascript/modules/components.js deleted file mode 100644 index 95791a6..0000000 --- a/_javascript/modules/components.js +++ /dev/null @@ -1,10 +0,0 @@ -export { categoryCollapse } from './components/category-collapse'; -export { initClipboard } from './components/clipboard'; -export { loadImg } from './components/img-loading'; -export { imgPopup } from './components/img-popup'; -export { initLocaleDatetime } from './components/locale-datetime'; -export { initToc } from './components/toc'; -export { loadMermaid } from './components/mermaid'; -export { modeWatcher } from './components/mode-toggle'; -export { back2top } from './components/back-to-top'; -export { loadTooptip } from './components/tooltip-loader'; diff --git a/_javascript/modules/components/back-to-top.js b/_javascript/modules/components/back-to-top.js deleted file mode 100644 index 40d9cd1..0000000 --- a/_javascript/modules/components/back-to-top.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Reference: https://bootsnipp.com/snippets/featured/link-to-top-page - */ - -export function back2top() { - const btn = document.getElementById('back-to-top'); - - window.addEventListener('scroll', () => { - if (window.scrollY > 50) { - btn.classList.add('show'); - } else { - btn.classList.remove('show'); - } - }); - - btn.addEventListener('click', () => { - window.scrollTo({ top: 0 }); - }); -} diff --git a/_javascript/modules/components/category-collapse.js b/_javascript/modules/components/category-collapse.js deleted file mode 100644 index 0c53cb4..0000000 --- a/_javascript/modules/components/category-collapse.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Tab 'Categories' expand/close effect. - */ - -import 'bootstrap/js/src/collapse.js'; - -const childPrefix = 'l_'; -const parentPrefix = 'h_'; -const children = document.getElementsByClassName('collapse'); - -export function categoryCollapse() { - [...children].forEach((elem) => { - const id = parentPrefix + elem.id.substring(childPrefix.length); - const parent = document.getElementById(id); - - // collapse sub-categories - elem.addEventListener('hide.bs.collapse', () => { - if (parent) { - parent.querySelector('.far.fa-folder-open').className = - 'far fa-folder fa-fw'; - parent.querySelector('.fas.fa-angle-down').classList.add('rotate'); - parent.classList.remove('hide-border-bottom'); - } - }); - - // expand sub-categories - elem.addEventListener('show.bs.collapse', () => { - if (parent) { - parent.querySelector('.far.fa-folder').className = - 'far fa-folder-open fa-fw'; - parent.querySelector('.fas.fa-angle-down').classList.remove('rotate'); - parent.classList.add('hide-border-bottom'); - } - }); - }); -} diff --git a/_javascript/modules/components/clipboard.js b/_javascript/modules/components/clipboard.js deleted file mode 100644 index 9566e9d..0000000 --- a/_javascript/modules/components/clipboard.js +++ /dev/null @@ -1,143 +0,0 @@ -/** - * Clipboard functions - * - * Dependencies: - * clipboard.js (https://github.com/zenorocha/clipboard.js) - */ - -import Tooltip from 'bootstrap/js/src/tooltip'; - -const clipboardSelector = '.code-header>button'; - -const ICON_DEFAULT = 'far fa-clipboard'; -const ICON_SUCCESS = 'fas fa-check'; - -const ATTR_TIMEOUT = 'timeout'; -const ATTR_TITLE_SUCCEED = 'data-title-succeed'; -const ATTR_TITLE_ORIGIN = 'data-bs-original-title'; -const TIMEOUT = 2000; // in milliseconds - -function isLocked(node) { - if (node.hasAttribute(ATTR_TIMEOUT)) { - let timeout = node.getAttribute(ATTR_TIMEOUT); - if (Number(timeout) > Date.now()) { - return true; - } - } - - return false; -} - -function lock(node) { - node.setAttribute(ATTR_TIMEOUT, Date.now() + TIMEOUT); -} - -function unlock(node) { - node.removeAttribute(ATTR_TIMEOUT); -} - -function showTooltip(btn) { - const succeedTitle = btn.getAttribute(ATTR_TITLE_SUCCEED); - btn.setAttribute(ATTR_TITLE_ORIGIN, succeedTitle); - Tooltip.getInstance(btn).show(); -} - -function hideTooltip(btn) { - Tooltip.getInstance(btn).hide(); - btn.removeAttribute(ATTR_TITLE_ORIGIN); -} - -function setSuccessIcon(btn) { - const icon = btn.children[0]; - icon.setAttribute('class', ICON_SUCCESS); -} - -function resumeIcon(btn) { - const icon = btn.children[0]; - icon.setAttribute('class', ICON_DEFAULT); -} - -function setCodeClipboard() { - const clipboardList = document.querySelectorAll(clipboardSelector); - - if (clipboardList.length === 0) { - return; - } - - // Initial the clipboard.js object - const clipboard = new ClipboardJS(clipboardSelector, { - target: (trigger) => { - const codeBlock = trigger.parentNode.nextElementSibling; - return codeBlock.querySelector('code .rouge-code'); - } - }); - - [...clipboardList].map( - (elem) => - new Tooltip(elem, { - placement: 'left' - }) - ); - - clipboard.on('success', (e) => { - const trigger = e.trigger; - - e.clearSelection(); - - if (isLocked(trigger)) { - return; - } - - setSuccessIcon(trigger); - showTooltip(trigger); - lock(trigger); - - setTimeout(() => { - hideTooltip(trigger); - resumeIcon(trigger); - unlock(trigger); - }, TIMEOUT); - }); -} - -function setLinkClipboard() { - const btnCopyLink = document.getElementById('copy-link'); - - if (btnCopyLink === null) { - return; - } - - btnCopyLink.addEventListener('click', (e) => { - const target = e.target; - - if (isLocked(target)) { - return; - } - - // Copy URL to clipboard - navigator.clipboard.writeText(window.location.href).then(() => { - const defaultTitle = target.getAttribute(ATTR_TITLE_ORIGIN); - const succeedTitle = target.getAttribute(ATTR_TITLE_SUCCEED); - - // Switch tooltip title - target.setAttribute(ATTR_TITLE_ORIGIN, succeedTitle); - Tooltip.getInstance(target).show(); - - lock(target); - - setTimeout(() => { - target.setAttribute(ATTR_TITLE_ORIGIN, defaultTitle); - unlock(target); - }, TIMEOUT); - }); - }); - - btnCopyLink.addEventListener('mouseleave', (e) => { - Tooltip.getInstance(e.target).hide(); - }); -} - -export function initClipboard() { - setCodeClipboard(); - setLinkClipboard(); -} diff --git a/_javascript/modules/components/img-loading.js b/_javascript/modules/components/img-loading.js deleted file mode 100644 index 989d9e6..0000000 --- a/_javascript/modules/components/img-loading.js +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Setting up image lazy loading and LQIP switching - */ - -const ATTR_DATA_SRC = 'data-src'; -const ATTR_DATA_LQIP = 'data-lqip'; - -const cover = { - SHIMMER: 'shimmer', - BLUR: 'blur' -}; - -function removeCover(clzss) { - this.parentElement.classList.remove(clzss); -} - -function handleImage() { - if (!this.complete) { - return; - } - - if (this.hasAttribute(ATTR_DATA_LQIP)) { - removeCover.call(this, cover.BLUR); - } else { - removeCover.call(this, cover.SHIMMER); - } -} - -/** - * Switches the LQIP with the real image URL. - */ -function switchLQIP() { - const src = this.getAttribute(ATTR_DATA_SRC); - this.setAttribute('src', encodeURI(src)); - this.removeAttribute(ATTR_DATA_SRC); -} - -export function loadImg() { - const images = document.querySelectorAll('article img'); - - if (images.length === 0) { - return; - } - - images.forEach((img) => { - img.addEventListener('load', handleImage); - }); - - // Images loaded from the browser cache do not trigger the 'load' event - document.querySelectorAll('article img[loading="lazy"]').forEach((img) => { - if (img.complete) { - removeCover.call(img, cover.SHIMMER); - } - }); - - // LQIPs set by the data URI or WebP will not trigger the 'load' event, - // so manually convert the URI to the URL of a high-resolution image. - const lqips = document.querySelectorAll( - `article img[${ATTR_DATA_LQIP}="true"]` - ); - - if (lqips.length) { - lqips.forEach((lqip) => { - switchLQIP.call(lqip); - }); - } -} diff --git a/_javascript/modules/components/img-popup.js b/_javascript/modules/components/img-popup.js deleted file mode 100644 index 420a226..0000000 --- a/_javascript/modules/components/img-popup.js +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Set up image popup - * - * Dependencies: https://github.com/biati-digital/glightbox - */ - -const lightImages = '.popup:not(.dark)'; -const darkImages = '.popup:not(.light)'; -let selector = lightImages; - -function updateImages(current, reverse) { - if (selector === lightImages) { - selector = darkImages; - } else { - selector = lightImages; - } - - if (reverse === null) { - reverse = GLightbox({ selector: `${selector}` }); - } - - [current, reverse] = [reverse, current]; -} - -export function imgPopup() { - if (document.querySelector('.popup') === null) { - return; - } - - const hasDualImages = !( - document.querySelector('.popup.light') === null && - document.querySelector('.popup.dark') === null - ); - - if (Theme.visualState === Theme.DARK) { - selector = darkImages; - } - - let current = GLightbox({ selector: `${selector}` }); - - if (hasDualImages && Theme.switchable) { - let reverse = null; - - window.addEventListener('message', (event) => { - if (event.source === window && event.data && event.data.id === Theme.ID) { - updateImages(current, reverse); - } - }); - } -} diff --git a/_javascript/modules/components/locale-datetime.js b/_javascript/modules/components/locale-datetime.js deleted file mode 100644 index eb75626..0000000 --- a/_javascript/modules/components/locale-datetime.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Update month/day to locale datetime - * - * Requirement: - */ - -/* A tool for locale datetime */ -class LocaleHelper { - static get attrTimestamp() { - return 'data-ts'; - } - - static get attrDateFormat() { - return 'data-df'; - } - - static get locale() { - return document.documentElement.getAttribute('lang').substring(0, 2); - } - - static getTimestamp(elem) { - return Number(elem.getAttribute(this.attrTimestamp)); // unix timestamp - } - - static getDateFormat(elem) { - return elem.getAttribute(this.attrDateFormat); - } -} - -export function initLocaleDatetime() { - dayjs.locale(LocaleHelper.locale); - dayjs.extend(window.dayjs_plugin_localizedFormat); - - document - .querySelectorAll(`[${LocaleHelper.attrTimestamp}]`) - .forEach((elem) => { - const date = dayjs.unix(LocaleHelper.getTimestamp(elem)); - const text = date.format(LocaleHelper.getDateFormat(elem)); - elem.textContent = text; - elem.removeAttribute(LocaleHelper.attrTimestamp); - elem.removeAttribute(LocaleHelper.attrDateFormat); - - // setup tooltips - if ( - elem.hasAttribute('data-bs-toggle') && - elem.getAttribute('data-bs-toggle') === 'tooltip' - ) { - // see: https://day.js.org/docs/en/display/format#list-of-localized-formats - const tooltipText = date.format('llll'); - elem.setAttribute('data-bs-title', tooltipText); - } - }); -} diff --git a/_javascript/modules/components/mermaid.js b/_javascript/modules/components/mermaid.js deleted file mode 100644 index 91df4f2..0000000 --- a/_javascript/modules/components/mermaid.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Mermaid-js loader - */ - -const MERMAID = 'mermaid'; -const themeMapper = Theme.getThemeMapper('default', 'dark'); - -function refreshTheme(event) { - if (event.source === window && event.data && event.data.id === Theme.ID) { - // Re-render the SVG › - const mermaidList = document.getElementsByClassName(MERMAID); - - [...mermaidList].forEach((elem) => { - const svgCode = elem.previousSibling.children.item(0).textContent; - elem.textContent = svgCode; - elem.removeAttribute('data-processed'); - }); - - const newTheme = themeMapper[Theme.visualState]; - - mermaid.initialize({ theme: newTheme }); - mermaid.init(null, `.${MERMAID}`); - } -} - -function setNode(elem) { - const svgCode = elem.textContent; - const backup = elem.parentElement; - backup.classList.add('d-none'); - // Create mermaid node - const mermaid = document.createElement('pre'); - mermaid.classList.add(MERMAID); - const text = document.createTextNode(svgCode); - mermaid.appendChild(text); - backup.after(mermaid); -} - -export function loadMermaid() { - if ( - typeof mermaid === 'undefined' || - typeof mermaid.initialize !== 'function' - ) { - return; - } - - const initTheme = themeMapper[Theme.visualState]; - - let mermaidConf = { - theme: initTheme - }; - - const basicList = document.getElementsByClassName('language-mermaid'); - [...basicList].forEach(setNode); - - mermaid.initialize(mermaidConf); - - if (Theme.switchable) { - window.addEventListener('message', refreshTheme); - } -} diff --git a/_javascript/modules/components/mode-toggle.js b/_javascript/modules/components/mode-toggle.js deleted file mode 100644 index 455ff0a..0000000 --- a/_javascript/modules/components/mode-toggle.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Add listener for theme mode toggle - */ - -const $toggle = document.getElementById('mode-toggle'); - -export function modeWatcher() { - if (!$toggle) { - return; - } - - $toggle.addEventListener('click', () => { - Theme.flip(); - }); -} diff --git a/_javascript/modules/components/search-display.js b/_javascript/modules/components/search-display.js deleted file mode 100644 index 40059ac..0000000 --- a/_javascript/modules/components/search-display.js +++ /dev/null @@ -1,110 +0,0 @@ -/** - * This script make #search-result-wrapper switch to unload or shown automatically. - */ - -const btnSbTrigger = document.getElementById('sidebar-trigger'); -const btnSearchTrigger = document.getElementById('search-trigger'); -const btnCancel = document.getElementById('search-cancel'); -const content = document.querySelectorAll('#main-wrapper>.container>.row'); -const topbarTitle = document.getElementById('topbar-title'); -const search = document.getElementById('search'); -const resultWrapper = document.getElementById('search-result-wrapper'); -const results = document.getElementById('search-results'); -const input = document.getElementById('search-input'); -const hints = document.getElementById('search-hints'); - -// CSS class names -const LOADED = 'd-block'; -const UNLOADED = 'd-none'; -const FOCUS = 'input-focus'; -const FLEX = 'd-flex'; - -/* Actions in mobile screens (Sidebar hidden) */ -class MobileSearchBar { - static on() { - btnSbTrigger.classList.add(UNLOADED); - topbarTitle.classList.add(UNLOADED); - btnSearchTrigger.classList.add(UNLOADED); - search.classList.add(FLEX); - btnCancel.classList.add(LOADED); - } - - static off() { - btnCancel.classList.remove(LOADED); - search.classList.remove(FLEX); - btnSbTrigger.classList.remove(UNLOADED); - topbarTitle.classList.remove(UNLOADED); - btnSearchTrigger.classList.remove(UNLOADED); - } -} - -class ResultSwitch { - static resultVisible = false; - - static on() { - if (!this.resultVisible) { - resultWrapper.classList.remove(UNLOADED); - content.forEach((el) => { - el.classList.add(UNLOADED); - }); - this.resultVisible = true; - } - } - - static off() { - if (this.resultVisible) { - results.innerHTML = ''; - - if (hints.classList.contains(UNLOADED)) { - hints.classList.remove(UNLOADED); - } - - resultWrapper.classList.add(UNLOADED); - content.forEach((el) => { - el.classList.remove(UNLOADED); - }); - input.textContent = ''; - this.resultVisible = false; - } - } -} - -function isMobileView() { - return btnCancel.classList.contains(LOADED); -} - -export function displaySearch() { - btnSearchTrigger.addEventListener('click', () => { - MobileSearchBar.on(); - ResultSwitch.on(); - input.focus(); - }); - - btnCancel.addEventListener('click', () => { - MobileSearchBar.off(); - ResultSwitch.off(); - }); - - input.addEventListener('focus', () => { - search.classList.add(FOCUS); - }); - - input.addEventListener('focusout', () => { - search.classList.remove(FOCUS); - }); - - input.addEventListener('input', () => { - if (input.value === '') { - if (isMobileView()) { - hints.classList.remove(UNLOADED); - } else { - ResultSwitch.off(); - } - } else { - ResultSwitch.on(); - if (isMobileView()) { - hints.classList.add(UNLOADED); - } - } - }); -} diff --git a/_javascript/modules/components/toc.js b/_javascript/modules/components/toc.js deleted file mode 100644 index dec814f..0000000 --- a/_javascript/modules/components/toc.js +++ /dev/null @@ -1,36 +0,0 @@ -import { TocMobile as mobile } from './toc/toc-mobile'; -import { TocDesktop as desktop } from './toc/toc-desktop'; - -const desktopMode = matchMedia('(min-width: 1200px)'); - -function refresh(e) { - if (e.matches) { - if (mobile.popupOpened) { - mobile.hidePopup(); - } - - desktop.refresh(); - } else { - mobile.refresh(); - } -} - -function init() { - if (document.querySelector('main>article[data-toc="true"]') === null) { - return; - } - - // Avoid create multiple instances of Tocbot. Ref: - if (desktopMode.matches) { - desktop.init(); - } else { - mobile.init(); - } - - const $tocWrapper = document.getElementById('toc-wrapper'); - $tocWrapper.classList.remove('invisible'); - - desktopMode.onchange = refresh; -} - -export { init as initToc }; diff --git a/_javascript/modules/components/toc/toc-desktop.js b/_javascript/modules/components/toc/toc-desktop.js deleted file mode 100644 index ea4986b..0000000 --- a/_javascript/modules/components/toc/toc-desktop.js +++ /dev/null @@ -1,20 +0,0 @@ -export class TocDesktop { - /* Tocbot options Ref: https://github.com/tscanlin/tocbot#usage */ - static options = { - tocSelector: '#toc', - contentSelector: '.content', - ignoreSelector: '[data-toc-skip]', - headingSelector: 'h2, h3, h4', - orderedList: false, - scrollSmooth: false, - headingsOffset: 16 * 2 // 2rem - }; - - static refresh() { - tocbot.refresh(this.options); - } - - static init() { - tocbot.init(this.options); - } -} diff --git a/_javascript/modules/components/toc/toc-mobile.js b/_javascript/modules/components/toc/toc-mobile.js deleted file mode 100644 index 20e24a7..0000000 --- a/_javascript/modules/components/toc/toc-mobile.js +++ /dev/null @@ -1,125 +0,0 @@ -/** - * TOC button, topbar and popup for mobile devices - */ - -const $tocBar = document.getElementById('toc-bar'); -const $soloTrigger = document.getElementById('toc-solo-trigger'); -const $triggers = document.getElementsByClassName('toc-trigger'); -const $popup = document.getElementById('toc-popup'); -const $btnClose = document.getElementById('toc-popup-close'); - -const SCROLL_LOCK = 'overflow-hidden'; -const CLOSING = 'closing'; - -export class TocMobile { - static #invisible = true; - static #barHeight = 16 * 3; // 3rem - - static options = { - tocSelector: '#toc-popup-content', - contentSelector: '.content', - ignoreSelector: '[data-toc-skip]', - headingSelector: 'h2, h3, h4', - orderedList: false, - scrollSmooth: false, - collapseDepth: 4, - headingsOffset: this.#barHeight - }; - - static initBar() { - const observer = new IntersectionObserver( - (entries) => { - entries.forEach((entry) => { - $tocBar.classList.toggle('invisible', entry.isIntersecting); - }); - }, - { rootMargin: `-${this.#barHeight}px 0px 0px 0px` } - ); - - observer.observe($soloTrigger); - this.#invisible = false; - } - - static listenAnchors() { - const $anchors = document.getElementsByClassName('toc-link'); - [...$anchors].forEach((anchor) => { - anchor.onclick = () => this.hidePopup(); - }); - } - - static refresh() { - if (this.#invisible) { - this.initComponents(); - } - tocbot.refresh(this.options); - this.listenAnchors(); - } - - static get popupOpened() { - return $popup.open; - } - - static showPopup() { - this.lockScroll(true); - $popup.showModal(); - const activeItem = $popup.querySelector('li.is-active-li'); - activeItem.scrollIntoView({ block: 'center' }); - } - - static hidePopup() { - $popup.toggleAttribute(CLOSING); - - $popup.addEventListener( - 'animationend', - () => { - $popup.toggleAttribute(CLOSING); - $popup.close(); - }, - { once: true } - ); - - this.lockScroll(false); - } - - static lockScroll(enable) { - document.documentElement.classList.toggle(SCROLL_LOCK, enable); - document.body.classList.toggle(SCROLL_LOCK, enable); - } - - static clickBackdrop(event) { - if ($popup.hasAttribute(CLOSING)) { - return; - } - - const rect = event.target.getBoundingClientRect(); - if ( - event.clientX < rect.left || - event.clientX > rect.right || - event.clientY < rect.top || - event.clientY > rect.bottom - ) { - this.hidePopup(); - } - } - - static initComponents() { - this.initBar(); - - [...$triggers].forEach((trigger) => { - trigger.onclick = () => this.showPopup(); - }); - - $popup.onclick = (e) => this.clickBackdrop(e); - $btnClose.onclick = () => this.hidePopup(); - $popup.oncancel = (e) => { - e.preventDefault(); - this.hidePopup(); - }; - } - - static init() { - tocbot.init(this.options); - this.listenAnchors(); - this.initComponents(); - } -} diff --git a/_javascript/modules/components/tooltip-loader.js b/_javascript/modules/components/tooltip-loader.js deleted file mode 100644 index c36c879..0000000 --- a/_javascript/modules/components/tooltip-loader.js +++ /dev/null @@ -1,11 +0,0 @@ -import Tooltip from 'bootstrap/js/src/tooltip'; - -export function loadTooptip() { - const tooltipTriggerList = document.querySelectorAll( - '[data-bs-toggle="tooltip"]' - ); - - [...tooltipTriggerList].map( - (tooltipTriggerEl) => new Tooltip(tooltipTriggerEl) - ); -} diff --git a/_javascript/modules/layouts.js b/_javascript/modules/layouts.js deleted file mode 100644 index 28f7962..0000000 --- a/_javascript/modules/layouts.js +++ /dev/null @@ -1,3 +0,0 @@ -export { basic } from './layouts/basic'; -export { initSidebar } from './layouts/sidebar'; -export { initTopbar } from './layouts/topbar'; diff --git a/_javascript/modules/layouts/basic.js b/_javascript/modules/layouts/basic.js deleted file mode 100644 index b8eddf6..0000000 --- a/_javascript/modules/layouts/basic.js +++ /dev/null @@ -1,7 +0,0 @@ -import { back2top, loadTooptip, modeWatcher } from '../components'; - -export function basic() { - modeWatcher(); - back2top(); - loadTooptip(); -} diff --git a/_javascript/modules/layouts/sidebar.js b/_javascript/modules/layouts/sidebar.js deleted file mode 100644 index bbf5e7d..0000000 --- a/_javascript/modules/layouts/sidebar.js +++ /dev/null @@ -1,19 +0,0 @@ -const ATTR_DISPLAY = 'sidebar-display'; -const $sidebar = document.getElementById('sidebar'); -const $trigger = document.getElementById('sidebar-trigger'); -const $mask = document.getElementById('mask'); - -class SidebarUtil { - static #isExpanded = false; - - static toggle() { - this.#isExpanded = !this.#isExpanded; - document.body.toggleAttribute(ATTR_DISPLAY, this.#isExpanded); - $sidebar.classList.toggle('z-2', this.#isExpanded); - $mask.classList.toggle('d-none', !this.#isExpanded); - } -} - -export function initSidebar() { - $trigger.onclick = $mask.onclick = () => SidebarUtil.toggle(); -} diff --git a/_javascript/modules/layouts/topbar.js b/_javascript/modules/layouts/topbar.js deleted file mode 100644 index cfcd0ed..0000000 --- a/_javascript/modules/layouts/topbar.js +++ /dev/null @@ -1,5 +0,0 @@ -import { displaySearch } from '../components/search-display'; - -export function initTopbar() { - displaySearch(); -} diff --git a/_javascript/modules/theme.js b/_javascript/modules/theme.js deleted file mode 100644 index f9ebf20..0000000 --- a/_javascript/modules/theme.js +++ /dev/null @@ -1,135 +0,0 @@ -/** - * Theme management class - * - * To reduce flickering during page load, this script should be loaded synchronously. - */ -class Theme { - static #modeKey = 'mode'; - static #modeAttr = 'data-mode'; - static #darkMedia = window.matchMedia('(prefers-color-scheme: dark)'); - static switchable = !document.documentElement.hasAttribute(this.#modeAttr); - - static get DARK() { - return 'dark'; - } - - static get LIGHT() { - return 'light'; - } - - /** - * @returns {string} Theme mode identifier - */ - static get ID() { - return 'theme-mode'; - } - - /** - * Gets the current visual state of the theme. - * - * @returns {string} The current visual state, either the mode if it exists, - * or the system dark mode state ('dark' or 'light'). - */ - static get visualState() { - if (this.#hasMode) { - return this.#mode; - } else { - return this.#sysDark ? this.DARK : this.LIGHT; - } - } - - static get #mode() { - return sessionStorage.getItem(this.#modeKey); - } - - static get #isDarkMode() { - return this.#mode === this.DARK; - } - - static get #hasMode() { - return this.#mode !== null; - } - - static get #sysDark() { - return this.#darkMedia.matches; - } - - /** - * Maps theme modes to provided values - * @param {string} light Value for light mode - * @param {string} dark Value for dark mode - * @returns {Object} Mapped values - */ - static getThemeMapper(light, dark) { - return { - [this.LIGHT]: light, - [this.DARK]: dark - }; - } - - /** - * Initializes the theme based on system preferences or stored mode - */ - static init() { - if (!this.switchable) { - return; - } - - this.#darkMedia.addEventListener('change', () => { - const lastMode = this.#mode; - this.#clearMode(); - - if (lastMode !== this.visualState) { - this.#notify(); - } - }); - - if (!this.#hasMode) { - return; - } - - if (this.#isDarkMode) { - this.#setDark(); - } else { - this.#setLight(); - } - } - - /** - * Flips the current theme mode - */ - static flip() { - if (this.#hasMode) { - this.#clearMode(); - } else { - this.#sysDark ? this.#setLight() : this.#setDark(); - } - this.#notify(); - } - - static #setDark() { - document.documentElement.setAttribute(this.#modeAttr, this.DARK); - sessionStorage.setItem(this.#modeKey, this.DARK); - } - - static #setLight() { - document.documentElement.setAttribute(this.#modeAttr, this.LIGHT); - sessionStorage.setItem(this.#modeKey, this.LIGHT); - } - - static #clearMode() { - document.documentElement.removeAttribute(this.#modeAttr); - sessionStorage.removeItem(this.#modeKey); - } - - /** - * Notifies other plugins that the theme mode has changed - */ - static #notify() { - window.postMessage({ id: this.ID }, '*'); - } -} - -Theme.init(); - -export default Theme; diff --git a/_javascript/page.js b/_javascript/page.js deleted file mode 100644 index 4b03b79..0000000 --- a/_javascript/page.js +++ /dev/null @@ -1,15 +0,0 @@ -import { basic, initSidebar, initTopbar } from './modules/layouts'; -import { - loadImg, - imgPopup, - initClipboard, - loadMermaid -} from './modules/components'; - -loadImg(); -imgPopup(); -initSidebar(); -initTopbar(); -initClipboard(); -loadMermaid(); -basic(); diff --git a/_javascript/post.js b/_javascript/post.js deleted file mode 100644 index dc472b4..0000000 --- a/_javascript/post.js +++ /dev/null @@ -1,20 +0,0 @@ -import { basic, initTopbar, initSidebar } from './modules/layouts'; - -import { - loadImg, - imgPopup, - initLocaleDatetime, - initClipboard, - initToc, - loadMermaid -} from './modules/components'; - -loadImg(); -initToc(); -imgPopup(); -initSidebar(); -initLocaleDatetime(); -initClipboard(); -initTopbar(); -loadMermaid(); -basic(); diff --git a/_javascript/pwa/app.js b/_javascript/pwa/app.js deleted file mode 100644 index 3c0ded2..0000000 --- a/_javascript/pwa/app.js +++ /dev/null @@ -1,55 +0,0 @@ -import Toast from 'bootstrap/js/src/toast'; - -if ('serviceWorker' in navigator) { - // Get Jekyll config from URL parameters - const src = new URL(document.currentScript.src); - const register = src.searchParams.get('register'); - const baseUrl = src.searchParams.get('baseurl'); - - if (register) { - const swUrl = `${baseUrl}/sw.min.js`; - const notification = document.getElementById('notification'); - const btnRefresh = notification.querySelector('.toast-body>button'); - const popupWindow = Toast.getOrCreateInstance(notification); - - navigator.serviceWorker.register(swUrl).then((registration) => { - // Restore the update window that was last manually closed by the user - if (registration.waiting) { - popupWindow.show(); - } - - registration.addEventListener('updatefound', () => { - registration.installing.addEventListener('statechange', () => { - if (registration.waiting) { - if (navigator.serviceWorker.controller) { - popupWindow.show(); - } - } - }); - }); - - btnRefresh.addEventListener('click', () => { - if (registration.waiting) { - registration.waiting.postMessage('SKIP_WAITING'); - } - popupWindow.hide(); - }); - }); - - let refreshing = false; - - // Detect controller change and refresh all the opened tabs - navigator.serviceWorker.addEventListener('controllerchange', () => { - if (!refreshing) { - window.location.reload(); - refreshing = true; - } - }); - } else { - navigator.serviceWorker.getRegistrations().then(function (registrations) { - for (let registration of registrations) { - registration.unregister(); - } - }); - } -} diff --git a/_javascript/pwa/sw.js b/_javascript/pwa/sw.js deleted file mode 100644 index ff9125d..0000000 --- a/_javascript/pwa/sw.js +++ /dev/null @@ -1,92 +0,0 @@ -importScripts('./assets/js/data/swconf.js'); - -const purge = swconf.purge; -const interceptor = swconf.interceptor; - -function verifyUrl(url) { - const requestUrl = new URL(url); - const requestPath = requestUrl.pathname; - - if (!requestUrl.protocol.startsWith('http')) { - return false; - } - - for (const prefix of interceptor.urlPrefixes) { - if (requestUrl.href.startsWith(prefix)) { - return false; - } - } - - for (const path of interceptor.paths) { - if (requestPath.startsWith(path)) { - return false; - } - } - return true; -} - -self.addEventListener('install', (event) => { - if (purge) { - return; - } - - event.waitUntil( - caches.open(swconf.cacheName).then((cache) => { - return cache.addAll(swconf.resources); - }) - ); -}); - -self.addEventListener('activate', (event) => { - event.waitUntil( - caches.keys().then((keyList) => { - return Promise.all( - keyList.map((key) => { - if (purge) { - return caches.delete(key); - } else { - if (key !== swconf.cacheName) { - return caches.delete(key); - } - } - }) - ); - }) - ); -}); - -self.addEventListener('message', (event) => { - if (event.data === 'SKIP_WAITING') { - self.skipWaiting(); - } -}); - -self.addEventListener('fetch', (event) => { - if (event.request.headers.has('range')) { - return; - } - - event.respondWith( - caches.match(event.request).then((response) => { - if (response) { - return response; - } - - return fetch(event.request).then((response) => { - const url = event.request.url; - - if (purge || event.request.method !== 'GET' || !verifyUrl(url)) { - return response; - } - - // See: - let responseToCache = response.clone(); - - caches.open(swconf.cacheName).then((cache) => { - cache.put(event.request, responseToCache); - }); - return response; - }); - }) - ); -}); diff --git a/_layouts/archives.html b/_layouts/archives.html deleted file mode 100644 index 4f7ad7d..0000000 --- a/_layouts/archives.html +++ /dev/null @@ -1,35 +0,0 @@ ---- -layout: page -# The Archives of posts. ---- - -{% include lang.html %} - -{% assign df_strftime_m = site.data.locales[lang].df.archives.strftime | default: '/ %m' %} -{% assign df_dayjs_m = site.data.locales[lang].df.archives.dayjs | default: '/ MM' %} - -
- {% for post in site.posts %} - {% assign cur_year = post.date | date: '%Y' %} - - {% if cur_year != last_year %} - {% unless forloop.first %}{% endunless %} - - - {{ '
    ' }} - - {% assign last_year = cur_year %} - {% endif %} - -
  • - {% assign ts = post.date | date: '%s' %} - {{ post.date | date: '%d' }} - - {{ post.date | date: df_strftime_m }} - - {{ post.title }} -
  • - - {% if forloop.last %}
{% endif %} - {% endfor %} -
diff --git a/_layouts/categories.html b/_layouts/categories.html deleted file mode 100644 index 0515097..0000000 --- a/_layouts/categories.html +++ /dev/null @@ -1,138 +0,0 @@ ---- -layout: page -# All the Categories of posts ---- - -{% include lang.html %} - -{% assign HEAD_PREFIX = 'h_' %} -{% assign LIST_PREFIX = 'l_' %} - -{% assign group_index = 0 %} - -{% assign sort_categories = site.categories | sort %} - -{% for category in sort_categories %} - {% assign category_name = category | first %} - {% assign posts_of_category = category | last %} - {% assign first_post = posts_of_category | first %} - - {% if category_name == first_post.categories[0] %} - {% assign sub_categories = '' | split: '' %} - - {% for post in posts_of_category %} - {% assign second_category = post.categories[1] %} - {% if second_category %} - {% unless sub_categories contains second_category %} - {% assign sub_categories = sub_categories | push: second_category %} - {% endunless %} - {% endif %} - {% endfor %} - - {% assign sub_categories = sub_categories | sort %} - {% assign sub_categories_size = sub_categories | size %} - -
- -
- - - - {% capture _category_url %}/categories/{{ category_name | slugify | url_encode }}/{% endcapture %} - {{ category_name }} - - - {% assign top_posts_size = site.categories[category_name] | size %} - - {% if sub_categories_size > 0 %} - {{ sub_categories_size }} - {% if sub_categories_size > 1 %} - {{ - site.data.locales[lang].categories.category_measure.plural - | default: site.data.locales[lang].categories.category_measure - }} - {% else %} - {{ - site.data.locales[lang].categories.category_measure.singular - | default: site.data.locales[lang].categories.category_measure - }} - {% endif -%} - , - {% endif %} - - {{ top_posts_size }} - - {% if top_posts_size > 1 %} - {{ - site.data.locales[lang].categories.post_measure.plural - | default: site.data.locales[lang].categories.post_measure - }} - {% else %} - {{ - site.data.locales[lang].categories.post_measure.singular - | default: site.data.locales[lang].categories.post_measure - }} - {% endif %} - - - - - {% if sub_categories_size > 0 %} - - - - {% else %} - - - - {% endif %} -
- - - - {% if sub_categories_size > 0 %} -
-
    - {% for sub_category in sub_categories %} -
  • - - - {% capture _sub_ctg_url %}/categories/{{ sub_category | slugify | url_encode }}/{% endcapture %} - {{ sub_category }} - - {% assign posts_size = site.categories[sub_category] | size %} - - {{ posts_size }} - - {% if posts_size > 1 %} - {{ - site.data.locales[lang].categories.post_measure.plural - | default: site.data.locales[lang].categories.post_measure - }} - {% else %} - {{ - site.data.locales[lang].categories.post_measure.singular - | default: site.data.locales[lang].categories.post_measure - }} - {% endif %} - -
  • - {% endfor %} -
-
- {% endif %} -
- - - {% assign group_index = group_index | plus: 1 %} - {% endif %} -{% endfor %} diff --git a/_layouts/category.html b/_layouts/category.html deleted file mode 100644 index b064f27..0000000 --- a/_layouts/category.html +++ /dev/null @@ -1,24 +0,0 @@ ---- -layout: page -# The Category layout ---- - -{% include lang.html %} - -
-

- - {{ page.title }} - {{ page.posts | size }} -

- -
    - {% for post in page.posts %} -
  • - {{ post.title }} - - {% include datetime.html date=post.date class='text-muted small text-nowrap' lang=lang %} -
  • - {% endfor %} -
-
diff --git a/_layouts/compress.html b/_layouts/compress.html deleted file mode 100644 index 2779e92..0000000 --- a/_layouts/compress.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -# Jekyll layout that compresses HTML -# v3.2.0 -# http://jch.penibelst.de/ -# © 2014–2015 Anatol Broder -# MIT License ---- - -{% capture _LINE_FEED %} -{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" or page.compress_html == false %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "
" %}{% endif %}{% unless _pre_before contains "
" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " ;; ;" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %}
Step Bytes
raw {{ content | size }}{% if _profile_endings %}
endings {{ _profile_endings }}{% endif %}{% if _profile_startings %}
startings {{ _profile_startings }}{% endif %}{% if _profile_comments %}
comments {{ _profile_comments }}{% endif %}{% if _profile_collapse %}
collapse {{ _profile_collapse }}{% endif %}{% if _profile_clippings %}
clippings {{ _profile_clippings }}{% endif %}
{% endif %}{% endif %} diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index a55bfef..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,86 +0,0 @@ ---- -layout: compress ---- - - - -{% include origin-type.html %} - -{% include lang.html %} - -{% if site.theme_mode %} - {% capture prefer_mode %}data-mode="{{ site.theme_mode }}"{% endcapture %} -{% endif %} - - - - {% include head.html %} - - - {% include sidebar.html lang=lang %} - -
-
- {% include topbar.html lang=lang %} - -
-
- {% if layout.refactor or layout.layout == 'default' %} - {% include refactor-content.html content=content lang=lang %} - {% else %} - {{ content }} - {% endif %} -
- - - -
- -
- -
- {% for _include in layout.tail_includes %} - {% assign _include_path = _include | append: '.html' %} - {% include {{ _include_path }} lang=lang %} - {% endfor %} - - {% include_cached footer.html lang=lang %} -
-
- - {% include_cached search-results.html lang=lang %} -
- - -
- -
- - {% if site.pwa.enabled %} - {% include_cached notification.html lang=lang %} - {% endif %} - - - - {% for _include in layout.script_includes %} - {% assign _include_path = _include | append: '.html' %} - {% include {{ _include_path }} %} - {% endfor %} - - {% include_cached search-loader.html lang=lang %} - - diff --git a/_layouts/home.html b/_layouts/home.html deleted file mode 100644 index 451e391..0000000 --- a/_layouts/home.html +++ /dev/null @@ -1,122 +0,0 @@ ---- -layout: default -refactor: true ---- - -{% include lang.html %} - -{% assign all_pinned = site.posts | where: 'pin', 'true' %} -{% assign all_normal = site.posts | where_exp: 'item', 'item.pin != true and item.hidden != true' %} - -{% assign posts = '' | split: '' %} - - - -{% assign visible_start = paginator.page | minus: 1 | times: paginator.per_page %} -{% assign visible_end = visible_start | plus: paginator.per_page %} - -{% if all_pinned.size > visible_start %} - {% if all_pinned.size > visible_end %} - {% assign pinned_size = paginator.per_page %} - {% else %} - {% assign pinned_size = all_pinned.size | minus: visible_start %} - {% endif %} - - {% for i in (visible_start..all_pinned.size) limit: pinned_size %} - {% assign posts = posts | push: all_pinned[i] %} - {% endfor %} -{% else %} - {% assign pinned_size = 0 %} -{% endif %} - - - -{% assign normal_size = paginator.posts | size | minus: pinned_size %} - -{% if normal_size > 0 %} - {% if pinned_size > 0 %} - {% assign normal_start = 0 %} - {% else %} - {% assign normal_start = visible_start | minus: all_pinned.size %} - {% endif %} - - {% assign normal_end = normal_start | plus: normal_size | minus: 1 %} - - {% for i in (normal_start..normal_end) %} - {% assign posts = posts | push: all_normal[i] %} - {% endfor %} -{% endif %} - -
- {% for post in posts %} -
- - {% assign card_body_col = '12' %} - - {% if post.image %} - {% assign src = post.image.path | default: post.image %} - {% unless src contains '//' %} - {% assign src = post.media_subpath | append: '/' | append: src | replace: '//', '/' %} - {% endunless %} - - {% assign alt = post.image.alt | xml_escape | default: 'Preview Image' %} - - {% assign lqip = null %} - - {% if post.image.lqip %} - {% capture lqip %}lqip="{{ post.image.lqip }}"{% endcapture %} - {% endif %} - -
- {{ alt }} -
- - {% assign card_body_col = '7' %} - {% endif %} - -
-
-

{{ post.title }}

- -
-

{% include post-description.html %}

-
- - - -
- -
-
-
- {% endfor %} -
- - -{% if paginator.total_pages > 1 %} - {% include post-paginator.html %} -{% endif %} diff --git a/_layouts/page.html b/_layouts/page.html deleted file mode 100644 index 32d6582..0000000 --- a/_layouts/page.html +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: default ---- - -{% include lang.html %} - -
- {% if page.layout == 'page' or page.collection == 'tabs' %} - {% assign tab_key = page.title | downcase %} - {% assign title = site.data.locales[lang].tabs[tab_key] | default: page.title %} -

- {{ title }} -

-
- {{ content }} -
- {% else %} - {{ content }} - {% endif %} -
diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index c8c21ef..0000000 --- a/_layouts/post.html +++ /dev/null @@ -1,179 +0,0 @@ ---- -layout: default -refactor: true -panel_includes: - - toc -tail_includes: - - related-posts - - post-nav -script_includes: - - comment ---- - -{% include lang.html %} - -{% include toc-status.html %} - -
-
-

{{ page.title }}

- {% if page.description %} -

{{ page.description }}

- {% endif %} - - -
- - {% if enable_toc %} - - - - - -
-
{{- page.title -}}
- -
-
-
- {% endif %} - -
- {{ content }} -
- -
- - {% if page.categories.size > 0 %} - - {% endif %} - - - {% if page.tags.size > 0 %} - - {% endif %} - -
-
- {% if site.data.locales[lang].copyright.license.template %} - {% capture _replacement %} - - {{ site.data.locales[lang].copyright.license.name }} - - {% endcapture %} - - {{ site.data.locales[lang].copyright.license.template | replace: ':LICENSE_NAME', _replacement }} - {% endif %} -
- - {% include post-sharing.html lang=lang %} -
- -
- -
diff --git a/_layouts/tag.html b/_layouts/tag.html deleted file mode 100644 index d766d09..0000000 --- a/_layouts/tag.html +++ /dev/null @@ -1,23 +0,0 @@ ---- -layout: page -# The layout for Tag page ---- - -{% include lang.html %} - -
-

- - {{ page.title }} - {{ page.posts | size }} -

-
    - {% for post in page.posts %} -
  • - {{ post.title }} - - {% include datetime.html date=post.date class='text-muted small text-nowrap' lang=lang %} -
  • - {% endfor %} -
-
diff --git a/_layouts/tags.html b/_layouts/tags.html deleted file mode 100644 index 7800ca0..0000000 --- a/_layouts/tags.html +++ /dev/null @@ -1,22 +0,0 @@ ---- -layout: page -# All the Tags of posts. ---- - -
- {% assign tags = '' | split: '' %} - {% for t in site.tags %} - {% assign tags = tags | push: t[0] %} - {% endfor %} - - {% assign sorted_tags = tags | sort_natural %} - - {% for t in sorted_tags %} - - {% endfor %} -
diff --git a/_plugins/posts-lastmod-hook.rb b/_plugins/posts-lastmod-hook.rb deleted file mode 100644 index 1fd6ecf..0000000 --- a/_plugins/posts-lastmod-hook.rb +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env ruby -# -# Check for changed posts - -Jekyll::Hooks.register :posts, :post_init do |post| - - commit_num = `git rev-list --count HEAD "#{ post.path }"` - - if commit_num.to_i > 1 - lastmod_date = `git log -1 --pretty="%ad" --date=iso "#{ post.path }"` - post.data['last_modified_at'] = lastmod_date - end - -end diff --git a/_posts/2019-08-08-text-and-typography.md b/_posts/2019-08-08-text-and-typography.md deleted file mode 100644 index a8db26a..0000000 --- a/_posts/2019-08-08-text-and-typography.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -title: Text and Typography -description: Examples of text, typography, math equations, diagrams, flowcharts, pictures, videos, and more. -author: cotes -date: 2019-08-08 11:33:00 +0800 -categories: [Blogging, Demo] -tags: [typography] -pin: true -math: true -mermaid: true -image: - path: /commons/devices-mockup.png - lqip: data:image/webp;base64,UklGRpoAAABXRUJQVlA4WAoAAAAQAAAADwAABwAAQUxQSDIAAAARL0AmbZurmr57yyIiqE8oiG0bejIYEQTgqiDA9vqnsUSI6H+oAERp2HZ65qP/VIAWAFZQOCBCAAAA8AEAnQEqEAAIAAVAfCWkAALp8sF8rgRgAP7o9FDvMCkMde9PK7euH5M1m6VWoDXf2FkP3BqV0ZYbO6NA/VFIAAAA - alt: Responsive rendering of Chirpy theme on multiple devices. ---- - -## Headings - - - -# H1 — heading -{: .mt-4 .mb-0 } - -## H2 — heading -{: data-toc-skip='' .mt-4 .mb-0 } - -### H3 — heading -{: data-toc-skip='' .mt-4 .mb-0 } - -#### H4 — heading -{: data-toc-skip='' .mt-4 } - - -## Paragraph - -Quisque egestas convallis ipsum, ut sollicitudin risus tincidunt a. Maecenas interdum malesuada egestas. Duis consectetur porta risus, sit amet vulputate urna facilisis ac. Phasellus semper dui non purus ultrices sodales. Aliquam ante lorem, ornare a feugiat ac, finibus nec mauris. Vivamus ut tristique nisi. Sed vel leo vulputate, efficitur risus non, posuere mi. Nullam tincidunt bibendum rutrum. Proin commodo ornare sapien. Vivamus interdum diam sed sapien blandit, sit amet aliquam risus mattis. Nullam arcu turpis, mollis quis laoreet at, placerat id nibh. Suspendisse venenatis eros eros. - -## Lists - -### Ordered list - -1. Firstly -2. Secondly -3. Thirdly - -### Unordered list - -- Chapter - - Section - - Paragraph - -### ToDo list - -- [ ] Job - - [x] Step 1 - - [x] Step 2 - - [ ] Step 3 - -### Description list - -Sun -: the star around which the earth orbits - -Moon -: the natural satellite of the earth, visible by reflected light from the sun - -## Block Quote - -> This line shows the _block quote_. - -## Prompts - - - -> An example showing the `tip` type prompt. -{: .prompt-tip } - -> An example showing the `info` type prompt. -{: .prompt-info } - -> An example showing the `warning` type prompt. -{: .prompt-warning } - -> An example showing the `danger` type prompt. -{: .prompt-danger } - - -## Tables - -| Company | Contact | Country | -| :--------------------------- | :--------------- | ------: | -| Alfreds Futterkiste | Maria Anders | Germany | -| Island Trading | Helen Bennett | UK | -| Magazzini Alimentari Riuniti | Giovanni Rovelli | Italy | - -## Links - - - -## Footnote - -Click the hook will locate the footnote[^footnote], and here is another footnote[^fn-nth-2]. - -## Inline code - -This is an example of `Inline Code`. - -## Filepath - -Here is the `/path/to/the/file.extend`{: .filepath}. - -## Code blocks - -### Common - -```text -This is a common code snippet, without syntax highlight and line number. -``` - -### Specific Language - -```bash -if [ $? -ne 0 ]; then - echo "The command was not successful."; - #do the needful / exit -fi; -``` - -### Specific filename - -```sass -@import - "colors/light-typography", - "colors/dark-typography"; -``` -{: file='_sass/jekyll-theme-chirpy.scss'} - -## Mathematics - -The mathematics powered by [**MathJax**](https://www.mathjax.org/): - -$$ -\begin{equation} - \sum_{n=1}^\infty 1/n^2 = \frac{\pi^2}{6} - \label{eq:series} -\end{equation} -$$ - -We can reference the equation as \eqref{eq:series}. - -When $a \ne 0$, there are two solutions to $ax^2 + bx + c = 0$ and they are - -$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$ - -## Mermaid SVG - -```mermaid - gantt - title Adding GANTT diagram functionality to mermaid - apple :a, 2017-07-20, 1w - banana :crit, b, 2017-07-23, 1d - cherry :active, c, after b a, 1d -``` - -## Images - -### Default (with caption) - -![Desktop View](/posts/20190808/mockup.png){: width="972" height="589" } -_Full screen width and center alignment_ - -### Left aligned - -![Desktop View](/posts/20190808/mockup.png){: width="972" height="589" .w-75 .normal} - -### Float to left - -![Desktop View](/posts/20190808/mockup.png){: width="972" height="589" .w-50 .left} -Praesent maximus aliquam sapien. Sed vel neque in dolor pulvinar auctor. Maecenas pharetra, sem sit amet interdum posuere, tellus lacus eleifend magna, ac lobortis felis ipsum id sapien. Proin ornare rutrum metus, ac convallis diam volutpat sit amet. Phasellus volutpat, elit sit amet tincidunt mollis, felis mi scelerisque mauris, ut facilisis leo magna accumsan sapien. In rutrum vehicula nisl eget tempor. Nullam maximus ullamcorper libero non maximus. Integer ultricies velit id convallis varius. Praesent eu nisl eu urna finibus ultrices id nec ex. Mauris ac mattis quam. Fusce aliquam est nec sapien bibendum, vitae malesuada ligula condimentum. - -### Float to right - -![Desktop View](/posts/20190808/mockup.png){: width="972" height="589" .w-50 .right} -Praesent maximus aliquam sapien. Sed vel neque in dolor pulvinar auctor. Maecenas pharetra, sem sit amet interdum posuere, tellus lacus eleifend magna, ac lobortis felis ipsum id sapien. Proin ornare rutrum metus, ac convallis diam volutpat sit amet. Phasellus volutpat, elit sit amet tincidunt mollis, felis mi scelerisque mauris, ut facilisis leo magna accumsan sapien. In rutrum vehicula nisl eget tempor. Nullam maximus ullamcorper libero non maximus. Integer ultricies velit id convallis varius. Praesent eu nisl eu urna finibus ultrices id nec ex. Mauris ac mattis quam. Fusce aliquam est nec sapien bibendum, vitae malesuada ligula condimentum. - -### Dark/Light mode & Shadow - -The image below will toggle dark/light mode based on theme preference, notice it has shadows. - -![light mode only](/posts/20190808/devtools-light.png){: .light .w-75 .shadow .rounded-10 w='1212' h='668' } -![dark mode only](/posts/20190808/devtools-dark.png){: .dark .w-75 .shadow .rounded-10 w='1212' h='668' } - -## Video - -{% include embed/youtube.html id='Balreaj8Yqs' %} - -## Reverse Footnote - -[^footnote]: The footnote source -[^fn-nth-2]: The 2nd footnote source diff --git a/_posts/2019-08-08-write-a-new-post.md b/_posts/2019-08-08-write-a-new-post.md deleted file mode 100644 index 085e7d6..0000000 --- a/_posts/2019-08-08-write-a-new-post.md +++ /dev/null @@ -1,505 +0,0 @@ ---- -title: Writing a New Post -author: cotes -date: 2019-08-08 14:10:00 +0800 -categories: [Blogging, Tutorial] -tags: [writing] -render_with_liquid: false ---- - -This tutorial will guide you how to write a post in the _Chirpy_ template, and it's worth reading even if you've used Jekyll before, as many features require specific variables to be set. - -## Naming and Path - -Create a new file named `YYYY-MM-DD-TITLE.EXTENSION`{: .filepath} and put it in the `_posts`{: .filepath} of the root directory. Please note that the `EXTENSION`{: .filepath} must be one of `md`{: .filepath} and `markdown`{: .filepath}. If you want to save time of creating files, please consider using the plugin [`Jekyll-Compose`](https://github.com/jekyll/jekyll-compose) to accomplish this. - -## Front Matter - -Basically, you need to fill the [Front Matter](https://jekyllrb.com/docs/front-matter/) as below at the top of the post: - -```yaml ---- -title: TITLE -date: YYYY-MM-DD HH:MM:SS +/-TTTT -categories: [TOP_CATEGORIE, SUB_CATEGORIE] -tags: [TAG] # TAG names should always be lowercase ---- -``` - -> The posts' _layout_ has been set to `post` by default, so there is no need to add the variable _layout_ in the Front Matter block. -{: .prompt-tip } - -### Timezone of Date - -To accurately record the release date of a post, you should not only set up the `timezone` of `_config.yml`{: .filepath} but also provide the post's timezone in variable `date` of its Front Matter block. Format: `+/-TTTT`, e.g. `+0800`. - -### Categories and Tags - -The `categories` of each post are designed to contain up to two elements, and the number of elements in `tags` can be zero to infinity. For instance: - -```yaml ---- -categories: [Animal, Insect] -tags: [bee] ---- -``` - -### Author Information - -The author information of the post usually does not need to be filled in the _Front Matter_ , they will be obtained from variables `social.name` and the first entry of `social.links` of the configuration file by default. But you can also override it as follows: - -Adding author information in `_data/authors.yml` (If your website doesn't have this file, don't hesitate to create one). - -```yaml -: - name: - twitter: - url: -``` -{: file="_data/authors.yml" } - -And then use `author` to specify a single entry or `authors` to specify multiple entries: - -```yaml ---- -author: # for single entry -# or -authors: [, ] # for multiple entries ---- -``` - -Having said that, the key `author` can also identify multiple entries. - -> The benefit of reading the author information from the file `_data/authors.yml`{: .filepath } is that the page will have the meta tag `twitter:creator`, which enriches the [Twitter Cards](https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started#card-and-content-attribution) and is good for SEO. -{: .prompt-info } - -### Post Description - -By default, the first words of the post are used to display on the home page for a list of posts, in the _Further Reading_ section, and in the XML of the RSS feed. If you don't want to display the auto-generated description for the post, you can customize it using the `description` field in the _Front Matter_ as follows: - -```yaml ---- -description: Short summary of the post. ---- -``` - -Additionally, the `description` text will also be displayed under the post title on the post's page. - -## Table of Contents - -By default, the **T**able **o**f **C**ontents (TOC) is displayed on the right panel of the post. If you want to turn it off globally, go to `_config.yml`{: .filepath} and set the value of variable `toc` to `false`. If you want to turn off TOC for a specific post, add the following to the post's [Front Matter](https://jekyllrb.com/docs/front-matter/): - -```yaml ---- -toc: false ---- -``` - -## Comments - -The global setting for comments is defined by the `comments.provider` option in the `_config.yml`{: .filepath} file. Once a comment system is selected for this variable, comments will be enabled for all posts. - -If you want to close the comment for a specific post, add the following to the **Front Matter** of the post: - -```yaml ---- -comments: false ---- -``` - -## Media - -We refer to images, audio and video as media resources in _Chirpy_. - -### URL Prefix - -From time to time we have to define duplicate URL prefixes for multiple resources in a post, which is a boring task that you can avoid by setting two parameters. - -- If you are using a CDN to host media files, you can specify the `cdn` in `_config.yml`{: .filepath }. The URLs of media resources for site avatar and posts are then prefixed with the CDN domain name. - - ```yaml - cdn: https://cdn.com - ``` - {: file='_config.yml' .nolineno } - -- To specify the resource path prefix for the current post/page range, set `media_subpath` in the _front matter_ of the post: - - ```yaml - --- - media_subpath: /path/to/media/ - --- - ``` - {: .nolineno } - -The option `site.cdn` and `page.media_subpath` can be used individually or in combination to flexibly compose the final resource URL: `[site.cdn/][page.media_subpath/]file.ext` - -### Images - -#### Caption - -Add italics to the next line of an image, then it will become the caption and appear at the bottom of the image: - -```markdown -![img-description](/path/to/image) -_Image Caption_ -``` -{: .nolineno} - -#### Size - -To prevent the page content layout from shifting when the image is loaded, we should set the width and height for each image. - -```markdown -![Desktop View](/assets/img/sample/mockup.png){: width="700" height="400" } -``` -{: .nolineno} - -> For an SVG, you have to at least specify its _width_, otherwise it won't be rendered. -{: .prompt-info } - -Starting from _Chirpy v5.0.0_, `height` and `width` support abbreviations (`height` → `h`, `width` → `w`). The following example has the same effect as the above: - -```markdown -![Desktop View](/assets/img/sample/mockup.png){: w="700" h="400" } -``` -{: .nolineno} - -#### Position - -By default, the image is centered, but you can specify the position by using one of the classes `normal`, `left`, and `right`. - -> Once the position is specified, the image caption should not be added. -{: .prompt-warning } - -- **Normal position** - - Image will be left aligned in below sample: - - ```markdown - ![Desktop View](/assets/img/sample/mockup.png){: .normal } - ``` - {: .nolineno} - -- **Float to the left** - - ```markdown - ![Desktop View](/assets/img/sample/mockup.png){: .left } - ``` - {: .nolineno} - -- **Float to the right** - - ```markdown - ![Desktop View](/assets/img/sample/mockup.png){: .right } - ``` - {: .nolineno} - -#### Dark/Light mode - -You can make images follow theme preferences in dark/light mode. This requires you to prepare two images, one for dark mode and one for light mode, and then assign them a specific class (`dark` or `light`): - -```markdown -![Light mode only](/path/to/light-mode.png){: .light } -![Dark mode only](/path/to/dark-mode.png){: .dark } -``` - -#### Shadow - -The screenshots of the program window can be considered to show the shadow effect: - -```markdown -![Desktop View](/assets/img/sample/mockup.png){: .shadow } -``` -{: .nolineno} - -#### Preview Image - -If you want to add an image at the top of the post, please provide an image with a resolution of `1200 x 630`. Please note that if the image aspect ratio does not meet `1.91 : 1`, the image will be scaled and cropped. - -Knowing these prerequisites, you can start setting the image's attribute: - -```yaml ---- -image: - path: /path/to/image - alt: image alternative text ---- -``` - -Note that the [`media_subpath`](#url-prefix) can also be passed to the preview image, that is, when it has been set, the attribute `path` only needs the image file name. - -For simple use, you can also just use `image` to define the path. - -```yml ---- -image: /path/to/image ---- -``` - -#### LQIP - -For preview images: - -```yaml ---- -image: - lqip: /path/to/lqip-file # or base64 URI ---- -``` - -> You can observe LQIP in the preview image of post \"[Text and Typography](../text-and-typography/)\". - -For normal images: - -```markdown -![Image description](/path/to/image){: lqip="/path/to/lqip-file" } -``` -{: .nolineno } - -### Video - -#### Social Media Platform - -You can embed videos from social media platforms with the following syntax: - -```liquid -{% include embed/{Platform}.html id='{ID}' %} -``` - -Where `Platform` is the lowercase of the platform name, and `ID` is the video ID. - -The following table shows how to get the two parameters we need in a given video URL, and you can also know the currently supported video platforms. - -| Video URL | Platform | ID | -| -------------------------------------------------------------------------------------------------- | ---------- | :------------- | -| [https://www.**youtube**.com/watch?v=**H-B46URT4mg**](https://www.youtube.com/watch?v=H-B46URT4mg) | `youtube` | `H-B46URT4mg` | -| [https://www.**twitch**.tv/videos/**1634779211**](https://www.twitch.tv/videos/1634779211) | `twitch` | `1634779211` | -| [https://www.**bilibili**.com/video/**BV1Q44y1B7Wf**](https://www.bilibili.com/video/BV1Q44y1B7Wf) | `bilibili` | `BV1Q44y1B7Wf` | - -#### Video Files - -If you want to embed a video file directly, use the following syntax: - -```liquid -{% include embed/video.html src='{URL}' %} -``` - -Where `URL` is a URL to a video file e.g. `/path/to/sample/video.mp4`. - -You can also specify additional attributes for the embedded video file. Here is a full list of attributes allowed. - -- `poster='/path/to/poster.png'` — poster image for a video that is shown while video is downloading -- `title='Text'` — title for a video that appears below the video and looks same as for images -- `autoplay=true` — video automatically begins to play back as soon as it can -- `loop=true` — automatically seek back to the start upon reaching the end of the video -- `muted=true` — audio will be initially silenced -- `types` — specify the extensions of additional video formats separated by `|`. Ensure these files exist in the same directory as your primary video file. - -Consider an example using all of the above: - -```liquid -{% - include embed/video.html - src='/path/to/video.mp4' - types='ogg|mov' - poster='poster.png' - title='Demo video' - autoplay=true - loop=true - muted=true -%} -``` - -### Audios - -If you want to embed an audio file directly, use the following syntax: - -```liquid -{% include embed/audio.html src='{URL}' %} -``` - -Where `URL` is a URL to an audio file e.g. `/path/to/audio.mp3`. - -You can also specify additional attributes for the embedded audio file. Here is a full list of attributes allowed. - -- `title='Text'` — title for an audio that appears below the audio and looks same as for images -- `types` — specify the extensions of additional audio formats separated by `|`. Ensure these files exist in the same directory as your primary audio file. - -Consider an example using all of the above: - -```liquid -{% - include embed/audio.html - src='/path/to/audio.mp3' - types='ogg|wav|aac' - title='Demo audio' -%} -``` - -## Pinned Posts - -You can pin one or more posts to the top of the home page, and the fixed posts are sorted in reverse order according to their release date. Enable by: - -```yaml ---- -pin: true ---- -``` - -## Prompts - -There are several types of prompts: `tip`, `info`, `warning`, and `danger`. They can be generated by adding the class `prompt-{type}` to the blockquote. For example, define a prompt of type `info` as follows: - -```md -> Example line for prompt. -{: .prompt-info } -``` -{: .nolineno } - -## Syntax - -### Inline Code - -```md -`inline code part` -``` -{: .nolineno } - -### Filepath Highlight - -```md -`/path/to/a/file.extend`{: .filepath} -``` -{: .nolineno } - -### Code Block - -Markdown symbols ```` ``` ```` can easily create a code block as follows: - -````md -``` -This is a plaintext code snippet. -``` -```` - -#### Specifying Language - -Using ```` ```{language} ```` you will get a code block with syntax highlight: - -````markdown -```yaml -key: value -``` -```` - -> The Jekyll tag `{% highlight %}` is not compatible with this theme. -{: .prompt-danger } - -#### Line Number - -By default, all languages except `plaintext`, `console`, and `terminal` will display line numbers. When you want to hide the line number of a code block, add the class `nolineno` to it: - -````markdown -```shell -echo 'No more line numbers!' -``` -{: .nolineno } -```` - -#### Specifying the Filename - -You may have noticed that the code language will be displayed at the top of the code block. If you want to replace it with the file name, you can add the attribute `file` to achieve this: - -````markdown -```shell -# content -``` -{: file="path/to/file" } -```` - -#### Liquid Codes - -If you want to display the **Liquid** snippet, surround the liquid code with `{% raw %}` and `{% endraw %}`: - -````markdown -{% raw %} -```liquid -{% if product.title contains 'Pack' %} - This product's title contains the word Pack. -{% endif %} -``` -{% endraw %} -```` - -Or adding `render_with_liquid: false` (Requires Jekyll 4.0 or higher) to the post's YAML block. - -## Mathematics - -We use [**MathJax**][mathjax] to generate mathematics. For website performance reasons, the mathematical feature won't be loaded by default. But it can be enabled by: - -[mathjax]: https://www.mathjax.org/ - -```yaml ---- -math: true ---- -``` - -After enabling the mathematical feature, you can add math equations with the following syntax: - -- **Block math** should be added with `$$ math $$` with **mandatory** blank lines before and after `$$` - - **Inserting equation numbering** should be added with `$$\begin{equation} math \end{equation}$$` - - **Referencing equation numbering** should be done with `\label{eq:label_name}` in the equation block and `\eqref{eq:label_name}` inline with text (see example below) -- **Inline math** (in lines) should be added with `$$ math $$` without any blank line before or after `$$` -- **Inline math** (in lists) should be added with `\$$ math $$` - -```markdown - - -$$ -LaTeX_math_expression -$$ - - - -$$ -\begin{equation} - LaTeX_math_expression - \label{eq:label_name} -\end{equation} -$$ - -Can be referenced as \eqref{eq:label_name}. - - - -"Lorem ipsum dolor sit amet, $$ LaTeX_math_expression $$ consectetur adipiscing elit." - - - -1. \$$ LaTeX_math_expression $$ -2. \$$ LaTeX_math_expression $$ -3. \$$ LaTeX_math_expression $$ -``` - -> Starting with `v7.0.0`, configuration options for **MathJax** have been moved to file `assets/js/data/mathjax.js`{: .filepath }, and you can change the options as needed, such as adding [extensions][mathjax-exts]. -> If you are building the site via `chirpy-starter`, copy that file from the gem installation directory (check with command `bundle info --path jekyll-theme-chirpy`) to the same directory in your repository. -{: .prompt-tip } - -[mathjax-exts]: https://docs.mathjax.org/en/latest/input/tex/extensions/index.html - -## Mermaid - -[**Mermaid**](https://github.com/mermaid-js/mermaid) is a great diagram generation tool. To enable it on your post, add the following to the YAML block: - -```yaml ---- -mermaid: true ---- -``` - -Then you can use it like other markdown languages: surround the graph code with ```` ```mermaid ```` and ```` ``` ````. - -## Learn More - -For more knowledge about Jekyll posts, visit the [Jekyll Docs: Posts](https://jekyllrb.com/docs/posts/). diff --git a/_posts/2019-08-09-getting-started.md b/_posts/2019-08-09-getting-started.md deleted file mode 100644 index 2681126..0000000 --- a/_posts/2019-08-09-getting-started.md +++ /dev/null @@ -1,149 +0,0 @@ ---- -title: Getting Started -description: >- - Get started with Chirpy basics in this comprehensive overview. - You will learn how to install, configure, and use your first Chirpy-based website, as well as deploy it to a web server. -author: cotes -date: 2019-08-09 20:55:00 +0800 -categories: [Blogging, Tutorial] -tags: [getting started] -pin: true -media_subpath: '/posts/20180809' ---- - -## Creating a Site Repository - -When creating your site repository, you have two options depending on your needs: - -### Option 1. Using the Starter (Recommended) - -This approach simplifies upgrades, isolates unnecessary files, and is perfect for users who want to focus on writing with minimal configuration. - -1. Sign in to GitHub and navigate to the [**starter**][starter]. -2. Click the Use this template button and then select Create a new repository. -3. Name the new repository `.github.io`, replacing `username` with your lowercase GitHub username. - -### Option 2. Forking the Theme - -This approach is convenient for modifying features or UI design, but presents challenges during upgrades. So don't try this unless you are familiar with Jekyll and plan to heavily modify this theme. - -1. Sign in to GitHub. -2. [Fork the theme repository](https://github.com/cotes2020/jekyll-theme-chirpy/fork). -3. Name the new repository `.github.io`, replacing `username` with your lowercase GitHub username. - -## Setting up the Environment - -Once your repository is created, it's time to set up your development environment. There are two primary methods: - -### Using Dev Containers (Recommended for Windows) - -Dev Containers offer an isolated environment using Docker, which prevents conflicts with your system and ensures all dependencies are managed within the container. - -**Steps**: - -1. Install Docker: - - On Windows/macOS, install [Docker Desktop][docker-desktop]. - - On Linux, install [Docker Engine][docker-engine]. -2. Install [VS Code][vscode] and the [Dev Containers extension][dev-containers]. -3. Clone your repository: - - For Docker Desktop: Start VS Code and [clone your repo in a container volume][dc-clone-in-vol]. - - For Docker Engine: Clone your repo locally, then [open it in a container][dc-open-in-container] via VS Code. -4. Wait for the Dev Containers setup to complete. - -### Setting up Natively (Recommended for Unix-like OS) - -For Unix-like systems, you can set up the environment natively for optimal performance, though you can also use Dev Containers as an alternative. - -**Steps**: - -1. Follow the [Jekyll installation guide](https://jekyllrb.com/docs/installation/) to install Jekyll and ensure [Git](https://git-scm.com/) is installed. -2. Clone your repository to your local machine. -3. If you forked the theme, install [Node.js][nodejs] and run `bash tools/init.sh` in the root directory to initialize the repository. -4. Run command `bundle` in the root of your repository to install the dependencies. - -## Usage - -### Start the Jekyll Server - -To run the site locally, use the following command: - -```terminal -$ bundle exec jekyll s -``` - -> If you are using Dev Containers, you must run that command in the **VS Code** Terminal. -{: .prompt-info } - -After a few seconds, the local server will be available at . - -### Configuration - -Update the variables in `_config.yml`{: .filepath} as needed. Some typical options include: - -- `url` -- `avatar` -- `timezone` -- `lang` - -### Social Contact Options - -Social contact options are displayed at the bottom of the sidebar. You can enable or disable specific contacts in the `_data/contact.yml`{: .filepath} file. - -### Customizing the Stylesheet - -To customize the stylesheet, copy the theme's `assets/css/jekyll-theme-chirpy.scss`{: .filepath} file to the same path in your Jekyll site, and add your custom styles at the end of the file. - -### Customizing Static Assets - -Static assets configuration was introduced in version `5.1.0`. The CDN of the static assets is defined in `_data/origin/cors.yml`{: .filepath }. You can replace some of them based on the network conditions in the region where your website is published. - -If you prefer to self-host the static assets, refer to the [_chirpy-static-assets_](https://github.com/cotes2020/chirpy-static-assets#readme) repository. - -## Deployment - -Before deploying, check the `_config.yml`{: .filepath} file and ensure the `url` is configured correctly. If you prefer a [**project site**](https://help.github.com/en/github/working-with-github-pages/about-github-pages#types-of-github-pages-sites) and don't use a custom domain, or if you want to visit your website with a base URL on a web server other than **GitHub Pages**, remember to set the `baseurl` to your project name, starting with a slash, e.g., `/project-name`. - -Now you can choose _ONE_ of the following methods to deploy your Jekyll site. - -### Deploy Using Github Actions - -Prepare the following: - -- If you're on the GitHub Free plan, keep your site repository public. -- If you have committed `Gemfile.lock`{: .filepath} to the repository, and your local machine is not running Linux, update the platform list of the lock file: - - ```console - $ bundle lock --add-platform x86_64-linux - ``` - -Next, configure the _Pages_ service: - -1. Go to your repository on GitHub. Select the _Settings_ tab, then click _Pages_ in the left navigation bar. In the **Source** section (under _Build and deployment_), select [**GitHub Actions**][pages-workflow-src] from the dropdown menu. - ![Build source](pages-source-light.png){: .light .border .normal w='375' h='140' } - ![Build source](pages-source-dark.png){: .dark .normal w='375' h='140' } - -2. Push any commits to GitHub to trigger the _Actions_ workflow. In the _Actions_ tab of your repository, you should see the workflow _Build and Deploy_ running. Once the build is complete and successful, the site will be deployed automatically. - -You can now visit the URL provided by GitHub to access your site. - -### Manual Build and Deployment - -For self-hosted servers, you will need to build the site on your local machine and then upload the site files to the server. - -Navigate to the root of the source project, and build your site with the following command: - -```console -$ JEKYLL_ENV=production bundle exec jekyll b -``` - -Unless you specified the output path, the generated site files will be placed in the `_site`{: .filepath} folder of the project's root directory. Upload these files to your target server. - -[nodejs]: https://nodejs.org/ -[starter]: https://github.com/cotes2020/chirpy-starter -[pages-workflow-src]: https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-with-a-custom-github-actions-workflow -[docker-desktop]: https://www.docker.com/products/docker-desktop/ -[docker-engine]: https://docs.docker.com/engine/install/ -[vscode]: https://code.visualstudio.com/ -[dev-containers]: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers -[dc-clone-in-vol]: https://code.visualstudio.com/docs/devcontainers/containers#_quick-start-open-a-git-repository-or-github-pr-in-an-isolated-container-volume -[dc-open-in-container]: https://code.visualstudio.com/docs/devcontainers/containers#_quick-start-open-an-existing-folder-in-a-container diff --git a/_posts/2019-08-11-customize-the-favicon.md b/_posts/2019-08-11-customize-the-favicon.md deleted file mode 100644 index a3278fa..0000000 --- a/_posts/2019-08-11-customize-the-favicon.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: Customize the Favicon -author: cotes -date: 2019-08-11 00:34:00 +0800 -categories: [Blogging, Tutorial] -tags: [favicon] ---- - -The [favicons](https://www.favicon-generator.org/about/) of [**Chirpy**](https://github.com/cotes2020/jekyll-theme-chirpy/) are placed in the directory `assets/img/favicons/`{: .filepath}. You may want to replace them with your own. The following sections will guide you to create and replace the default favicons. - -## Generate the favicon - -Prepare a square image (PNG, JPG, or SVG) with a size of 512x512 or more, and then go to the online tool [**Real Favicon Generator**](https://realfavicongenerator.net/) and click the button Select your Favicon image to upload your image file. - -In the next step, the webpage will show all usage scenarios. You can keep the default options, scroll to the bottom of the page, and click the button Generate your Favicons and HTML code to generate the favicon. - -## Download & Replace - -Download the generated package, unzip and delete the following two from the extracted files: - -- `browserconfig.xml`{: .filepath} -- `site.webmanifest`{: .filepath} - -And then copy the remaining image files (`.PNG`{: .filepath} and `.ICO`{: .filepath}) to cover the original files in the directory `assets/img/favicons/`{: .filepath} of your Jekyll site. If your Jekyll site doesn't have this directory yet, just create one. - -The following table will help you understand the changes to the favicon files: - -| File(s) | From Online Tool | From Chirpy | -|---------------------|:---------------------------------:|:-----------:| -| `*.PNG` | ✓ | ✗ | -| `*.ICO` | ✓ | ✗ | - - -> ✓ means keep, ✗ means delete. -{: .prompt-info } - -The next time you build the site, the favicon will be replaced with a customized edition. diff --git a/_sass/.DS_Store b/_sass/.DS_Store deleted file mode 100644 index e4d6145..0000000 Binary files a/_sass/.DS_Store and /dev/null differ diff --git a/_sass/abstracts/_breakpoints.scss b/_sass/abstracts/_breakpoints.scss deleted file mode 100644 index e40cefe..0000000 --- a/_sass/abstracts/_breakpoints.scss +++ /dev/null @@ -1,73 +0,0 @@ -@use 'sass:map'; - -$-breakpoints: ( - // 1 column - sm: 576px, - md: 768px, - // 2 columns - lg: 850px, - // 3 columns - xl: 1200px, - xxl: 1400px, - xxxl: 1650px -); - -@function get($breakpoint) { - @return map.get($-breakpoints, $breakpoint); -} - -/* Less than the given width */ -@mixin lt($width) { - @media all and (max-width: calc(#{$width} - 1px)) { - @content; - } -} - -/* Less than or equal to the given width */ -@mixin lte($width) { - @media all and (max-width: $width) { - @content; - } -} - -@mixin sm { - @media all and (min-width: get(sm)) { - @content; - } -} - -@mixin md { - @media all and (min-width: get(md)) { - @content; - } -} - -@mixin lg { - @media all and (min-width: get(lg)) { - @content; - } -} - -@mixin xl { - @media all and (min-width: get(xl)) { - @content; - } -} - -@mixin xxl { - @media all and (min-width: get(xxl)) { - @content; - } -} - -@mixin xxxl { - @media all and (min-width: get(xxxl)) { - @content; - } -} - -@mixin between($min, $max) { - @media all and (min-width: $min) and (max-width: $max) { - @content; - } -} diff --git a/_sass/abstracts/_index.scss b/_sass/abstracts/_index.scss deleted file mode 100644 index 6c9e21c..0000000 --- a/_sass/abstracts/_index.scss +++ /dev/null @@ -1,4 +0,0 @@ -@forward 'variables'; -@forward 'mixins'; -@forward 'placeholders'; -@forward 'breakpoints'; diff --git a/_sass/abstracts/_mixins.scss b/_sass/abstracts/_mixins.scss deleted file mode 100644 index c5eeee3..0000000 --- a/_sass/abstracts/_mixins.scss +++ /dev/null @@ -1,80 +0,0 @@ -@mixin text-ellipsis { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -@mixin mt-mb($value) { - margin-top: $value; - margin-bottom: $value; -} - -@mixin ml-mr($value) { - margin-left: $value; - margin-right: $value; -} - -@mixin pt-pb($val) { - padding-top: $val; - padding-bottom: $val; -} - -@mixin pl-pr($val, $important: false) { - @if $important { - padding-left: $val !important; - padding-right: $val !important; - } @else { - padding-left: $val; - padding-right: $val; - } -} - -@mixin placeholder { - color: var(--text-muted-color) !important; -} - -@mixin placeholder-focus { - opacity: 0.6; -} - -@mixin label($font-size: 1rem, $font-weight: 600, $color: var(--label-color)) { - color: $color; - font-size: $font-size; - font-weight: $font-weight; -} - -@mixin align-center { - position: relative; - left: 50%; - transform: translateX(-50%); -} - -@mixin prompt($type, $fa-content, $fa-style: 'solid', $rotate: 0) { - &.prompt-#{$type} { - background-color: var(--prompt-#{$type}-bg); - - &::before { - content: $fa-content; - color: var(--prompt-#{$type}-icon-color); - font: var(--fa-font-#{$fa-style}); - - @if $rotate != 0 { - transform: rotate(#{$rotate}deg); - } - } - } -} - -@mixin slide($append: null) { - $basic: transform 0.4s ease; - - @if $append { - transition: $basic, $append; - } @else { - transition: $basic; - } -} - -@mixin max-w-100 { - max-width: 100%; -} diff --git a/_sass/abstracts/_placeholders.scss b/_sass/abstracts/_placeholders.scss deleted file mode 100644 index 9a2b8ac..0000000 --- a/_sass/abstracts/_placeholders.scss +++ /dev/null @@ -1,160 +0,0 @@ -@use 'variables' as v; -@use 'mixins' as mx; - -%heading { - color: var(--heading-color); - font-weight: 400; - font-family: v.$font-family-heading; - scroll-margin-top: 3.5rem; -} - -%anchor { - .anchor { - font-size: 80%; - } - - @media (hover: hover) { - .anchor { - visibility: hidden; - opacity: 0; - transition: opacity 0.25s ease-in, visibility 0s ease-in 0.25s; - } - - &:hover { - .anchor { - visibility: visible; - opacity: 1; - transition: opacity 0.25s ease-in, visibility 0s ease-in 0s; - } - } - } -} - -%tag-hover { - background: var(--tag-hover); - transition: background 0.35s ease-in-out; -} - -%table-cell { - padding: 0.4rem 1rem; - font-size: 95%; - white-space: nowrap; -} - -%link-hover { - color: #d2603a !important; - border-bottom: 1px solid #d2603a; - text-decoration: none; -} - -%link-color { - color: var(--link-color); -} - -%link-underline { - border-bottom: 1px solid var(--link-underline-color); -} - -%clickable-transition { - transition: all 0.3s ease-in-out; -} - -%no-cursor { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -%no-bottom-border { - border-bottom: none; -} - -%cursor-pointer { - cursor: pointer; -} - -%normal-font-style { - font-style: normal; -} - -%rounded { - border-radius: v.$radius-lg; -} - -%img-caption { - + em { - display: block; - text-align: center; - font-style: normal; - font-size: 80%; - padding: 0; - color: #6d6c6c; - } -} - -%sidebar-links { - color: var(--sidebar-muted-color); - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -%text-clip { - display: -webkit-box; - overflow: hidden; - text-overflow: ellipsis; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; -} - -%text-ellipsis { - @include mx.text-ellipsis; -} - -%text-highlight { - color: var(--text-muted-highlight-color); - font-weight: 600; -} - -%text-sm { - font-size: 0.85rem; -} - -%text-xs { - font-size: 0.8rem; -} - -%sup-fn-target { - &:target { - background-color: var(--footnote-target-bg); - width: -moz-fit-content; - width: -webkit-fit-content; - width: fit-content; - transition: background-color 1.75s ease-in-out; - } -} - -%btn-color { - button i { - color: #999999; - } -} - -%code-snippet-bg { - background-color: var(--highlight-bg-color); -} - -%code-snippet-padding { - padding-left: 1rem; - padding-right: 1.5rem; -} - -%max-w-100 { - max-width: 100%; -} - -%panel-border { - border-left: 1px solid var(--main-border-color); -} diff --git a/_sass/abstracts/_variables.scss b/_sass/abstracts/_variables.scss deleted file mode 100644 index 0194e40..0000000 --- a/_sass/abstracts/_variables.scss +++ /dev/null @@ -1,30 +0,0 @@ -/* sidebar */ - -$sidebar-width: 260px !default; /* the basic width */ -$sidebar-width-large: 300px !default; /* screen width: >= 1650px */ -$sb-btn-gap: 0.8rem !default; -$sb-btn-gap-lg: 1rem !default; - -/* other framework sizes */ - -$topbar-height: 3rem !default; -$search-max-width: 200px !default; -$footer-height: 5rem !default; -$footer-height-large: 6rem !default; /* screen width: < 850px */ -$main-content-max-width: 1250px !default; -$radius-sm: 6px !default; -$radius-lg: 10px !default; -$back2top-size: 2.75rem !default; - -/* syntax highlight */ - -$code-font-size: 0.85rem !default; -$code-header-height: 2.25rem !default; -$code-dot-size: 0.75rem !default; -$code-dot-gap: 0.5rem !default; -$code-icon-width: 1.75rem !default; - -/* fonts */ - -$font-family-base: 'Source Sans Pro', 'Microsoft Yahei', sans-serif !default; -$font-family-heading: Lato, 'Microsoft Yahei', sans-serif !default; diff --git a/_sass/base/_base.scss b/_sass/base/_base.scss deleted file mode 100644 index 19f153b..0000000 --- a/_sass/base/_base.scss +++ /dev/null @@ -1,476 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/mixins' as mx; -@use '../abstracts/placeholders'; -@use '../themes/light'; -@use '../themes/dark'; - -:root { - font-size: 16px; -} - -html { - @media (prefers-color-scheme: light) { - &:not([data-mode]), - &[data-mode='light'] { - @include light.styles; - } - - &[data-mode='dark'] { - @include dark.styles; - } - } - - @media (prefers-color-scheme: dark) { - &:not([data-mode]), - &[data-mode='dark'] { - @include dark.styles; - } - - &[data-mode='light'] { - @include light.styles; - } - } - - @include bp.lg { - overflow-y: scroll; - } -} - -body { - background: var(--main-bg); - padding: env(safe-area-inset-top) env(safe-area-inset-right) - env(safe-area-inset-bottom) env(safe-area-inset-left); - color: var(--text-color); - -webkit-font-smoothing: antialiased; - font-family: v.$font-family-base; -} - -h1.dynamic-title { - @include bp.lt(bp.get(lg)) { - display: none; - - ~ .content { - margin-top: 2.5rem; - } - } -} - -main { - &.col-12 { - @include bp.xxxl { - padding-right: 4.5rem !important; - } - } -} - -.preview-img { - aspect-ratio: 40 / 21; - width: 100%; - height: 100%; - overflow: hidden; - - @extend %rounded; - - &:not(.no-bg) { - background: var(--img-bg); - } - - img { - height: 100%; - -o-object-fit: cover; - object-fit: cover; - - @extend %rounded; - - @at-root #post-list & { - width: 100%; - } - } -} - -.post-preview { - @extend %rounded; - - border: 0; - background: var(--card-bg); - box-shadow: var(--card-shadow); - - &::before { - @extend %rounded; - - content: ''; - width: 100%; - height: 100%; - position: absolute; - background-color: var(--card-hovor-bg); - opacity: 0; - transition: opacity 0.35s ease-in-out; - } - - &:hover { - &::before { - opacity: 0.3; - } - } -} - -.post-meta { - @extend %text-sm; - - a { - &:not([class]):hover { - @extend %link-hover; - } - } - - em { - @extend %normal-font-style; - } -} - -.content { - font-size: 1.08rem; - margin-top: 2rem; - overflow-wrap: break-word; - - @include bp.xl { - font-size: 1.03rem; - } - - a { - &.popup { - @extend %no-cursor; - @extend %img-caption; - @include mx.mt-mb(0.5rem); - - cursor: zoom-in; - } - - &:not(.img-link) { - @extend %link-underline; - - &:hover { - @extend %link-hover; - } - } - } - - ol, - ul { - &:not([class]), - &.task-list { - -webkit-padding-start: 1.75rem; - padding-inline-start: 1.75rem; - - li { - margin: 0.25rem 0; - padding-left: 0.25rem; - } - - ol, - ul { - -webkit-padding-start: 1.25rem; - padding-inline-start: 1.25rem; - margin: 0.5rem 0; - } - } - } - - ul.task-list { - -webkit-padding-start: 1.25rem; - padding-inline-start: 1.25rem; - - li { - list-style-type: none; - padding-left: 0; - - /* checkbox icon */ - > i { - width: 2rem; - margin-left: -1.25rem; - color: var(--checkbox-color); - - &.checked { - color: var(--checkbox-checked-color); - } - } - - ul { - -webkit-padding-start: 1.75rem; - padding-inline-start: 1.75rem; - } - } - - input[type='checkbox'] { - margin: 0 0.5rem 0.2rem -1.3rem; - vertical-align: middle; - } - } /* ul */ - - dl > dd { - margin-left: 1rem; - } - - ::marker { - color: var(--text-muted-color); - } - - .table-wrapper > table { - @include bp.lg { - min-width: 70%; - } - } -} /* .content */ - -.tag:hover { - @extend %tag-hover; -} - -.post-tag { - display: inline-block; - min-width: 2rem; - text-align: center; - border-radius: 0.5rem; - border: 1px solid var(--btn-border-color); - padding: 0 0.4rem; - color: var(--text-muted-color); - line-height: 1.3rem; - - &:not(:last-child) { - margin-right: 0.2rem; - } -} - -.rounded-10 { - border-radius: 10px !important; -} - -.img-link { - color: transparent; - display: inline-flex; -} - -.shimmer { - overflow: hidden; - position: relative; - background: var(--img-bg); - - &::before { - content: ''; - position: absolute; - background: var(--shimmer-bg); - height: 100%; - width: 100%; - -webkit-animation: shimmer 1.3s infinite; - animation: shimmer 1.3s infinite; - } - - @-webkit-keyframes shimmer { - 0% { - transform: translateX(-100%); - } - - 100% { - transform: translateX(100%); - } - } - - @keyframes shimmer { - 0% { - transform: translateX(-100%); - } - - 100% { - transform: translateX(100%); - } - } -} - -.embed-video { - width: 100%; - height: 100%; - margin-bottom: 1rem; - aspect-ratio: 16 / 9; - - @extend %rounded; - - &.twitch { - aspect-ratio: 310 / 189; - } - - &.file { - display: block; - width: auto; - height: auto; - max-width: 100%; - max-height: 100%; - margin: auto; - margin-bottom: 0; - } - - @extend %img-caption; -} - -.embed-audio { - width: 100%; - display: block; - - @extend %img-caption; -} - -/* --- Effects classes --- */ - -.flex-grow-1 { - flex-grow: 1 !important; -} - -.btn-box-shadow { - box-shadow: var(--card-shadow); -} - -/* overwrite bootstrap muted */ -.text-muted { - color: var(--text-muted-color) !important; -} - -/* Overwrite bootstrap tooltip */ -.tooltip-inner { - font-size: 0.7rem; - max-width: 220px; - text-align: left; -} - -/* Overwrite bootstrap outline button */ -.btn.btn-outline-primary { - &:not(.disabled):hover { - border-color: #007bff !important; - } -} - -.disabled { - color: rgb(206, 196, 196); - pointer-events: auto; - cursor: not-allowed; -} - -.hide-border-bottom { - border-bottom: none !important; -} - -.input-focus { - box-shadow: none; - border-color: var(--input-focus-border-color) !important; - background: center !important; - transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; -} - -.left { - float: left; - margin: 0.75rem 1rem 1rem 0; -} - -.right { - float: right; - margin: 0.75rem 0 1rem 1rem; -} - -/* --- Overriding --- */ - -/* mermaid */ -.mermaid { - text-align: center; -} - -/* MathJax */ -mjx-container { - overflow-y: hidden; - min-width: auto !important; -} - -@media (hover: hover) { - #sidebar ul > li:last-child::after { - transition: top 0.5s ease; - } - - .nav-link { - transition: background-color 0.3s ease-in-out; - } - - .post-preview { - transition: background-color 0.35s ease-in-out; - } -} - -#mask { - inset: 0 0 0 0; -} - -#main-wrapper { - position: relative; - - @include mx.pl-pr(0); - - @include bp.lt(bp.get(lg)) { - @include mx.slide; - } - - @include bp.lg { - margin-left: v.$sidebar-width; - } - - @include bp.xxxl { - margin-left: v.$sidebar-width-large; - } - - > .container { - min-height: 100vh; - - @include bp.lte(bp.get(md)) { - @include mx.max-w-100; - @include mx.pl-pr(0); - } - - @include bp.lt(bp.get(lg)) { - max-width: 100%; - } - - /* Pad horizontal */ - @include bp.between(992px, calc(#{bp.get(xl)} - 1px)) { - .col-lg-11 { - flex: 0 0 96%; - max-width: 96%; - } - } - - @include bp.lt(bp.get(xl)) { - > .row { - justify-content: center !important; - } - } - - @include bp.xxxl { - max-width: v.$main-content-max-width; - - @include mx.pl-pr(1.75rem, true); - } - } -} - -/* --- basic wrappers --- */ - -#topbar-wrapper.row, -#main-wrapper > .container > .row, -#search-result-wrapper > .row { - @include mx.ml-mr(0); -} - -#tail-wrapper { - @include bp.xxxl { - padding-right: 4.5rem !important; - } - - > :not(script) { - margin-top: 3rem; - } -} diff --git a/_sass/base/_index.scss b/_sass/base/_index.scss deleted file mode 100644 index 611d28f..0000000 --- a/_sass/base/_index.scss +++ /dev/null @@ -1,4 +0,0 @@ -@forward 'reset'; -@forward 'base'; -@forward 'typography'; -@forward 'syntax'; diff --git a/_sass/base/_reset.scss b/_sass/base/_reset.scss deleted file mode 100644 index 1e5a629..0000000 --- a/_sass/base/_reset.scss +++ /dev/null @@ -1,41 +0,0 @@ -@use '../abstracts/mixins' as *; - -::-webkit-input-placeholder { - @include placeholder; -} - -::-moz-placeholder { - @include placeholder; -} - -:-ms-input-placeholder { - @include placeholder; -} - -::-ms-input-placeholder { - @include placeholder; -} - -::placeholder { - @include placeholder; -} - -:focus::-webkit-input-placeholder { - @include placeholder-focus; -} - -:focus::-moz-placeholder { - @include placeholder-focus; -} - -:focus:-ms-input-placeholder { - @include placeholder-focus; -} - -:focus::-ms-input-placeholder { - @include placeholder-focus; -} - -:focus::placeholder { - @include placeholder-focus; -} diff --git a/_sass/base/_syntax.scss b/_sass/base/_syntax.scss deleted file mode 100644 index 69924fc..0000000 --- a/_sass/base/_syntax.scss +++ /dev/null @@ -1,253 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/mixins' as mx; -@use '../abstracts/placeholders'; - -.highlighter-rouge { - color: var(--highlighter-rouge-color); - margin-top: 0.5rem; - margin-bottom: 1.2em; /* Override BS Inline-code style */ -} - -.highlight { - @extend %rounded; - @extend %code-snippet-bg; - - overflow: auto; - padding-bottom: 0.75rem; - - @at-root figure#{&} { - @extend %code-snippet-bg; - } - - pre { - margin-bottom: 0; - font-size: v.$code-font-size; - line-height: 1.4rem; - word-wrap: normal; /* Fixed Safari overflow-x */ - } - - table { - td { - &:first-child { - display: inline-block; - margin-left: 1rem; - margin-right: 0.75rem; - } - - &:last-child { - padding-right: 2rem !important; - } - - pre { - overflow: visible; /* Fixed iOS safari overflow-x */ - word-break: normal; /* Fixed iOS safari linenos code break */ - } - } - } - - .lineno { - text-align: right; - color: var(--highlight-lineno-color); - -webkit-user-select: none; - -moz-user-select: none; - -o-user-select: none; - -ms-user-select: none; - user-select: none; - } -} /* .highlight */ - -code { - -webkit-hyphens: none; - -ms-hyphens: none; - hyphens: none; - color: var(--code-color); - - &.highlighter-rouge { - font-size: v.$code-font-size; - padding: 3px 5px; - word-break: break-word; - border-radius: v.$radius-sm; - background-color: var(--inline-code-bg); - } - - &.filepath { - background-color: inherit; - color: var(--filepath-text-color); - font-weight: 600; - padding: 0; - } - - a > &.highlighter-rouge { - padding-bottom: 0; /* show link's underlinke */ - color: inherit; - } - - a:hover > &.highlighter-rouge { - border-bottom: none; - } - - blockquote & { - color: inherit; - } -} - -td.rouge-code { - @extend %code-snippet-padding; - - /* - Prevent some browser extends from - changing the URL string of code block. - */ - a { - color: inherit !important; - border-bottom: none !important; - pointer-events: none; - } -} - -div[class^='language-'] { - @extend %rounded; - @extend %code-snippet-bg; - - box-shadow: var(--language-border-color) 0 0 0 1px; - - .content > & { - @include mx.ml-mr(-1rem); - - border-radius: 0; - - @include bp.sm { - @include mx.ml-mr(0); - - border-radius: v.$radius-lg; - } - } - - .code-header { - @include bp.sm { - @include mx.ml-mr(0); - - $dot-margin: 1rem; - - &::before { - content: ''; - display: inline-block; - margin-left: $dot-margin; - width: v.$code-dot-size; - height: v.$code-dot-size; - border-radius: 50%; - background-color: var(--code-header-muted-color); - box-shadow: (v.$code-dot-size + v.$code-dot-gap) 0 0 - var(--code-header-muted-color), - (v.$code-dot-size + v.$code-dot-gap) * 2 0 0 - var(--code-header-muted-color); - } - - span { - // center the text of label - margin-left: calc(($dot-margin + v.$code-dot-size) / 2 * -1); - } - } - } - - .highlight { - border-top-left-radius: 0; - border-top-right-radius: 0; - } -} - -/* Hide line numbers for default, console, and terminal code snippets */ -div { - &.nolineno, - &.language-plaintext, - &.language-console, - &.language-terminal { - td:first-child { - padding: 0 !important; - margin-right: 0; - - .lineno { - display: none; - } - } - } -} - -.code-header { - @extend %no-cursor; - - display: flex; - justify-content: space-between; - align-items: center; - height: v.$code-header-height; - margin-left: 0.75rem; - margin-right: 0.25rem; - - /* the label block */ - span { - line-height: v.$code-header-height; - - /* label icon */ - i { - font-size: 1rem; - width: v.$code-icon-width; - color: var(--code-header-icon-color); - - &.small { - font-size: 70%; - } - } - - @at-root [file] #{&} > i { - position: relative; - top: 1px; /* center the file icon */ - } - - /* label text */ - &::after { - content: attr(data-label-text); - font-size: 0.85rem; - font-weight: 600; - color: var(--code-header-text-color); - } - } - - /* clipboard */ - button { - @extend %cursor-pointer; - @extend %rounded; - - border: 1px solid transparent; - height: v.$code-header-height; - width: v.$code-header-height; - padding: 0; - background-color: inherit; - - i { - color: var(--code-header-icon-color); - } - - &[timeout] { - &:hover { - border-color: var(--clipboard-checked-color); - } - - i { - color: var(--clipboard-checked-color); - } - } - - &:focus { - outline: none; - } - - &:not([timeout]):hover { - background-color: rgba(128, 128, 128, 0.37); - - i { - color: white; - } - } - } -} diff --git a/_sass/base/_typography.scss b/_sass/base/_typography.scss deleted file mode 100644 index 4cf3964..0000000 --- a/_sass/base/_typography.scss +++ /dev/null @@ -1,266 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/mixins' as mx; -@use '../abstracts/placeholders'; - -@for $i from 1 through 5 { - h#{$i} { - @extend %heading; - - @if $i > 1 { - @extend %anchor; - } - - @if $i < 5 { - $size-factor: 0.25rem; - - @if $i > 1 { - $size-factor: 0.18rem; - - main & { - @if $i == 2 { - margin: 2.5rem 0 1.25rem; - } @else { - margin: 2rem 0 1rem; - } - } - } - - & { - font-size: 1rem + (5 - $i) * $size-factor; - } - } @else { - font-size: 1.05rem; - } - } -} - -a { - @extend %link-color; - - text-decoration: none; -} - -img { - max-width: 100%; - height: auto; - transition: all 0.35s ease-in-out; - - .blur & { - $blur: 20px; - - -webkit-filter: blur($blur); - filter: blur($blur); - } -} - -blockquote { - border-left: 0.125rem solid var(--blockquote-border-color); - padding-left: 1rem; - color: var(--blockquote-text-color); - margin-top: 0.5rem; - - > p:last-child { - margin-bottom: 0; - } - - &[class^='prompt-'] { - border-left: 0; - position: relative; - padding: 1rem 1rem 1rem 3rem; - color: var(--prompt-text-color); - - @extend %rounded; - - &::before { - text-align: center; - width: 3rem; - position: absolute; - left: 0.25rem; - margin-top: 0.4rem; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - } - } - - @include mx.prompt('tip', '\f0eb', $fa-style: 'regular'); - @include mx.prompt('info', '\f06a', $rotate: 180); - @include mx.prompt('warning', '\f06a'); - @include mx.prompt('danger', '\f071'); -} - -kbd { - font-family: Lato, sans-serif; - display: inline-block; - vertical-align: middle; - line-height: 1.3rem; - min-width: 1.75rem; - text-align: center; - margin: 0 0.3rem; - padding-top: 0.1rem; - color: var(--kbd-text-color); - background-color: var(--kbd-bg-color); - border-radius: v.$radius-sm; - border: solid 1px var(--kbd-wrap-color); - box-shadow: inset 0 -2px 0 var(--kbd-wrap-color); -} - -hr { - border-color: var(--main-border-color); - opacity: 1; -} - -footer { - background-color: var(--main-bg); - height: v.$footer-height; - border-top: 1px solid var(--main-border-color); - - @extend %text-xs; - - a { - @extend %text-highlight; - - &:hover { - @extend %link-hover; - } - } - - em { - @extend %text-highlight; - } - - p { - text-align: center; - margin-bottom: 0; - } -} - -/* fontawesome icons */ -i { - &.far, - &.fas { - @extend %no-cursor; - } -} - -sup { - @extend %sup-fn-target; -} - -main { - line-height: 1.75; - - h1 { - margin-top: 2rem; - - @include bp.lg { - margin-top: 3rem; - } - } - - p { - > a.popup { - &:not(.normal):not(.left):not(.right) { - @include mx.align-center; - } - } - } - - .categories, - #tags, - #archives { - a:not(:hover) { - @extend %no-bottom-border; - } - } - - @include bp.lte(bp.get(sm)) { - .content { - > blockquote[class^='prompt-'] { - @include mx.ml-mr(-1rem); - - border-radius: 0; - max-width: none; - } - } - } -} - -.footnotes > ol { - padding-left: 2rem; - margin-top: 0.5rem; - - > li { - &:not(:last-child) { - margin-bottom: 0.3rem; - } - - @extend %sup-fn-target; - - > p { - margin-left: 0.25em; - - @include mx.mt-mb(0); - } - } -} - -.footnote { - @at-root a#{&} { - @include mx.ml-mr(1px); - @include mx.pl-pr(2px); - - border-bottom-style: none !important; - } -} - -.reversefootnote { - @at-root a#{&} { - font-size: 0.6rem; - line-height: 1; - position: relative; - bottom: 0.25em; - margin-left: 0.25em; - border-bottom-style: none !important; - } -} - -/* --- Begin of Markdown table style --- */ - -/* it will be created by Liquid */ -.table-wrapper { - overflow-x: auto; - margin-bottom: 1.5rem; - - > table { - min-width: 100%; - overflow-x: auto; - border-spacing: 0; - - thead { - border-bottom: solid 2px rgba(210, 215, 217, 0.75); - - th { - @extend %table-cell; - } - } - - tbody { - tr { - border-bottom: 1px solid var(--tb-border-color); - - &:nth-child(2n) { - background-color: var(--tb-even-bg); - } - - &:nth-child(2n + 1) { - background-color: var(--tb-odd-bg); - } - - td { - @extend %table-cell; - } - } - } /* tbody */ - } /* table */ -} diff --git a/_sass/components/_buttons.scss b/_sass/components/_buttons.scss deleted file mode 100644 index bd7363e..0000000 --- a/_sass/components/_buttons.scss +++ /dev/null @@ -1,51 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/breakpoints' as bp; - -#back-to-top { - visibility: hidden; - opacity: 0; - z-index: 1; - cursor: pointer; - position: fixed; - right: 1rem; - bottom: calc(v.$footer-height-large - v.$back2top-size / 2); - background: var(--button-bg); - color: var(--btn-backtotop-color); - padding: 0; - width: v.$back2top-size; - height: v.$back2top-size; - border-radius: 50%; - border: 1px solid var(--btn-backtotop-border-color); - transition: opacity 0.5s ease-in-out, transform 0.2s ease-out; - - @include bp.lg { - right: 5%; - bottom: calc(v.$footer-height - v.$back2top-size / 2); - } - - @include bp.xxl { - right: calc((100vw - v.$sidebar-width - 1140px) / 2 + 3rem); - } - - @include bp.xxxl { - right: calc( - (100vw - v.$sidebar-width-large - v.$main-content-max-width) / 2 + 2rem - ); - } - - &:hover { - transform: translate3d(0, -5px, 0); - -webkit-transform: translate3d(0, -5px, 0); - } - - i { - line-height: v.$back2top-size; - position: relative; - bottom: 2px; - } - - &.show { - opacity: 1; - visibility: visible; - } -} diff --git a/_sass/components/_index.scss b/_sass/components/_index.scss deleted file mode 100644 index ffbb908..0000000 --- a/_sass/components/_index.scss +++ /dev/null @@ -1,2 +0,0 @@ -@forward 'buttons'; -@forward 'popups'; diff --git a/_sass/components/_popups.scss b/_sass/components/_popups.scss deleted file mode 100644 index ca3e2fc..0000000 --- a/_sass/components/_popups.scss +++ /dev/null @@ -1,172 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/placeholders'; - -/* PWA update popup */ -#notification { - @-webkit-keyframes popup { - from { - opacity: 0; - bottom: 0; - } - } - - @keyframes popup { - from { - opacity: 0; - bottom: 0; - } - } - - .toast-header { - background: none; - border-bottom: none; - color: inherit; - } - - .toast-body { - font-family: Lato, sans-serif; - line-height: 1.25rem; - - button { - font-size: 90%; - min-width: 4rem; - } - } - - &.toast { - &.show { - display: block; - min-width: 20rem; - border-radius: 0.5rem; - -webkit-backdrop-filter: blur(10px); - backdrop-filter: blur(10px); - background-color: rgba(255, 255, 255, 0.5); - color: #1b1b1eba; - position: fixed; - left: 50%; - bottom: 20%; - transform: translateX(-50%); - -webkit-animation: popup 0.8s; - animation: popup 0.8s; - } - } -} - -#toc-popup { - $slide-in: slide-in 0.3s ease-out; - $slide-out: slide-out 0.3s ease-out; - $curtain-height: 2rem; - $backdrop: blur(5px); - - border-color: var(--toc-popup-border-color); - border-width: 1px; - border-radius: v.$radius-lg; - color: var(--text-color); - background: var(--card-bg); - margin-top: v.$topbar-height; - min-width: 20rem; - font-size: 1.05rem; - - @include bp.sm { - max-width: 32rem; - } - - &[open] { - -webkit-animation: $slide-in; - animation: $slide-in; - } - - &[closing] { - -webkit-animation: $slide-out; - animation: $slide-out; - } - - @include bp.lg { - left: v.$sidebar-width; - } - - .header { - @extend %btn-color; - - position: -webkit-sticky; - position: sticky; - top: 0; - background-color: inherit; - border-bottom: 1px solid var(--main-border-color); - - .label { - font-family: v.$font-family-heading; - } - } - - button { - > i { - font-size: 1.25rem; - vertical-align: middle; - } - - &:focus-visible { - box-shadow: none; - } - } - - ul { - list-style-type: none; - padding-left: 0; - - li { - ul, - & + li { - margin-top: 0.25rem; - } - - a { - display: flex; - line-height: 1.5; - padding: 0.375rem 0; - padding-right: 1.125rem; - - &.toc-link::before { - display: none; - } - } - } - } - - @for $i from 2 through 4 { - .node-name--H#{$i} { - padding-left: 1.125rem * ($i - 1); - } - } - - .is-active-link { - color: var(--toc-highlight) !important; - font-weight: 600; - } - - &::-webkit-backdrop { - -webkit-backdrop-filter: $backdrop; - backdrop-filter: $backdrop; - } - - &::backdrop { - -webkit-backdrop-filter: $backdrop; - backdrop-filter: $backdrop; - } - - &::after { - display: flex; - content: ''; - position: relative; - background: linear-gradient(transparent, var(--card-bg) 70%); - height: $curtain-height; - } - - #toc-popup-content { - overflow: auto; - max-height: calc(100vh - 4 * v.$topbar-height); - font-family: v.$font-family-heading; - margin-bottom: -$curtain-height; - } -} diff --git a/_sass/layout/_footer.scss b/_sass/layout/_footer.scss deleted file mode 100644 index fd49ea0..0000000 --- a/_sass/layout/_footer.scss +++ /dev/null @@ -1,36 +0,0 @@ -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/variables' as v; -@use '../abstracts/mixins' as mx; -@use '../abstracts/placeholders'; - -footer { - background-color: var(--main-bg); - height: v.$footer-height; - border-top: 1px solid var(--main-border-color); - - @extend %text-xs; - - @include bp.lt(bp.get(lg)) { - @include mx.slide; - - height: v.$footer-height-large; - padding: 1.5rem 0; - } - - a { - @extend %text-highlight; - - &:hover { - @extend %link-hover; - } - } - - em { - @extend %text-highlight; - } - - p { - text-align: center; - margin-bottom: 0; - } -} diff --git a/_sass/layout/_index.scss b/_sass/layout/_index.scss deleted file mode 100644 index fa75daf..0000000 --- a/_sass/layout/_index.scss +++ /dev/null @@ -1,4 +0,0 @@ -@forward 'sidebar'; -@forward 'topbar'; -@forward 'panel'; -@forward 'footer'; diff --git a/_sass/layout/_panel.scss b/_sass/layout/_panel.scss deleted file mode 100644 index c0d5e9e..0000000 --- a/_sass/layout/_panel.scss +++ /dev/null @@ -1,70 +0,0 @@ -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/mixins' as mx; -@use '../abstracts/placeholders'; - -.access { - top: 2rem; - transition: top 0.2s ease-in-out; - margin-top: 3rem; - - &:only-child { - position: -webkit-sticky; - position: sticky; - } - - > section { - @extend %panel-border; - - padding-left: 1rem; - - &:not(:first-child) { - margin-top: 4rem; - } - } - - .content { - font-size: 0.9rem; - } -} - -#panel-wrapper { - /* the headings */ - .panel-heading { - font-family: inherit; - line-height: inherit; - - @include mx.label(inherit); - } - - .post-tag { - line-height: 1.05rem; - font-size: 0.85rem; - border-radius: 0.8rem; - padding: 0.3rem 0.5rem; - margin: 0 0.35rem 0.5rem 0; - - &:hover { - transition: all 0.3s ease-in; - } - } - - > :last-child { - margin-bottom: 4rem; - } - - @include bp.lt(bp.get(xl)) { - display: none; - } -} - -#access-lastmod { - a { - color: inherit; - - &:hover { - @extend %link-hover; - } - - @extend %no-bottom-border; - } -} diff --git a/_sass/layout/_sidebar.scss b/_sass/layout/_sidebar.scss deleted file mode 100644 index eaad470..0000000 --- a/_sass/layout/_sidebar.scss +++ /dev/null @@ -1,258 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/mixins' as mx; -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/placeholders'; - -$btn-border-width: 3px; -$btn-mb: 0.5rem; -$sidebar-display: 'sidebar-display'; /* the attribute for sidebar display */ - -#sidebar { - @include mx.pl-pr(0); - - position: fixed; - top: 0; - left: 0; - height: 100%; - overflow-y: auto; - width: v.$sidebar-width; - background: var(--sidebar-bg); - border-right: 1px solid var(--sidebar-border-color); - - /* Hide scrollbar for IE, Edge and Firefox */ - -ms-overflow-style: none; /* IE and Edge */ - scrollbar-width: none; /* Firefox */ - - /* Hide scrollbar for Chrome, Safari and Opera */ - &::-webkit-scrollbar { - display: none; - } - - @include bp.lt(bp.get(lg)) { - @include mx.slide; - - transform: translateX(-#{v.$sidebar-width}); /* hide */ - -webkit-transform: translateX(-#{v.$sidebar-width}); - - [#{$sidebar-display}] & { - transform: translateX(0); - } - } - - @include bp.xxxl { - width: v.$sidebar-width-large; - } - - %sidebar-link-hover { - &:hover { - color: var(--sidebar-active-color); - } - } - - a { - @extend %sidebar-links; - } - - #avatar { - display: block; - width: 6.5rem; - height: 6.5rem; - overflow: hidden; - box-shadow: var(--avatar-border-color) 0 0 0 2px; - transform: translateZ(0); /* fixed the zoom in Safari */ - - @include bp.sm { - width: 7rem; - height: 7rem; - } - - img { - transition: transform 0.5s; - - &:hover { - transform: scale(1.2); - } - } - } - - .profile-wrapper { - @include mx.mt-mb(2.5rem); - @extend %clickable-transition; - - padding-left: 2.5rem; - padding-right: 1.25rem; - width: 100%; - - @include bp.lg { - margin-top: 3rem; - } - - @include bp.xxxl { - margin-top: 3.5rem; - margin-bottom: 2.5rem; - padding-left: 3.5rem; - } - } - - .site-title { - @extend %clickable-transition; - @extend %sidebar-link-hover; - - font-family: inherit; - font-weight: 900; - font-size: 1.75rem; - line-height: 1.2; - letter-spacing: 0.25px; - margin-top: 1.25rem; - margin-bottom: 0.5rem; - width: fit-content; - color: var(--site-title-color); - } - - .site-subtitle { - font-size: 95%; - color: var(--site-subtitle-color); - margin-top: 0.25rem; - word-spacing: 1px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - } - - ul { - margin-bottom: 2rem; - - li.nav-item { - opacity: 0.9; - width: 100%; - - @include mx.pl-pr(1.5rem); - - @include bp.xxxl { - @include mx.pl-pr(2.75rem); - } - - a.nav-link { - @include mx.pt-pb(0.6rem); - - display: flex; - align-items: center; - border-radius: 0.75rem; - font-weight: 600; - - &:hover { - background-color: var(--sidebar-hover-bg); - } - - i { - font-size: 95%; - opacity: 0.8; - margin-right: 1.5rem; - } - - span { - font-size: 90%; - letter-spacing: 0.2px; - } - } - - &.active { - .nav-link { - color: var(--sidebar-active-color); - background-color: var(--sidebar-hover-bg); - - span { - opacity: 1; - } - } - } - - &:not(:first-child) { - margin-top: 0.25rem; - } - } - } - - .sidebar-bottom { - padding-left: 2rem; - padding-right: 1rem; - margin-bottom: 1.5rem; - - @include bp.xxxl { - padding-left: 2.75rem; - margin-bottom: 1.75rem; - } - - $btn-size: 1.75rem; - - %button { - width: $btn-size; - height: $btn-size; - margin-bottom: $btn-mb; // multi line gap - border-radius: 50%; - color: var(--sidebar-btn-color); - background-color: var(--sidebar-btn-bg); - text-align: center; - display: flex; - align-items: center; - justify-content: center; - - &:not(:focus-visible) { - box-shadow: var(--sidebar-border-color) 0 0 0 1px; - } - - &:hover { - background-color: var(--sidebar-hover-bg); - } - } - - a { - @extend %button; - @extend %sidebar-link-hover; - @extend %clickable-transition; - - &:not(:last-child) { - margin-right: v.$sb-btn-gap; - - @include bp.xxxl { - margin-right: v.$sb-btn-gap-lg; - } - } - } - - i { - line-height: $btn-size; - } - - #mode-toggle { - @extend %button; - @extend %sidebar-links; - @extend %sidebar-link-hover; - } - - .icon-border { - @extend %no-cursor; - @include mx.ml-mr(calc((v.$sb-btn-gap - $btn-border-width) / 2)); - - background-color: var(--sidebar-btn-color); - content: ''; - width: $btn-border-width; - height: $btn-border-width; - border-radius: 50%; - margin-bottom: $btn-mb; - - @include bp.xxxl { - @include mx.ml-mr(calc((v.$sb-btn-gap-lg - $btn-border-width) / 2)); - } - } - } /* .sidebar-bottom */ -} /* #sidebar */ - -[#{$sidebar-display}] { - #main-wrapper { - @include bp.lt(bp.get(lg)) { - transform: translateX(v.$sidebar-width); - } - } -} diff --git a/_sass/layout/_topbar.scss b/_sass/layout/_topbar.scss deleted file mode 100644 index eb0aea9..0000000 --- a/_sass/layout/_topbar.scss +++ /dev/null @@ -1,86 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/mixins' as mx; -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/placeholders'; - -#topbar-wrapper { - height: v.$topbar-height; - background-color: var(--topbar-bg); - - @include bp.lt(bp.get(lg)) { - @include mx.slide(top 0.2s ease); - - left: 0; - } -} - -#topbar { - @extend %btn-color; - - #breadcrumb { - font-size: 1rem; - color: var(--text-muted-color); - padding-left: 0.5rem; - - a:hover { - @extend %link-hover; - } - - span { - &:not(:last-child) { - &::after { - content: '›'; - padding: 0 0.3rem; - } - } - } - - @include bp.lt(bp.get(lg)) { - display: none; - } - - @include bp.between(bp.get(lg), calc(#{bp.get(xl)} - 1px)) { - width: 65%; - overflow: hidden; - text-overflow: ellipsis; - word-break: keep-all; - white-space: nowrap; - } - } - - @include bp.lte(bp.get(md)) { - @include mx.max-w-100; - } - - @include bp.lt(bp.get(lg)) { - max-width: 100%; - } -} - -#topbar-title { - display: none; - font-size: 1.1rem; - font-weight: 600; - font-family: sans-serif; - color: var(--topbar-text-color); - text-align: center; - width: 70%; - word-break: keep-all; - - @include bp.lt(bp.get(lg)) { - display: block; - } - - @include bp.lg { - text-align: left; - } -} - -#sidebar-trigger, -#search-trigger { - display: none; - - @include bp.lt(bp.get(lg)) { - display: block; - } -} diff --git a/_sass/main.bundle.scss b/_sass/main.bundle.scss deleted file mode 100644 index 5d84f93..0000000 --- a/_sass/main.bundle.scss +++ /dev/null @@ -1,2 +0,0 @@ -@use 'vendors/bootstrap'; -@use 'main'; diff --git a/_sass/main.scss b/_sass/main.scss deleted file mode 100644 index 3bbb70d..0000000 --- a/_sass/main.scss +++ /dev/null @@ -1,4 +0,0 @@ -@forward 'base'; -@forward 'components'; -@forward 'layout'; -@forward 'pages'; diff --git a/_sass/pages/_archives.scss b/_sass/pages/_archives.scss deleted file mode 100644 index 86e77a8..0000000 --- a/_sass/pages/_archives.scss +++ /dev/null @@ -1,140 +0,0 @@ -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/placeholders'; - -#archives { - letter-spacing: 0.03rem; - - @include bp.lt(bp.get(sm)) { - margin-top: -1rem; - - ul { - letter-spacing: 0; - } - } - - $timeline-width: 4px; - - %timeline { - content: ''; - width: $timeline-width; - position: relative; - float: left; - background-color: var(--timeline-color); - } - - .year { - height: 3.5rem; - font-size: 1.5rem; - position: relative; - left: 2px; - margin-left: -$timeline-width; - - &::before { - @extend %timeline; - - height: 72px; - left: 79px; - bottom: 16px; - } - - &:first-child::before { - @extend %timeline; - - height: 32px; - top: 24px; - } - - /* Year dot */ - &::after { - content: ''; - display: inline-block; - position: relative; - border-radius: 50%; - width: 12px; - height: 12px; - left: 21.5px; - border: 3px solid; - background-color: var(--timeline-year-dot-color); - border-color: var(--timeline-node-bg); - box-shadow: 0 0 2px 0 #c2c6cc; - z-index: 1; - } - } - - ul { - li { - font-size: 1.1rem; - line-height: 3rem; - - @extend %text-ellipsis; - - &:nth-child(odd) { - background-color: var(--main-bg, #ffffff); - background-image: linear-gradient( - to left, - #ffffff, - #fbfbfb, - #fbfbfb, - #fbfbfb, - #ffffff - ); - } - - &::before { - @extend %timeline; - - top: 0; - left: 77px; - height: 3.1rem; - } - } - - &:last-child li:last-child::before { - height: 1.5rem; - } - } /* #archives ul */ - - .date { - white-space: nowrap; - display: inline-block; - position: relative; - right: 0.5rem; - - &.month { - width: 1.4rem; - text-align: center; - } - - &.day { - font-size: 85%; - font-family: Lato, sans-serif; - } - } - - a { - /* post title in Archvies */ - margin-left: 2.5rem; - position: relative; - top: 0.1rem; - - &:hover { - border-bottom: none; - } - - &::before { - /* the dot before post title */ - content: ''; - display: inline-block; - position: relative; - border-radius: 50%; - width: 8px; - height: 8px; - float: left; - top: 1.35rem; - left: 71px; - background-color: var(--timeline-node-bg); - box-shadow: 0 0 3px 0 #c2c6cc; - z-index: 1; - } - } -} /* #archives */ diff --git a/_sass/pages/_categories.scss b/_sass/pages/_categories.scss deleted file mode 100644 index 64a2df5..0000000 --- a/_sass/pages/_categories.scss +++ /dev/null @@ -1,82 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/placeholders'; - -%-category-icon-color { - color: gray; -} - -.categories { - margin-bottom: 2rem; - border-color: var(--categories-border); - - &.card, - .list-group { - @extend %rounded; - } - - .card-header { - $radius: calc(v.$radius-lg - 1px); - - padding: 0.75rem; - border-radius: $radius; - border-bottom: 0; - - &.hide-border-bottom { - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - } - } - - i { - @extend %-category-icon-color; - - font-size: 86%; /* fontawesome icons */ - } - - .list-group-item { - border-left: none; - border-right: none; - padding-left: 2rem; - - &:first-child { - border-top-left-radius: 0; - border-top-right-radius: 0; - } - - &:last-child { - border-bottom: 0; - } - } -} /* .categories */ - -.category-trigger { - width: 1.7rem; - height: 1.7rem; - border-radius: 50%; - text-align: center; - color: #6c757d !important; - - i { - position: relative; - height: 0.7rem; - width: 1rem; - transition: transform 300ms ease; - } - - &:hover { - i { - color: var(--categories-icon-hover-color); - } - } -} - -/* only works on desktop */ -@media (hover: hover) { - .category-trigger:hover { - background-color: var(--categories-hover-bg); - } -} - -.rotate { - transform: rotate(-90deg); -} diff --git a/_sass/pages/_category-tag.scss b/_sass/pages/_category-tag.scss deleted file mode 100644 index 0a82712..0000000 --- a/_sass/pages/_category-tag.scss +++ /dev/null @@ -1,63 +0,0 @@ -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/mixins' as mx; -@use '../abstracts/placeholders'; - -.dash { - margin: 0 0.5rem 0.6rem 0.5rem; - border-bottom: 2px dotted var(--dash-color); -} - -#page-category, -#page-tag { - ul > li { - line-height: 1.5rem; - padding: 0.6rem 0; - - /* dot */ - &::before { - background: #999999; - width: 5px; - height: 5px; - border-radius: 50%; - display: block; - content: ''; - position: relative; - top: 0.6rem; - margin-right: 0.5rem; - - @include bp.lt(bp.get(sm)) { - margin: 0 0.5rem; - } - } - - /* post's title */ - > a { - @extend %no-bottom-border; - - font-size: 1.1rem; - - @include bp.lt(bp.get(sm)) { - @include mx.text-ellipsis; - } - } - } -} - -/* tag icon */ -#page-tag h1 > i { - font-size: 1.2rem; -} - -#page-category h1 > i { - font-size: 1.25rem; -} - -#page-category, -#page-tag, -#access-lastmod { - a:hover { - @extend %link-hover; - - margin-bottom: -1px; /* Avoid jumping */ - } -} diff --git a/_sass/pages/_home.scss b/_sass/pages/_home.scss deleted file mode 100644 index 7a4bbf9..0000000 --- a/_sass/pages/_home.scss +++ /dev/null @@ -1,173 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/placeholders'; - -#post-list { - margin-top: 2rem; - - @include bp.lg { - margin-top: 2.5rem; - } - - .card-wrapper { - &:hover { - text-decoration: none; - } - - &:not(:last-child) { - margin-bottom: 1.25rem; - } - } - - .card { - border: 0; - background: none; - - %img-radius { - border-radius: v.$radius-lg v.$radius-lg 0 0; - - @include bp.md { - border-radius: 0 v.$radius-lg v.$radius-lg 0; - } - } - - .preview-img { - @extend %img-radius; - - img { - @extend %img-radius; - } - } - - .card-body { - height: 100%; - padding: 1rem; - - @include bp.md { - padding: 1.75rem 1.75rem 1.25rem; - } - - .card-title { - @extend %text-clip; - - color: var(--heading-color) !important; - font-size: 1.25rem; - } - - %muted { - color: var(--text-muted-color) !important; - } - - .card-text { - @include bp.md { - display: inherit !important; - } - - &.content { - @extend %muted; - - p { - @extend %text-clip; - - line-height: 1.5; - margin: 0; - } - } - } - - .post-meta { - @extend %muted; - - i { - &:not(:first-child) { - margin-left: 1.5rem; - - @include bp.md { - margin-left: 1.75rem; - } - } - } - - em { - @extend %normal-font-style; - - color: inherit; - } - - > div:first-child { - display: block; - - @extend %text-ellipsis; - } - } - } - } -} /* #post-list */ - -.pagination { - color: var(--text-color); - font-family: Lato, sans-serif; - justify-content: space-evenly; - - @include bp.lg { - font-size: 0.85rem; - justify-content: center; - } - - a:hover { - text-decoration: none; - } - - .page-item { - @include bp.lt(bp.get(lg)) { - &:not(:first-child):not(:last-child) { - display: none; - } - } - - @include bp.lg { - &:not(:last-child) { - margin-right: 0.7rem; - } - } - - .page-link { - color: var(--btn-patinator-text-color); - padding: 0 0.6rem; - display: -webkit-box; - -webkit-box-pack: center; - -webkit-box-align: center; - border-radius: 0.5rem; - border: 0; - background-color: inherit; - } - - &.active { - .page-link { - background-color: var(--btn-paginator-hover-color); - } - } - - &:not(.active) { - .page-link { - &:hover { - box-shadow: inset var(--btn-border-color) 0 0 0 1px; - } - } - } - - &.disabled { - cursor: not-allowed; - - .page-link { - color: rgba(108, 117, 125, 0.57); - } - } - } /* .page-item */ - - .page-index { - @include bp.lg { - display: none; - } - } -} diff --git a/_sass/pages/_index.scss b/_sass/pages/_index.scss deleted file mode 100644 index 74e9ea6..0000000 --- a/_sass/pages/_index.scss +++ /dev/null @@ -1,7 +0,0 @@ -@forward 'search'; -@forward 'home'; -@forward 'post'; -@forward 'categories'; -@forward 'tags'; -@forward 'archives'; -@forward 'category-tag'; diff --git a/_sass/pages/_post.scss b/_sass/pages/_post.scss deleted file mode 100644 index 12a301f..0000000 --- a/_sass/pages/_post.scss +++ /dev/null @@ -1,498 +0,0 @@ -@use '../abstracts/variables' as v; -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/mixins' as mx; -@use '../abstracts/placeholders'; - -%-btn-post-nav { - width: 50%; - position: relative; - border-color: var(--btn-border-color); -} - -@mixin -dot($pl: 0.25rem, $pr: 0.25rem) { - content: '\2022'; - padding-left: $pl; - padding-right: $pr; -} - -header { - .post-desc { - @extend %heading; - - font-size: 1.125rem; - line-height: 1.6; - } - - .post-meta { - span + span::before { - @include -dot; - } - - em, - time { - @extend %text-highlight; - } - - em { - a { - color: inherit; - } - } - } - - h1 + .post-meta { - margin-top: 1.5rem; - } -} - -.post-tail-wrapper { - @extend %text-sm; - - margin-top: 6rem; - border-bottom: 1px double var(--main-border-color); - - .license-wrapper { - line-height: 1.2rem; - - > a { - @extend %text-highlight; - - &:hover { - @extend %link-hover; - } - } - - span:last-child { - @extend %text-sm; - } - } /* .license-wrapper */ - - .post-meta a:not(:hover) { - @extend %link-underline; - } - - .share-wrapper { - vertical-align: middle; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - - %icon-size { - font-size: 1.125rem; - } - - .share-icons { - display: flex; - - i { - color: var(--btn-share-color); - - @extend %icon-size; - } - - > * { - @extend %icon-size; - - margin-left: 0.5rem; - - &:hover { - i { - @extend %btn-share-hover; - } - } - } - - button { - padding: 0; - border: none; - line-height: inherit; - - @extend %cursor-pointer; - } - } /* .share-icons */ - } /* .share-wrapper */ -} - -.post-tail-bottom { - @include bp.lte(bp.get(sm)) { - flex-wrap: wrap-reverse !important; - - > div:first-child { - width: 100%; - margin-top: 1rem; - } - } -} - -.share-mastodon { - /* See: https://github.com/justinribeiro/share-to-mastodon#properties */ - --wc-stm-font-family: v.$font-family-base; - --wc-stm-dialog-background-color: var(--card-bg); - --wc-stm-form-button-border: 1px solid var(--btn-border-color); - --wc-stm-form-submit-background-color: var(--sidebar-btn-bg); - --wc-stm-form-cancel-background-color: var(--sidebar-btn-bg); - --wc-stm-form-button-background-color-hover: #007bff; - --wc-stm-form-button-color-hover: white; - - font-size: 1rem; -} - -.post-tags { - line-height: 2rem; - - .post-tag { - &:hover { - @extend %link-hover; - @extend %tag-hover; - @extend %no-bottom-border; - } - } -} - -.post-navigation { - @include bp.lt(bp.get(lg)) { - @include mx.pl-pr(0); - @include mx.ml-mr(-0.5rem); - } - - .btn { - @extend %-btn-post-nav; - - &:not(:hover) { - color: var(--link-color); - } - - &:hover { - &:not(.disabled)::before { - color: whitesmoke; - } - } - - &.disabled { - @extend %-btn-post-nav; - - pointer-events: auto; - cursor: not-allowed; - background: none; - color: gray; - } - - &.btn-outline-primary.disabled:focus { - box-shadow: none; - } - - &::before { - color: var(--text-muted-color); - font-size: 0.65rem; - text-transform: uppercase; - content: attr(aria-label); - } - - &:first-child { - border-radius: v.$radius-lg 0 0 v.$radius-lg; - left: 0.5px; - } - - &:last-child { - border-radius: 0 v.$radius-lg v.$radius-lg 0; - right: 0.5px; - } - } - - p { - font-size: 1.1rem; - line-height: 1.5rem; - margin-top: 0.3rem; - white-space: normal; - } -} /* .post-navigation */ - -@media (hover: hover) { - .post-navigation { - .btn, - .btn::before { - transition: all 0.35s ease-in-out; - } - } -} - -@-webkit-keyframes fade-up { - from { - opacity: 0; - margin-top: 4rem; - } - - to { - opacity: 1; - } -} - -@keyframes fade-up { - from { - opacity: 0; - margin-top: 4rem; - } - - to { - opacity: 1; - } -} - -/* TOC panel */ - -%top-cover { - content: ''; - display: block; - position: -webkit-sticky; - position: sticky; - top: 0; - width: 100%; - height: 3rem; - background: linear-gradient(var(--main-bg) 50%, transparent); -} - -#toc-wrapper { - top: 0; - transition: top 0.2s ease-in-out; - overflow-y: auto; - max-height: 100vh; - scrollbar-width: none; - margin-top: 2rem; - - &:not(.invisible) { - -webkit-animation: fade-up 0.8s; - animation: fade-up 0.8s; - } - - ul { - list-style: none; - font-size: 0.85rem; - line-height: 1.25; - padding-left: 0; - - li { - a { - padding: 0.4rem 0 0.4rem 1.25rem; - } - } - - /* Overwrite TOC plugin style */ - - .toc-link { - display: block; - - @extend %text-ellipsis; - - &:hover { - color: var(--toc-highlight); - text-decoration: none; - } - - &::before { - display: none; - } - } - - .is-active-link { - color: var(--toc-highlight) !important; - font-weight: 600; - - &::before { - display: inline-block; - width: 1px; - height: 1.25rem; - background-color: var(--toc-highlight) !important; - } - } - - ul { - padding-left: 0.75rem; - } - } - - @at-root .toc-border-cover { - @extend %top-cover; - - margin-bottom: -4rem; - } - - &::before { - @extend %top-cover; - } - - &::after { - content: ''; - position: fixed; - bottom: 0; - width: 15%; - height: 2.25rem; - margin-left: -1px; - background: linear-gradient(transparent, var(--main-bg) 70%); - } - - > * { - @extend %panel-border; - } -} - -/* --- TOC button, bar and popup in mobile/tablet --- */ - -#toc-bar { - position: -webkit-sticky; - position: sticky; - top: 0; - z-index: 1; - margin: 0 -1rem; - height: v.$topbar-height; - background: var(--main-bg); - border-bottom: 1px solid var(--main-border-color); - transition: all 0.2s ease-in-out; - - @extend %btn-color; - - @include bp.xl { - display: none !important; - } - - .label { - @extend %heading; - - margin-left: 0.375rem; - padding: 0 0.75rem; - color: inherit; - } - - &.invisible { - top: -#{v.$topbar-height}; - transition: none; - } -} - -#toc-solo-trigger { - color: var(--text-muted-color); - border-color: var(--btn-border-color); - border-radius: v.$radius-lg; - - @include bp.xl { - display: none !important; - } - - .label { - font-size: 1rem; - font-family: v.$font-family-heading; - } - - &:hover { - box-shadow: none; - background: none; - } -} - -@mixin slide-in { - from { - opacity: 0.7; - transform: translateY(-#{v.$topbar-height}); - } - - to { - opacity: 1; - transform: translateY(0); - } -} - -@mixin slide-out { - 0% { - transform: translateY(0); - opacity: 1; - } - - 100% { - transform: translateY(-#{v.$topbar-height}); - opacity: 0; - } -} - -@-webkit-keyframes slide-in { - @include slide-in; -} - -@keyframes slide-in { - @include slide-in; -} - -@-webkit-keyframes slide-out { - @include slide-out; -} - -@keyframes slide-out { - @include slide-out; -} - -/* --- Related Posts --- */ - -#related-posts { - > h3 { - @include mx.label(1.1rem, 600); - } - - time { - @extend %normal-font-style; - @extend %text-xs; - - color: var(--text-muted-color); - } - - p { - @extend %text-ellipsis; - - font-size: 0.9rem; - margin-bottom: 0.5rem; - white-space: break-spaces; - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - } - - .card { - h4 { - @extend %text-clip; - } - } -} - -/* stylelint-disable-next-line selector-id-pattern */ -#disqus_thread { - min-height: 8.5rem; -} - -.utterances { - max-width: 100%; - min-height: 269px; -} - -%btn-share-hover { - color: var(--btn-share-hover-color) !important; -} - -.share-label { - @include mx.label(inherit, 400, inherit); - - &::after { - content: ':'; - } -} - -.content > p > img { - @include bp.lte(bp.get(md)) { - max-width: calc(100% + 1rem); - } -} - -h2, -h3, -h4 { - @include bp.xl { - scroll-margin-top: 2rem; - } -} diff --git a/_sass/pages/_search.scss b/_sass/pages/_search.scss deleted file mode 100644 index dfb044e..0000000 --- a/_sass/pages/_search.scss +++ /dev/null @@ -1,184 +0,0 @@ -@use '../abstracts/breakpoints' as bp; -@use '../abstracts/variables' as v; -@use '../abstracts/placeholders'; - -search { - display: flex; - width: 100%; - border-radius: 1rem; - border: 1px solid var(--search-border-color); - background: var(--main-bg); - padding: 0 0.5rem; - - i { - z-index: 2; - font-size: 0.9rem; - color: var(--search-icon-color); - } - - @include bp.lt(bp.get(lg)) { - display: none; - } - - @include bp.lg { - max-width: v.$search-max-width; - } - - @include bp.xl { - margin-right: 4rem; - } - - @include bp.xxxl { - margin-right: calc( - v.$main-content-max-width / 4 - v.$search-max-width - 0.75rem - ); - } -} - -#search-result-wrapper { - display: none; - height: 100%; - width: 100%; - overflow: auto; - - .content { - margin-top: 2rem; - } - - @include bp.lt(bp.get(lg)) { - width: 100%; - - .content { - letter-spacing: 0; - } - } - - @include bp.lg { - max-width: v.$main-content-max-width; - justify-content: start !important; - } -} - -#search-results { - padding-bottom: 3rem; - - @include bp.between(bp.get(lg), calc(#{bp.get(xl)} - 1px)) { - > div { - max-width: 700px; - } - } - - a { - font-size: 1.4rem; - line-height: 1.5rem; - - &:hover { - @extend %link-hover; - } - - @extend %link-color; - @extend %no-bottom-border; - @extend %heading; - } - - > article { - width: 100%; - - &:not(:last-child) { - margin-bottom: 1rem; - } - - @include bp.xl { - width: 45%; - - &:nth-child(odd) { - margin-right: 1.5rem; - } - - &:nth-child(even) { - margin-left: 1.5rem; - } - - &:last-child:nth-child(odd) { - position: relative; - right: 24.3%; - } - } - - h2 { - line-height: 2.5rem; - } - - /* icons */ - i { - color: #818182; - margin-right: 0.15rem; - font-size: 80%; - } - - > p { - @extend %text-ellipsis; - - white-space: break-spaces; - display: -webkit-box; - -webkit-line-clamp: 3; - -webkit-box-orient: vertical; - } - } -} - -/* 'Cancel' link */ -#search-cancel { - color: var(--link-color); - display: none; - white-space: nowrap; - - @extend %cursor-pointer; -} - -#search-input { - background: center; - border: 0; - border-radius: 0; - padding: 0.18rem 0.3rem; - color: var(--text-color); - height: auto; - - &:focus { - box-shadow: none; - } - - @include bp.xl { - transition: all 0.3s ease-in-out; - } -} - -#search-hints { - padding: 0 1rem; - - @include bp.lg { - display: none; - } - - h4 { - margin-bottom: 1.5rem; - } - - .post-tag { - display: inline-block; - line-height: 1rem; - font-size: 1rem; - background: var(--search-tag-bg); - border: none; - padding: 0.5rem; - margin: 0 1.25rem 1rem 0; - - &::before { - content: '#'; - color: var(--text-muted-color); - padding-right: 0.2rem; - } - - @extend %link-color; - } -} diff --git a/_sass/pages/_tags.scss b/_sass/pages/_tags.scss deleted file mode 100644 index d22f20d..0000000 --- a/_sass/pages/_tags.scss +++ /dev/null @@ -1,23 +0,0 @@ -@use '../abstracts/breakpoints' as bp; - -.tag { - border-radius: 0.7em; - padding: 6px 8px 7px; - margin-right: 0.8rem; - line-height: 3rem; - letter-spacing: 0; - border: 1px solid var(--tag-border) !important; - box-shadow: 0 0 3px 0 var(--tag-shadow); - - span { - margin-left: 0.6em; - font-size: 0.7em; - font-family: Oswald, sans-serif; - } -} - -#tags { - @include bp.lt(bp.get(lg)) { - justify-content: center !important; - } -} diff --git a/_sass/themes/_dark.scss b/_sass/themes/_dark.scss deleted file mode 100644 index 8c2f6ea..0000000 --- a/_sass/themes/_dark.scss +++ /dev/null @@ -1,303 +0,0 @@ -@mixin styles { - color-scheme: dark; - - /* Framework color */ - --main-bg: rgb(27, 27, 30); - --mask-bg: rgb(68, 69, 70); - --main-border-color: rgb(44, 45, 45); - - /* Common color */ - --text-color: rgb(175, 176, 177); - --text-muted-color: #868686; - --text-muted-highlight-color: #aeaeae; - --heading-color: #cccccc; - --label-color: #a7a7a7; - --blockquote-border-color: rgb(66, 66, 66); - --blockquote-text-color: #868686; - --link-color: rgb(138, 180, 248); - --link-underline-color: rgb(82, 108, 150); - --button-bg: #1e1e1e; - --btn-border-color: #2e2f31; - --btn-backtotop-color: var(--text-color); - --btn-backtotop-border-color: #212122; - --card-header-bg: #292929; - --checkbox-color: rgb(118, 120, 121); - --checkbox-checked-color: var(--link-color); - --img-bg: radial-gradient(circle, rgb(22, 22, 24) 0%, rgb(32, 32, 32) 100%); - --shimmer-bg: linear-gradient( - 90deg, - rgba(255, 255, 255, 0) 0%, - rgba(58, 55, 55, 0.4) 50%, - rgba(255, 255, 255, 0) 100% - ); - - /* Sidebar */ - --site-title-color: #717070; - --site-subtitle-color: #868686; - --sidebar-bg: #1e1e1e; - --sidebar-border-color: #292929; - --sidebar-muted-color: #868686; - --sidebar-active-color: rgb(255, 255, 255, 0.95); - --sidebar-hover-bg: #262626; - --sidebar-btn-bg: #232328; - --sidebar-btn-color: #787878; - --avatar-border-color: rgb(206, 206, 206, 0.9); - - /* Topbar */ - --topbar-bg: rgb(27, 27, 30, 0.64); - --topbar-text-color: var(--text-color); - --search-border-color: rgb(55, 55, 55); - --search-icon-color: rgb(100, 102, 105); - --input-focus-border-color: rgb(112, 114, 115); - - /* Home page */ - --post-list-text-color: rgb(175, 176, 177); - --btn-patinator-text-color: var(--text-color); - --btn-paginator-hover-color: #2e2e2e; - - /* Posts */ - --toc-highlight: rgb(116, 178, 243); - --toc-popup-border-color: #373737; - --tag-hover: rgb(43, 56, 62); - --tb-odd-bg: #252526; /* odd rows of the posts' table */ - --tb-even-bg: rgb(31, 31, 34); /* even rows of the posts' table */ - --tb-border-color: var(--tb-odd-bg); - --footnote-target-bg: rgb(63, 81, 181); - --btn-share-color: #6c757d; - --btn-share-hover-color: #bfc1ca; - --card-bg: #1e1e1e; - --card-hovor-bg: #464d51; - --card-shadow: rgb(21, 21, 21, 0.72) 0 6px 18px 0, - rgb(137, 135, 135, 0.24) 0 0 0 1px; - --kbd-wrap-color: #6a6a6a; - --kbd-text-color: #d3d3d3; - --kbd-bg-color: #242424; - --prompt-text-color: rgb(216, 212, 212, 0.75); - --prompt-tip-bg: rgb(22, 60, 36, 0.64); - --prompt-tip-icon-color: rgb(15, 164, 15, 0.81); - --prompt-info-bg: rgb(7, 59, 104, 0.8); - --prompt-info-icon-color: #0075d1; - --prompt-warning-bg: rgb(90, 69, 3, 0.88); - --prompt-warning-icon-color: rgb(255, 165, 0, 0.8); - --prompt-danger-bg: rgb(86, 28, 8, 0.8); - --prompt-danger-icon-color: #cd0202; - - /* Tags */ - --tag-border: rgb(59, 79, 88); - --tag-shadow: rgb(32, 33, 33); - --dash-color: rgb(63, 65, 68); - --search-tag-bg: #292828; - - /* Categories */ - --categories-border: rgb(64, 66, 69, 0.5); - --categories-hover-bg: rgb(73, 75, 76); - --categories-icon-hover-color: white; - - /* Archive */ - --timeline-node-bg: rgb(150, 152, 156); - --timeline-color: rgb(63, 65, 68); - --timeline-year-dot-color: var(--timeline-color); - - /* Code highlight colors */ - --language-border-color: #2d2d2d; - --highlight-bg-color: #151515; - --highlighter-rouge-color: #c9def1; - --highlight-lineno-color: #808080; - --inline-code-bg: rgba(255, 255, 255, 0.05); - --code-color: #b0b0b0; - --code-header-text-color: #6a6a6a; - --code-header-muted-color: #353535; - --code-header-icon-color: #565656; - --clipboard-checked-color: #2bcc2b; - --filepath-text-color: #cacaca; - - .light { - display: none; - } - - /* Categories */ - .categories.card, - .list-group-item { - background-color: var(--card-bg); - } - - .categories { - .card-header { - background-color: var(--card-header-bg); - } - - .list-group-item { - border-left: none; - border-right: none; - padding-left: 2rem; - border-color: var(--categories-border); - - &:last-child { - border-bottom-color: var(--card-bg); - } - } - } - - #archives li:nth-child(odd) { - background-image: linear-gradient( - to left, - rgb(26, 26, 30), - rgb(39, 39, 45), - rgb(39, 39, 45), - rgb(39, 39, 45), - rgb(26, 26, 30) - ); - } - - /* stylelint-disable-next-line selector-id-pattern */ - #disqus_thread { - color-scheme: none; - } - - /* --- Syntax highlight theme from `rougify style base16.dark` --- */ - - .highlight .gp { - color: #87939d; - } - - .highlight table td { - padding: 5px; - } - - .highlight table pre { - margin: 0; - } - - .highlight, - .highlight .w { - color: #d0d0d0; - background-color: #151515; - } - - .highlight .err { - color: #151515; - background-color: #ac4142; - } - - .highlight .c, - .highlight .ch, - .highlight .cd, - .highlight .cm, - .highlight .cpf, - .highlight .c1, - .highlight .cs { - color: #848484; - } - - .highlight .cp { - color: #f4bf75; - } - - .highlight .nt { - color: #f4bf75; - } - - .highlight .o, - .highlight .ow { - color: #d0d0d0; - } - - .highlight .p, - .highlight .pi { - color: #d0d0d0; - } - - .highlight .gi { - color: #90a959; - } - - .highlight .gd { - color: #f08a8b; - background-color: #320000; - } - - .highlight .gh { - color: #6a9fb5; - background-color: #151515; - font-weight: bold; - } - - .highlight .k, - .highlight .kn, - .highlight .kp, - .highlight .kr, - .highlight .kv { - color: #aa759f; - } - - .highlight .kc { - color: #d28445; - } - - .highlight .kt { - color: #d28445; - } - - .highlight .kd { - color: #d28445; - } - - .highlight .s, - .highlight .sb, - .highlight .sc, - .highlight .dl, - .highlight .sd, - .highlight .s2, - .highlight .sh, - .highlight .sx, - .highlight .s1 { - color: #90a959; - } - - .highlight .sa { - color: #aa759f; - } - - .highlight .sr { - color: #75b5aa; - } - - .highlight .si { - color: #b76d45; - } - - .highlight .se { - color: #b76d45; - } - - .highlight .nn { - color: #f4bf75; - } - - .highlight .nc { - color: #f4bf75; - } - - .highlight .no { - color: #f4bf75; - } - - .highlight .na { - color: #6a9fb5; - } - - .highlight .m, - .highlight .mb, - .highlight .mf, - .highlight .mh, - .highlight .mi, - .highlight .il, - .highlight .mo, - .highlight .mx { - color: #90a959; - } - - .highlight .ss { - color: #90a959; - } -} diff --git a/_sass/themes/_light.scss b/_sass/themes/_light.scss deleted file mode 100644 index 14c3962..0000000 --- a/_sass/themes/_light.scss +++ /dev/null @@ -1,313 +0,0 @@ -@mixin styles { - /* Framework color */ - --main-bg: white; - --mask-bg: #c1c3c5; - --main-border-color: #f3f3f3; - - /* Common color */ - --text-color: #34343c; - --text-muted-color: #757575; - --text-muted-highlight-color: inherit; - --heading-color: #2a2a2a; - --label-color: #585858; - --blockquote-border-color: #eeeeee; - --blockquote-text-color: #757575; - --link-color: #0056b2; - --link-underline-color: #dee2e6; - --button-bg: #ffffff; - --btn-border-color: #e9ecef; - --btn-backtotop-color: #686868; - --btn-backtotop-border-color: #f1f1f1; - --checkbox-color: #c5c5c5; - --checkbox-checked-color: #07a8f7; - --img-bg: radial-gradient( - circle, - rgb(255, 255, 255) 0%, - rgb(239, 239, 239) 100% - ); - --shimmer-bg: linear-gradient( - 90deg, - rgba(250, 250, 250, 0) 0%, - rgba(232, 230, 230, 1) 50%, - rgba(250, 250, 250, 0) 100% - ); - - /* Sidebar */ - --site-title-color: rgb(113, 113, 113); - --site-subtitle-color: #717171; - --sidebar-bg: #f6f8fa; - --sidebar-border-color: #efefef; - --sidebar-muted-color: #545454; - --sidebar-active-color: #1d1d1d; - --sidebar-hover-bg: rgb(223, 233, 241, 0.64); - --sidebar-btn-bg: white; - --sidebar-btn-color: #8e8e8e; - --avatar-border-color: white; - - /* Topbar */ - --topbar-bg: rgb(255, 255, 255, 0.7); - --topbar-text-color: rgb(78, 78, 78); - --search-border-color: rgb(240, 240, 240); - --search-icon-color: #c2c6cc; - --input-focus-border-color: #b8b8b8; - - /* Home page */ - --post-list-text-color: dimgray; - --btn-patinator-text-color: #555555; - --btn-paginator-hover-color: var(--sidebar-bg); - - /* Posts */ - --toc-highlight: #0550ae; - --toc-popup-border-color: lightgray; - --btn-share-color: gray; - --btn-share-hover-color: #0d6efd; - --card-bg: white; - --card-hovor-bg: #e2e2e2; - --card-shadow: rgb(104, 104, 104, 0.05) 0 2px 6px 0, - rgba(211, 209, 209, 0.15) 0 0 0 1px; - --footnote-target-bg: lightcyan; - --tb-odd-bg: #fbfcfd; - --tb-border-color: #eaeaea; - --dash-color: silver; - --kbd-wrap-color: #bdbdbd; - --kbd-text-color: var(--text-color); - --kbd-bg-color: white; - --prompt-text-color: rgb(46, 46, 46, 0.77); - --prompt-tip-bg: rgb(123, 247, 144, 0.2); - --prompt-tip-icon-color: #03b303; - --prompt-info-bg: #e1f5fe; - --prompt-info-icon-color: #0070cb; - --prompt-warning-bg: rgb(255, 243, 205); - --prompt-warning-icon-color: #ef9c03; - --prompt-danger-bg: rgb(248, 215, 218, 0.56); - --prompt-danger-icon-color: #df3c30; - - /* Tags */ - --tag-border: #dee2e6; - --tag-shadow: var(--btn-border-color); - --tag-hover: rgb(222, 226, 230); - --search-tag-bg: #f8f9fa; - - /* Categories */ - --categories-border: rgba(0, 0, 0, 0.125); - --categories-hover-bg: var(--btn-border-color); - --categories-icon-hover-color: darkslategray; - - /* Archive */ - --timeline-color: rgba(0, 0, 0, 0.075); - --timeline-node-bg: #c2c6cc; - --timeline-year-dot-color: #ffffff; - - /* --- Custom code light mode colors --- */ - --language-border-color: #ececec; - --highlight-bg-color: #f6f8fa; - --highlighter-rouge-color: #3f596f; - --highlight-lineno-color: #9e9e9e; - --inline-code-bg: rgba(25, 25, 28, 0.05); - --code-color: #3a3a3a; - --code-header-text-color: #a3a3a3; - --code-header-muted-color: #e5e5e5; - --code-header-icon-color: #c9c8c8; - --clipboard-checked-color: #43c743; - - [class^='prompt-'] { - --link-underline-color: rgb(219, 216, 216); - } - - .dark { - display: none; - } - - /* --- Syntax highlight theme from `rougify style github` --- */ - - .highlight table td { - padding: 5px; - } - - .highlight table pre { - margin: 0; - } - - .highlight, - .highlight .w { - color: #24292f; - background-color: #f6f8fa; - } - - .highlight .k, - .highlight .kd, - .highlight .kn, - .highlight .kp, - .highlight .kr, - .highlight .kt, - .highlight .kv { - color: #cf222e; - } - - .highlight .gr { - color: #f6f8fa; - } - - .highlight .gd { - color: #82071e; - background-color: #ffebe9; - } - - .highlight .nb { - color: #953800; - } - - .highlight .nc { - color: #953800; - } - - .highlight .no { - color: #953800; - } - - .highlight .nn { - color: #953800; - } - - .highlight .sr { - color: #116329; - } - - .highlight .na { - color: #116329; - } - - .highlight .nt { - color: #116329; - } - - .highlight .gi { - color: #116329; - background-color: #dafbe1; - } - - .highlight .kc { - color: #0550ae; - } - - .highlight .l, - .highlight .ld, - .highlight .m, - .highlight .mb, - .highlight .mf, - .highlight .mh, - .highlight .mi, - .highlight .il, - .highlight .mo, - .highlight .mx { - color: #0550ae; - } - - .highlight .sb { - color: #0550ae; - } - - .highlight .bp { - color: #0550ae; - } - - .highlight .ne { - color: #0550ae; - } - - .highlight .nl { - color: #0550ae; - } - - .highlight .py { - color: #0550ae; - } - - .highlight .nv, - .highlight .vc, - .highlight .vg, - .highlight .vi, - .highlight .vm { - color: #0550ae; - } - - .highlight .o, - .highlight .ow { - color: #0550ae; - } - - .highlight .gh { - color: #0550ae; - font-weight: bold; - } - - .highlight .gu { - color: #0550ae; - font-weight: bold; - } - - .highlight .s, - .highlight .sa, - .highlight .sc, - .highlight .dl, - .highlight .sd, - .highlight .s2, - .highlight .se, - .highlight .sh, - .highlight .sx, - .highlight .s1, - .highlight .ss { - color: #0a3069; - } - - .highlight .nd { - color: #8250df; - } - - .highlight .nf, - .highlight .fm { - color: #8250df; - } - - .highlight .err { - color: #f6f8fa; - background-color: #82071e; - } - - .highlight .c, - .highlight .ch, - .highlight .cd, - .highlight .cm, - .highlight .cp, - .highlight .cpf, - .highlight .c1, - .highlight .cs { - color: #68717a; - } - - .highlight .gl { - color: #68717a; - } - - .highlight .gt { - color: #68717a; - } - - .highlight .ni { - color: #24292f; - } - - .highlight .si { - color: #24292f; - } - - .highlight .ge { - color: #24292f; - font-style: italic; - } - - .highlight .gs { - color: #24292f; - font-weight: bold; - } -} diff --git a/_site/404.html b/_site/404.html deleted file mode 100644 index 08a2770..0000000 --- a/_site/404.html +++ /dev/null @@ -1,951 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 404: Page not found | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- 404: Page not found -
- - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -

- 404: Page not found -

-
- - - - -

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

- -
- -
- - - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/about/index.html b/_site/about/index.html deleted file mode 100644 index 2cd17a8..0000000 --- a/_site/about/index.html +++ /dev/null @@ -1,950 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - About | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- About -
- - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -

- About -

-
-
-

Add Markdown syntax content to file _tabs/about.md and it will show up on this page.

-
- -
- -
- - - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/archives/index.html b/_site/archives/index.html deleted file mode 100644 index 202274d..0000000 --- a/_site/archives/index.html +++ /dev/null @@ -1,955 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Archives | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Archives -
- - - - - - - - -
-
- - -
-
- - - - - - - - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/assets/css/jekyll-theme-chirpy.css b/_site/assets/css/jekyll-theme-chirpy.css deleted file mode 100644 index 3f90c92..0000000 --- a/_site/assets/css/jekyll-theme-chirpy.css +++ /dev/null @@ -1 +0,0 @@ -::-webkit-input-placeholder{color:var(--text-muted-color) !important}::-moz-placeholder{color:var(--text-muted-color) !important}:-ms-input-placeholder{color:var(--text-muted-color) !important}::-ms-input-placeholder{color:var(--text-muted-color) !important}::placeholder{color:var(--text-muted-color) !important}:focus::-webkit-input-placeholder{opacity:.6}:focus::-moz-placeholder{opacity:.6}:focus:-ms-input-placeholder{opacity:.6}:focus::-ms-input-placeholder{opacity:.6}:focus::placeholder{opacity:.6}header .post-desc,#toc-bar .label,#search-results a,h1,h2,h3,h4,h5{color:var(--heading-color);font-weight:400;font-family:Lato,"Microsoft Yahei",sans-serif;scroll-margin-top:3.5rem}h2 .anchor,h3 .anchor,h4 .anchor,h5 .anchor{font-size:80%}@media(hover: hover){h2 .anchor,h3 .anchor,h4 .anchor,h5 .anchor{visibility:hidden;opacity:0;transition:opacity .25s ease-in,visibility 0s ease-in .25s}h2:hover .anchor,h3:hover .anchor,h4:hover .anchor,h5:hover .anchor{visibility:visible;opacity:1;transition:opacity .25s ease-in,visibility 0s ease-in 0s}}.post-tags .post-tag:hover,.tag:hover{background:var(--tag-hover);transition:background .35s ease-in-out}.table-wrapper>table thead th,.table-wrapper>table tbody tr td{padding:.4rem 1rem;font-size:95%;white-space:nowrap}#page-category a:hover,#page-tag a:hover,#access-lastmod a:hover,.post-tail-wrapper .license-wrapper>a:hover,.post-tags .post-tag:hover,#search-results a:hover,footer a:hover,#topbar #breadcrumb a:hover,.post-meta a:not([class]):hover,.content a:not(.img-link):hover{color:#d2603a !important;border-bottom:1px solid #d2603a;text-decoration:none}#search-results a,#search-hints .post-tag,a{color:var(--link-color)}.post-tail-wrapper .post-meta a:not(:hover),.content a:not(.img-link){border-bottom:1px solid var(--link-underline-color)}#sidebar .profile-wrapper,#sidebar .site-title,#sidebar .sidebar-bottom a{transition:all .3s ease-in-out}#sidebar .sidebar-bottom .icon-border,.code-header,i.far,i.fas,.content a.popup{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#page-category ul>li>a,#page-tag ul>li>a,.post-tags .post-tag:hover,#search-results a,#access-lastmod a,main .categories a:not(:hover),main #tags a:not(:hover),main #archives a:not(:hover){border-bottom:none}.post-tail-wrapper .share-wrapper .share-icons button,#search-cancel,.code-header button{cursor:pointer}#related-posts time,#post-list .card .card-body .post-meta em,.post-meta em{font-style:normal}.categories.card,.categories .list-group,.highlight,div[class^=language-],.code-header button,blockquote[class^=prompt-],.preview-img,.preview-img img,.post-preview,.post-preview::before,.embed-video{border-radius:10px}.content a.popup+em,.embed-video+em,.embed-audio+em{display:block;text-align:center;font-style:normal;font-size:80%;padding:0;color:#6d6c6c}#sidebar a,#sidebar .sidebar-bottom #mode-toggle{color:var(--sidebar-muted-color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#related-posts .card h4,#post-list .card .card-body .card-title,#post-list .card .card-body .card-text.content p{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}#archives ul li,#toc-wrapper ul .toc-link,#related-posts p,#post-list .card .card-body .post-meta>div:first-child,#search-results>article>p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header .post-meta em,header .post-meta time,.post-tail-wrapper .license-wrapper>a,footer a,footer em{color:var(--text-muted-highlight-color);font-weight:600}.post-tail-wrapper,.post-tail-wrapper .license-wrapper span:last-child,.post-meta{font-size:.85rem}#related-posts time,footer{font-size:.8rem}sup:target,.footnotes>ol>li:target{background-color:var(--footnote-target-bg);width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;transition:background-color 1.75s ease-in-out}#toc-bar button i,#topbar button i,#toc-popup .header button i{color:#999}.highlight,figure.highlight,div[class^=language-]{background-color:var(--highlight-bg-color)}td.rouge-code{padding-left:1rem;padding-right:1.5rem}#toc-wrapper>*,.access>section{border-left:1px solid var(--main-border-color)}:root{font-size:16px}@media(prefers-color-scheme: light){html:not([data-mode]),html[data-mode=light]{--main-bg: white;--mask-bg: #c1c3c5;--main-border-color: #f3f3f3;--text-color: #34343c;--text-muted-color: #757575;--text-muted-highlight-color: inherit;--heading-color: #2a2a2a;--label-color: #585858;--blockquote-border-color: #eeeeee;--blockquote-text-color: #757575;--link-color: #0056b2;--link-underline-color: #dee2e6;--button-bg: #ffffff;--btn-border-color: #e9ecef;--btn-backtotop-color: #686868;--btn-backtotop-border-color: #f1f1f1;--checkbox-color: #c5c5c5;--checkbox-checked-color: #07a8f7;--img-bg: radial-gradient( circle, rgb(255, 255, 255) 0%, rgb(239, 239, 239) 100% );--shimmer-bg: linear-gradient( 90deg, rgba(250, 250, 250, 0) 0%, rgba(232, 230, 230, 1) 50%, rgba(250, 250, 250, 0) 100% );--site-title-color: rgb(113, 113, 113);--site-subtitle-color: #717171;--sidebar-bg: #f6f8fa;--sidebar-border-color: #efefef;--sidebar-muted-color: #545454;--sidebar-active-color: #1d1d1d;--sidebar-hover-bg: rgb(223, 233, 241, 0.64);--sidebar-btn-bg: white;--sidebar-btn-color: #8e8e8e;--avatar-border-color: white;--topbar-bg: rgb(255, 255, 255, 0.7);--topbar-text-color: rgb(78, 78, 78);--search-border-color: rgb(240, 240, 240);--search-icon-color: #c2c6cc;--input-focus-border-color: #b8b8b8;--post-list-text-color: dimgray;--btn-patinator-text-color: #555555;--btn-paginator-hover-color: var(--sidebar-bg);--toc-highlight: #0550ae;--toc-popup-border-color: lightgray;--btn-share-color: gray;--btn-share-hover-color: #0d6efd;--card-bg: white;--card-hovor-bg: #e2e2e2;--card-shadow: rgb(104, 104, 104, 0.05) 0 2px 6px 0, rgba(211, 209, 209, 0.15) 0 0 0 1px;--footnote-target-bg: lightcyan;--tb-odd-bg: #fbfcfd;--tb-border-color: #eaeaea;--dash-color: silver;--kbd-wrap-color: #bdbdbd;--kbd-text-color: var(--text-color);--kbd-bg-color: white;--prompt-text-color: rgb(46, 46, 46, 0.77);--prompt-tip-bg: rgb(123, 247, 144, 0.2);--prompt-tip-icon-color: #03b303;--prompt-info-bg: #e1f5fe;--prompt-info-icon-color: #0070cb;--prompt-warning-bg: rgb(255, 243, 205);--prompt-warning-icon-color: #ef9c03;--prompt-danger-bg: rgb(248, 215, 218, 0.56);--prompt-danger-icon-color: #df3c30;--tag-border: #dee2e6;--tag-shadow: var(--btn-border-color);--tag-hover: rgb(222, 226, 230);--search-tag-bg: #f8f9fa;--categories-border: rgba(0, 0, 0, 0.125);--categories-hover-bg: var(--btn-border-color);--categories-icon-hover-color: darkslategray;--timeline-color: rgba(0, 0, 0, 0.075);--timeline-node-bg: #c2c6cc;--timeline-year-dot-color: #ffffff;--language-border-color: #ececec;--highlight-bg-color: #f6f8fa;--highlighter-rouge-color: #3f596f;--highlight-lineno-color: #9e9e9e;--inline-code-bg: rgba(25, 25, 28, 0.05);--code-color: #3a3a3a;--code-header-text-color: #a3a3a3;--code-header-muted-color: #e5e5e5;--code-header-icon-color: #c9c8c8;--clipboard-checked-color: #43c743}html:not([data-mode]) [class^=prompt-],html[data-mode=light] [class^=prompt-]{--link-underline-color: rgb(219, 216, 216)}html:not([data-mode]) .dark,html[data-mode=light] .dark{display:none}html:not([data-mode]) .highlight table td,html[data-mode=light] .highlight table td{padding:5px}html:not([data-mode]) .highlight table pre,html[data-mode=light] .highlight table pre{margin:0}html:not([data-mode]) .highlight,html:not([data-mode]) .highlight .w,html[data-mode=light] .highlight,html[data-mode=light] .highlight .w{color:#24292f;background-color:#f6f8fa}html:not([data-mode]) .highlight .k,html:not([data-mode]) .highlight .kd,html:not([data-mode]) .highlight .kn,html:not([data-mode]) .highlight .kp,html:not([data-mode]) .highlight .kr,html:not([data-mode]) .highlight .kt,html:not([data-mode]) .highlight .kv,html[data-mode=light] .highlight .k,html[data-mode=light] .highlight .kd,html[data-mode=light] .highlight .kn,html[data-mode=light] .highlight .kp,html[data-mode=light] .highlight .kr,html[data-mode=light] .highlight .kt,html[data-mode=light] .highlight .kv{color:#cf222e}html:not([data-mode]) .highlight .gr,html[data-mode=light] .highlight .gr{color:#f6f8fa}html:not([data-mode]) .highlight .gd,html[data-mode=light] .highlight .gd{color:#82071e;background-color:#ffebe9}html:not([data-mode]) .highlight .nb,html[data-mode=light] .highlight .nb{color:#953800}html:not([data-mode]) .highlight .nc,html[data-mode=light] .highlight .nc{color:#953800}html:not([data-mode]) .highlight .no,html[data-mode=light] .highlight .no{color:#953800}html:not([data-mode]) .highlight .nn,html[data-mode=light] .highlight .nn{color:#953800}html:not([data-mode]) .highlight .sr,html[data-mode=light] .highlight .sr{color:#116329}html:not([data-mode]) .highlight .na,html[data-mode=light] .highlight .na{color:#116329}html:not([data-mode]) .highlight .nt,html[data-mode=light] .highlight .nt{color:#116329}html:not([data-mode]) .highlight .gi,html[data-mode=light] .highlight .gi{color:#116329;background-color:#dafbe1}html:not([data-mode]) .highlight .kc,html[data-mode=light] .highlight .kc{color:#0550ae}html:not([data-mode]) .highlight .l,html:not([data-mode]) .highlight .ld,html:not([data-mode]) .highlight .m,html:not([data-mode]) .highlight .mb,html:not([data-mode]) .highlight .mf,html:not([data-mode]) .highlight .mh,html:not([data-mode]) .highlight .mi,html:not([data-mode]) .highlight .il,html:not([data-mode]) .highlight .mo,html:not([data-mode]) .highlight .mx,html[data-mode=light] .highlight .l,html[data-mode=light] .highlight .ld,html[data-mode=light] .highlight .m,html[data-mode=light] .highlight .mb,html[data-mode=light] .highlight .mf,html[data-mode=light] .highlight .mh,html[data-mode=light] .highlight .mi,html[data-mode=light] .highlight .il,html[data-mode=light] .highlight .mo,html[data-mode=light] .highlight .mx{color:#0550ae}html:not([data-mode]) .highlight .sb,html[data-mode=light] .highlight .sb{color:#0550ae}html:not([data-mode]) .highlight .bp,html[data-mode=light] .highlight .bp{color:#0550ae}html:not([data-mode]) .highlight .ne,html[data-mode=light] .highlight .ne{color:#0550ae}html:not([data-mode]) .highlight .nl,html[data-mode=light] .highlight .nl{color:#0550ae}html:not([data-mode]) .highlight .py,html[data-mode=light] .highlight .py{color:#0550ae}html:not([data-mode]) .highlight .nv,html:not([data-mode]) .highlight .vc,html:not([data-mode]) .highlight .vg,html:not([data-mode]) .highlight .vi,html:not([data-mode]) .highlight .vm,html[data-mode=light] .highlight .nv,html[data-mode=light] .highlight .vc,html[data-mode=light] .highlight .vg,html[data-mode=light] .highlight .vi,html[data-mode=light] .highlight .vm{color:#0550ae}html:not([data-mode]) .highlight .o,html:not([data-mode]) .highlight .ow,html[data-mode=light] .highlight .o,html[data-mode=light] .highlight .ow{color:#0550ae}html:not([data-mode]) .highlight .gh,html[data-mode=light] .highlight .gh{color:#0550ae;font-weight:bold}html:not([data-mode]) .highlight .gu,html[data-mode=light] .highlight .gu{color:#0550ae;font-weight:bold}html:not([data-mode]) .highlight .s,html:not([data-mode]) .highlight .sa,html:not([data-mode]) .highlight .sc,html:not([data-mode]) .highlight .dl,html:not([data-mode]) .highlight .sd,html:not([data-mode]) .highlight .s2,html:not([data-mode]) .highlight .se,html:not([data-mode]) .highlight .sh,html:not([data-mode]) .highlight .sx,html:not([data-mode]) .highlight .s1,html:not([data-mode]) .highlight .ss,html[data-mode=light] .highlight .s,html[data-mode=light] .highlight .sa,html[data-mode=light] .highlight .sc,html[data-mode=light] .highlight .dl,html[data-mode=light] .highlight .sd,html[data-mode=light] .highlight .s2,html[data-mode=light] .highlight .se,html[data-mode=light] .highlight .sh,html[data-mode=light] .highlight .sx,html[data-mode=light] .highlight .s1,html[data-mode=light] .highlight .ss{color:#0a3069}html:not([data-mode]) .highlight .nd,html[data-mode=light] .highlight .nd{color:#8250df}html:not([data-mode]) .highlight .nf,html:not([data-mode]) .highlight .fm,html[data-mode=light] .highlight .nf,html[data-mode=light] .highlight .fm{color:#8250df}html:not([data-mode]) .highlight .err,html[data-mode=light] .highlight .err{color:#f6f8fa;background-color:#82071e}html:not([data-mode]) .highlight .c,html:not([data-mode]) .highlight .ch,html:not([data-mode]) .highlight .cd,html:not([data-mode]) .highlight .cm,html:not([data-mode]) .highlight .cp,html:not([data-mode]) .highlight .cpf,html:not([data-mode]) .highlight .c1,html:not([data-mode]) .highlight .cs,html[data-mode=light] .highlight .c,html[data-mode=light] .highlight .ch,html[data-mode=light] .highlight .cd,html[data-mode=light] .highlight .cm,html[data-mode=light] .highlight .cp,html[data-mode=light] .highlight .cpf,html[data-mode=light] .highlight .c1,html[data-mode=light] .highlight .cs{color:#68717a}html:not([data-mode]) .highlight .gl,html[data-mode=light] .highlight .gl{color:#68717a}html:not([data-mode]) .highlight .gt,html[data-mode=light] .highlight .gt{color:#68717a}html:not([data-mode]) .highlight .ni,html[data-mode=light] .highlight .ni{color:#24292f}html:not([data-mode]) .highlight .si,html[data-mode=light] .highlight .si{color:#24292f}html:not([data-mode]) .highlight .ge,html[data-mode=light] .highlight .ge{color:#24292f;font-style:italic}html:not([data-mode]) .highlight .gs,html[data-mode=light] .highlight .gs{color:#24292f;font-weight:bold}html[data-mode=dark]{color-scheme:dark;--main-bg: rgb(27, 27, 30);--mask-bg: rgb(68, 69, 70);--main-border-color: rgb(44, 45, 45);--text-color: rgb(175, 176, 177);--text-muted-color: #868686;--text-muted-highlight-color: #aeaeae;--heading-color: #cccccc;--label-color: #a7a7a7;--blockquote-border-color: rgb(66, 66, 66);--blockquote-text-color: #868686;--link-color: rgb(138, 180, 248);--link-underline-color: rgb(82, 108, 150);--button-bg: #1e1e1e;--btn-border-color: #2e2f31;--btn-backtotop-color: var(--text-color);--btn-backtotop-border-color: #212122;--card-header-bg: #292929;--checkbox-color: rgb(118, 120, 121);--checkbox-checked-color: var(--link-color);--img-bg: radial-gradient(circle, rgb(22, 22, 24) 0%, rgb(32, 32, 32) 100%);--shimmer-bg: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(58, 55, 55, 0.4) 50%, rgba(255, 255, 255, 0) 100% );--site-title-color: #717070;--site-subtitle-color: #868686;--sidebar-bg: #1e1e1e;--sidebar-border-color: #292929;--sidebar-muted-color: #868686;--sidebar-active-color: rgb(255, 255, 255, 0.95);--sidebar-hover-bg: #262626;--sidebar-btn-bg: #232328;--sidebar-btn-color: #787878;--avatar-border-color: rgb(206, 206, 206, 0.9);--topbar-bg: rgb(27, 27, 30, 0.64);--topbar-text-color: var(--text-color);--search-border-color: rgb(55, 55, 55);--search-icon-color: rgb(100, 102, 105);--input-focus-border-color: rgb(112, 114, 115);--post-list-text-color: rgb(175, 176, 177);--btn-patinator-text-color: var(--text-color);--btn-paginator-hover-color: #2e2e2e;--toc-highlight: rgb(116, 178, 243);--toc-popup-border-color: #373737;--tag-hover: rgb(43, 56, 62);--tb-odd-bg: #252526;--tb-even-bg: rgb(31, 31, 34);--tb-border-color: var(--tb-odd-bg);--footnote-target-bg: rgb(63, 81, 181);--btn-share-color: #6c757d;--btn-share-hover-color: #bfc1ca;--card-bg: #1e1e1e;--card-hovor-bg: #464d51;--card-shadow: rgb(21, 21, 21, 0.72) 0 6px 18px 0, rgb(137, 135, 135, 0.24) 0 0 0 1px;--kbd-wrap-color: #6a6a6a;--kbd-text-color: #d3d3d3;--kbd-bg-color: #242424;--prompt-text-color: rgb(216, 212, 212, 0.75);--prompt-tip-bg: rgb(22, 60, 36, 0.64);--prompt-tip-icon-color: rgb(15, 164, 15, 0.81);--prompt-info-bg: rgb(7, 59, 104, 0.8);--prompt-info-icon-color: #0075d1;--prompt-warning-bg: rgb(90, 69, 3, 0.88);--prompt-warning-icon-color: rgb(255, 165, 0, 0.8);--prompt-danger-bg: rgb(86, 28, 8, 0.8);--prompt-danger-icon-color: #cd0202;--tag-border: rgb(59, 79, 88);--tag-shadow: rgb(32, 33, 33);--dash-color: rgb(63, 65, 68);--search-tag-bg: #292828;--categories-border: rgb(64, 66, 69, 0.5);--categories-hover-bg: rgb(73, 75, 76);--categories-icon-hover-color: white;--timeline-node-bg: rgb(150, 152, 156);--timeline-color: rgb(63, 65, 68);--timeline-year-dot-color: var(--timeline-color);--language-border-color: #2d2d2d;--highlight-bg-color: #151515;--highlighter-rouge-color: #c9def1;--highlight-lineno-color: #808080;--inline-code-bg: rgba(255, 255, 255, 0.05);--code-color: #b0b0b0;--code-header-text-color: #6a6a6a;--code-header-muted-color: #353535;--code-header-icon-color: #565656;--clipboard-checked-color: #2bcc2b;--filepath-text-color: #cacaca}html[data-mode=dark] .light{display:none}html[data-mode=dark] .categories.card,html[data-mode=dark] .list-group-item{background-color:var(--card-bg)}html[data-mode=dark] .categories .card-header{background-color:var(--card-header-bg)}html[data-mode=dark] .categories .list-group-item{border-left:none;border-right:none;padding-left:2rem;border-color:var(--categories-border)}html[data-mode=dark] .categories .list-group-item:last-child{border-bottom-color:var(--card-bg)}html[data-mode=dark] #archives li:nth-child(odd){background-image:linear-gradient(to left, rgb(26, 26, 30), rgb(39, 39, 45), rgb(39, 39, 45), rgb(39, 39, 45), rgb(26, 26, 30))}html[data-mode=dark] #disqus_thread{color-scheme:none}html[data-mode=dark] .highlight .gp{color:#87939d}html[data-mode=dark] .highlight table td{padding:5px}html[data-mode=dark] .highlight table pre{margin:0}html[data-mode=dark] .highlight,html[data-mode=dark] .highlight .w{color:#d0d0d0;background-color:#151515}html[data-mode=dark] .highlight .err{color:#151515;background-color:#ac4142}html[data-mode=dark] .highlight .c,html[data-mode=dark] .highlight .ch,html[data-mode=dark] .highlight .cd,html[data-mode=dark] .highlight .cm,html[data-mode=dark] .highlight .cpf,html[data-mode=dark] .highlight .c1,html[data-mode=dark] .highlight .cs{color:#848484}html[data-mode=dark] .highlight .cp{color:#f4bf75}html[data-mode=dark] .highlight .nt{color:#f4bf75}html[data-mode=dark] .highlight .o,html[data-mode=dark] .highlight .ow{color:#d0d0d0}html[data-mode=dark] .highlight .p,html[data-mode=dark] .highlight .pi{color:#d0d0d0}html[data-mode=dark] .highlight .gi{color:#90a959}html[data-mode=dark] .highlight .gd{color:#f08a8b;background-color:#320000}html[data-mode=dark] .highlight .gh{color:#6a9fb5;background-color:#151515;font-weight:bold}html[data-mode=dark] .highlight .k,html[data-mode=dark] .highlight .kn,html[data-mode=dark] .highlight .kp,html[data-mode=dark] .highlight .kr,html[data-mode=dark] .highlight .kv{color:#aa759f}html[data-mode=dark] .highlight .kc{color:#d28445}html[data-mode=dark] .highlight .kt{color:#d28445}html[data-mode=dark] .highlight .kd{color:#d28445}html[data-mode=dark] .highlight .s,html[data-mode=dark] .highlight .sb,html[data-mode=dark] .highlight .sc,html[data-mode=dark] .highlight .dl,html[data-mode=dark] .highlight .sd,html[data-mode=dark] .highlight .s2,html[data-mode=dark] .highlight .sh,html[data-mode=dark] .highlight .sx,html[data-mode=dark] .highlight .s1{color:#90a959}html[data-mode=dark] .highlight .sa{color:#aa759f}html[data-mode=dark] .highlight .sr{color:#75b5aa}html[data-mode=dark] .highlight .si{color:#b76d45}html[data-mode=dark] .highlight .se{color:#b76d45}html[data-mode=dark] .highlight .nn{color:#f4bf75}html[data-mode=dark] .highlight .nc{color:#f4bf75}html[data-mode=dark] .highlight .no{color:#f4bf75}html[data-mode=dark] .highlight .na{color:#6a9fb5}html[data-mode=dark] .highlight .m,html[data-mode=dark] .highlight .mb,html[data-mode=dark] .highlight .mf,html[data-mode=dark] .highlight .mh,html[data-mode=dark] .highlight .mi,html[data-mode=dark] .highlight .il,html[data-mode=dark] .highlight .mo,html[data-mode=dark] .highlight .mx{color:#90a959}html[data-mode=dark] .highlight .ss{color:#90a959}}@media(prefers-color-scheme: dark){html:not([data-mode]),html[data-mode=dark]{color-scheme:dark;--main-bg: rgb(27, 27, 30);--mask-bg: rgb(68, 69, 70);--main-border-color: rgb(44, 45, 45);--text-color: rgb(175, 176, 177);--text-muted-color: #868686;--text-muted-highlight-color: #aeaeae;--heading-color: #cccccc;--label-color: #a7a7a7;--blockquote-border-color: rgb(66, 66, 66);--blockquote-text-color: #868686;--link-color: rgb(138, 180, 248);--link-underline-color: rgb(82, 108, 150);--button-bg: #1e1e1e;--btn-border-color: #2e2f31;--btn-backtotop-color: var(--text-color);--btn-backtotop-border-color: #212122;--card-header-bg: #292929;--checkbox-color: rgb(118, 120, 121);--checkbox-checked-color: var(--link-color);--img-bg: radial-gradient(circle, rgb(22, 22, 24) 0%, rgb(32, 32, 32) 100%);--shimmer-bg: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(58, 55, 55, 0.4) 50%, rgba(255, 255, 255, 0) 100% );--site-title-color: #717070;--site-subtitle-color: #868686;--sidebar-bg: #1e1e1e;--sidebar-border-color: #292929;--sidebar-muted-color: #868686;--sidebar-active-color: rgb(255, 255, 255, 0.95);--sidebar-hover-bg: #262626;--sidebar-btn-bg: #232328;--sidebar-btn-color: #787878;--avatar-border-color: rgb(206, 206, 206, 0.9);--topbar-bg: rgb(27, 27, 30, 0.64);--topbar-text-color: var(--text-color);--search-border-color: rgb(55, 55, 55);--search-icon-color: rgb(100, 102, 105);--input-focus-border-color: rgb(112, 114, 115);--post-list-text-color: rgb(175, 176, 177);--btn-patinator-text-color: var(--text-color);--btn-paginator-hover-color: #2e2e2e;--toc-highlight: rgb(116, 178, 243);--toc-popup-border-color: #373737;--tag-hover: rgb(43, 56, 62);--tb-odd-bg: #252526;--tb-even-bg: rgb(31, 31, 34);--tb-border-color: var(--tb-odd-bg);--footnote-target-bg: rgb(63, 81, 181);--btn-share-color: #6c757d;--btn-share-hover-color: #bfc1ca;--card-bg: #1e1e1e;--card-hovor-bg: #464d51;--card-shadow: rgb(21, 21, 21, 0.72) 0 6px 18px 0, rgb(137, 135, 135, 0.24) 0 0 0 1px;--kbd-wrap-color: #6a6a6a;--kbd-text-color: #d3d3d3;--kbd-bg-color: #242424;--prompt-text-color: rgb(216, 212, 212, 0.75);--prompt-tip-bg: rgb(22, 60, 36, 0.64);--prompt-tip-icon-color: rgb(15, 164, 15, 0.81);--prompt-info-bg: rgb(7, 59, 104, 0.8);--prompt-info-icon-color: #0075d1;--prompt-warning-bg: rgb(90, 69, 3, 0.88);--prompt-warning-icon-color: rgb(255, 165, 0, 0.8);--prompt-danger-bg: rgb(86, 28, 8, 0.8);--prompt-danger-icon-color: #cd0202;--tag-border: rgb(59, 79, 88);--tag-shadow: rgb(32, 33, 33);--dash-color: rgb(63, 65, 68);--search-tag-bg: #292828;--categories-border: rgb(64, 66, 69, 0.5);--categories-hover-bg: rgb(73, 75, 76);--categories-icon-hover-color: white;--timeline-node-bg: rgb(150, 152, 156);--timeline-color: rgb(63, 65, 68);--timeline-year-dot-color: var(--timeline-color);--language-border-color: #2d2d2d;--highlight-bg-color: #151515;--highlighter-rouge-color: #c9def1;--highlight-lineno-color: #808080;--inline-code-bg: rgba(255, 255, 255, 0.05);--code-color: #b0b0b0;--code-header-text-color: #6a6a6a;--code-header-muted-color: #353535;--code-header-icon-color: #565656;--clipboard-checked-color: #2bcc2b;--filepath-text-color: #cacaca}html:not([data-mode]) .light,html[data-mode=dark] .light{display:none}html:not([data-mode]) .categories.card,html:not([data-mode]) .list-group-item,html[data-mode=dark] .categories.card,html[data-mode=dark] .list-group-item{background-color:var(--card-bg)}html:not([data-mode]) .categories .card-header,html[data-mode=dark] .categories .card-header{background-color:var(--card-header-bg)}html:not([data-mode]) .categories .list-group-item,html[data-mode=dark] .categories .list-group-item{border-left:none;border-right:none;padding-left:2rem;border-color:var(--categories-border)}html:not([data-mode]) .categories .list-group-item:last-child,html[data-mode=dark] .categories .list-group-item:last-child{border-bottom-color:var(--card-bg)}html:not([data-mode]) #archives li:nth-child(odd),html[data-mode=dark] #archives li:nth-child(odd){background-image:linear-gradient(to left, rgb(26, 26, 30), rgb(39, 39, 45), rgb(39, 39, 45), rgb(39, 39, 45), rgb(26, 26, 30))}html:not([data-mode]) #disqus_thread,html[data-mode=dark] #disqus_thread{color-scheme:none}html:not([data-mode]) .highlight .gp,html[data-mode=dark] .highlight .gp{color:#87939d}html:not([data-mode]) .highlight table td,html[data-mode=dark] .highlight table td{padding:5px}html:not([data-mode]) .highlight table pre,html[data-mode=dark] .highlight table pre{margin:0}html:not([data-mode]) .highlight,html:not([data-mode]) .highlight .w,html[data-mode=dark] .highlight,html[data-mode=dark] .highlight .w{color:#d0d0d0;background-color:#151515}html:not([data-mode]) .highlight .err,html[data-mode=dark] .highlight .err{color:#151515;background-color:#ac4142}html:not([data-mode]) .highlight .c,html:not([data-mode]) .highlight .ch,html:not([data-mode]) .highlight .cd,html:not([data-mode]) .highlight .cm,html:not([data-mode]) .highlight .cpf,html:not([data-mode]) .highlight .c1,html:not([data-mode]) .highlight .cs,html[data-mode=dark] .highlight .c,html[data-mode=dark] .highlight .ch,html[data-mode=dark] .highlight .cd,html[data-mode=dark] .highlight .cm,html[data-mode=dark] .highlight .cpf,html[data-mode=dark] .highlight .c1,html[data-mode=dark] .highlight .cs{color:#848484}html:not([data-mode]) .highlight .cp,html[data-mode=dark] .highlight .cp{color:#f4bf75}html:not([data-mode]) .highlight .nt,html[data-mode=dark] .highlight .nt{color:#f4bf75}html:not([data-mode]) .highlight .o,html:not([data-mode]) .highlight .ow,html[data-mode=dark] .highlight .o,html[data-mode=dark] .highlight .ow{color:#d0d0d0}html:not([data-mode]) .highlight .p,html:not([data-mode]) .highlight .pi,html[data-mode=dark] .highlight .p,html[data-mode=dark] .highlight .pi{color:#d0d0d0}html:not([data-mode]) .highlight .gi,html[data-mode=dark] .highlight .gi{color:#90a959}html:not([data-mode]) .highlight .gd,html[data-mode=dark] .highlight .gd{color:#f08a8b;background-color:#320000}html:not([data-mode]) .highlight .gh,html[data-mode=dark] .highlight .gh{color:#6a9fb5;background-color:#151515;font-weight:bold}html:not([data-mode]) .highlight .k,html:not([data-mode]) .highlight .kn,html:not([data-mode]) .highlight .kp,html:not([data-mode]) .highlight .kr,html:not([data-mode]) .highlight .kv,html[data-mode=dark] .highlight .k,html[data-mode=dark] .highlight .kn,html[data-mode=dark] .highlight .kp,html[data-mode=dark] .highlight .kr,html[data-mode=dark] .highlight .kv{color:#aa759f}html:not([data-mode]) .highlight .kc,html[data-mode=dark] .highlight .kc{color:#d28445}html:not([data-mode]) .highlight .kt,html[data-mode=dark] .highlight .kt{color:#d28445}html:not([data-mode]) .highlight .kd,html[data-mode=dark] .highlight .kd{color:#d28445}html:not([data-mode]) .highlight .s,html:not([data-mode]) .highlight .sb,html:not([data-mode]) .highlight .sc,html:not([data-mode]) .highlight .dl,html:not([data-mode]) .highlight .sd,html:not([data-mode]) .highlight .s2,html:not([data-mode]) .highlight .sh,html:not([data-mode]) .highlight .sx,html:not([data-mode]) .highlight .s1,html[data-mode=dark] .highlight .s,html[data-mode=dark] .highlight .sb,html[data-mode=dark] .highlight .sc,html[data-mode=dark] .highlight .dl,html[data-mode=dark] .highlight .sd,html[data-mode=dark] .highlight .s2,html[data-mode=dark] .highlight .sh,html[data-mode=dark] .highlight .sx,html[data-mode=dark] .highlight .s1{color:#90a959}html:not([data-mode]) .highlight .sa,html[data-mode=dark] .highlight .sa{color:#aa759f}html:not([data-mode]) .highlight .sr,html[data-mode=dark] .highlight .sr{color:#75b5aa}html:not([data-mode]) .highlight .si,html[data-mode=dark] .highlight .si{color:#b76d45}html:not([data-mode]) .highlight .se,html[data-mode=dark] .highlight .se{color:#b76d45}html:not([data-mode]) .highlight .nn,html[data-mode=dark] .highlight .nn{color:#f4bf75}html:not([data-mode]) .highlight .nc,html[data-mode=dark] .highlight .nc{color:#f4bf75}html:not([data-mode]) .highlight .no,html[data-mode=dark] .highlight .no{color:#f4bf75}html:not([data-mode]) .highlight .na,html[data-mode=dark] .highlight .na{color:#6a9fb5}html:not([data-mode]) .highlight .m,html:not([data-mode]) .highlight .mb,html:not([data-mode]) .highlight .mf,html:not([data-mode]) .highlight .mh,html:not([data-mode]) .highlight .mi,html:not([data-mode]) .highlight .il,html:not([data-mode]) .highlight .mo,html:not([data-mode]) .highlight .mx,html[data-mode=dark] .highlight .m,html[data-mode=dark] .highlight .mb,html[data-mode=dark] .highlight .mf,html[data-mode=dark] .highlight .mh,html[data-mode=dark] .highlight .mi,html[data-mode=dark] .highlight .il,html[data-mode=dark] .highlight .mo,html[data-mode=dark] .highlight .mx{color:#90a959}html:not([data-mode]) .highlight .ss,html[data-mode=dark] .highlight .ss{color:#90a959}html[data-mode=light]{--main-bg: white;--mask-bg: #c1c3c5;--main-border-color: #f3f3f3;--text-color: #34343c;--text-muted-color: #757575;--text-muted-highlight-color: inherit;--heading-color: #2a2a2a;--label-color: #585858;--blockquote-border-color: #eeeeee;--blockquote-text-color: #757575;--link-color: #0056b2;--link-underline-color: #dee2e6;--button-bg: #ffffff;--btn-border-color: #e9ecef;--btn-backtotop-color: #686868;--btn-backtotop-border-color: #f1f1f1;--checkbox-color: #c5c5c5;--checkbox-checked-color: #07a8f7;--img-bg: radial-gradient( circle, rgb(255, 255, 255) 0%, rgb(239, 239, 239) 100% );--shimmer-bg: linear-gradient( 90deg, rgba(250, 250, 250, 0) 0%, rgba(232, 230, 230, 1) 50%, rgba(250, 250, 250, 0) 100% );--site-title-color: rgb(113, 113, 113);--site-subtitle-color: #717171;--sidebar-bg: #f6f8fa;--sidebar-border-color: #efefef;--sidebar-muted-color: #545454;--sidebar-active-color: #1d1d1d;--sidebar-hover-bg: rgb(223, 233, 241, 0.64);--sidebar-btn-bg: white;--sidebar-btn-color: #8e8e8e;--avatar-border-color: white;--topbar-bg: rgb(255, 255, 255, 0.7);--topbar-text-color: rgb(78, 78, 78);--search-border-color: rgb(240, 240, 240);--search-icon-color: #c2c6cc;--input-focus-border-color: #b8b8b8;--post-list-text-color: dimgray;--btn-patinator-text-color: #555555;--btn-paginator-hover-color: var(--sidebar-bg);--toc-highlight: #0550ae;--toc-popup-border-color: lightgray;--btn-share-color: gray;--btn-share-hover-color: #0d6efd;--card-bg: white;--card-hovor-bg: #e2e2e2;--card-shadow: rgb(104, 104, 104, 0.05) 0 2px 6px 0, rgba(211, 209, 209, 0.15) 0 0 0 1px;--footnote-target-bg: lightcyan;--tb-odd-bg: #fbfcfd;--tb-border-color: #eaeaea;--dash-color: silver;--kbd-wrap-color: #bdbdbd;--kbd-text-color: var(--text-color);--kbd-bg-color: white;--prompt-text-color: rgb(46, 46, 46, 0.77);--prompt-tip-bg: rgb(123, 247, 144, 0.2);--prompt-tip-icon-color: #03b303;--prompt-info-bg: #e1f5fe;--prompt-info-icon-color: #0070cb;--prompt-warning-bg: rgb(255, 243, 205);--prompt-warning-icon-color: #ef9c03;--prompt-danger-bg: rgb(248, 215, 218, 0.56);--prompt-danger-icon-color: #df3c30;--tag-border: #dee2e6;--tag-shadow: var(--btn-border-color);--tag-hover: rgb(222, 226, 230);--search-tag-bg: #f8f9fa;--categories-border: rgba(0, 0, 0, 0.125);--categories-hover-bg: var(--btn-border-color);--categories-icon-hover-color: darkslategray;--timeline-color: rgba(0, 0, 0, 0.075);--timeline-node-bg: #c2c6cc;--timeline-year-dot-color: #ffffff;--language-border-color: #ececec;--highlight-bg-color: #f6f8fa;--highlighter-rouge-color: #3f596f;--highlight-lineno-color: #9e9e9e;--inline-code-bg: rgba(25, 25, 28, 0.05);--code-color: #3a3a3a;--code-header-text-color: #a3a3a3;--code-header-muted-color: #e5e5e5;--code-header-icon-color: #c9c8c8;--clipboard-checked-color: #43c743}html[data-mode=light] [class^=prompt-]{--link-underline-color: rgb(219, 216, 216)}html[data-mode=light] .dark{display:none}html[data-mode=light] .highlight table td{padding:5px}html[data-mode=light] .highlight table pre{margin:0}html[data-mode=light] .highlight,html[data-mode=light] .highlight .w{color:#24292f;background-color:#f6f8fa}html[data-mode=light] .highlight .k,html[data-mode=light] .highlight .kd,html[data-mode=light] .highlight .kn,html[data-mode=light] .highlight .kp,html[data-mode=light] .highlight .kr,html[data-mode=light] .highlight .kt,html[data-mode=light] .highlight .kv{color:#cf222e}html[data-mode=light] .highlight .gr{color:#f6f8fa}html[data-mode=light] .highlight .gd{color:#82071e;background-color:#ffebe9}html[data-mode=light] .highlight .nb{color:#953800}html[data-mode=light] .highlight .nc{color:#953800}html[data-mode=light] .highlight .no{color:#953800}html[data-mode=light] .highlight .nn{color:#953800}html[data-mode=light] .highlight .sr{color:#116329}html[data-mode=light] .highlight .na{color:#116329}html[data-mode=light] .highlight .nt{color:#116329}html[data-mode=light] .highlight .gi{color:#116329;background-color:#dafbe1}html[data-mode=light] .highlight .kc{color:#0550ae}html[data-mode=light] .highlight .l,html[data-mode=light] .highlight .ld,html[data-mode=light] .highlight .m,html[data-mode=light] .highlight .mb,html[data-mode=light] .highlight .mf,html[data-mode=light] .highlight .mh,html[data-mode=light] .highlight .mi,html[data-mode=light] .highlight .il,html[data-mode=light] .highlight .mo,html[data-mode=light] .highlight .mx{color:#0550ae}html[data-mode=light] .highlight .sb{color:#0550ae}html[data-mode=light] .highlight .bp{color:#0550ae}html[data-mode=light] .highlight .ne{color:#0550ae}html[data-mode=light] .highlight .nl{color:#0550ae}html[data-mode=light] .highlight .py{color:#0550ae}html[data-mode=light] .highlight .nv,html[data-mode=light] .highlight .vc,html[data-mode=light] .highlight .vg,html[data-mode=light] .highlight .vi,html[data-mode=light] .highlight .vm{color:#0550ae}html[data-mode=light] .highlight .o,html[data-mode=light] .highlight .ow{color:#0550ae}html[data-mode=light] .highlight .gh{color:#0550ae;font-weight:bold}html[data-mode=light] .highlight .gu{color:#0550ae;font-weight:bold}html[data-mode=light] .highlight .s,html[data-mode=light] .highlight .sa,html[data-mode=light] .highlight .sc,html[data-mode=light] .highlight .dl,html[data-mode=light] .highlight .sd,html[data-mode=light] .highlight .s2,html[data-mode=light] .highlight .se,html[data-mode=light] .highlight .sh,html[data-mode=light] .highlight .sx,html[data-mode=light] .highlight .s1,html[data-mode=light] .highlight .ss{color:#0a3069}html[data-mode=light] .highlight .nd{color:#8250df}html[data-mode=light] .highlight .nf,html[data-mode=light] .highlight .fm{color:#8250df}html[data-mode=light] .highlight .err{color:#f6f8fa;background-color:#82071e}html[data-mode=light] .highlight .c,html[data-mode=light] .highlight .ch,html[data-mode=light] .highlight .cd,html[data-mode=light] .highlight .cm,html[data-mode=light] .highlight .cp,html[data-mode=light] .highlight .cpf,html[data-mode=light] .highlight .c1,html[data-mode=light] .highlight .cs{color:#68717a}html[data-mode=light] .highlight .gl{color:#68717a}html[data-mode=light] .highlight .gt{color:#68717a}html[data-mode=light] .highlight .ni{color:#24292f}html[data-mode=light] .highlight .si{color:#24292f}html[data-mode=light] .highlight .ge{color:#24292f;font-style:italic}html[data-mode=light] .highlight .gs{color:#24292f;font-weight:bold}}@media all and (min-width: 850px){html{overflow-y:scroll}}body{background:var(--main-bg);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);color:var(--text-color);-webkit-font-smoothing:antialiased;font-family:"Source Sans Pro","Microsoft Yahei",sans-serif}@media all and (max-width: calc(850px - 1px)){h1.dynamic-title{display:none}h1.dynamic-title~.content{margin-top:2.5rem}}@media all and (min-width: 1650px){main.col-12{padding-right:4.5rem !important}}.preview-img{aspect-ratio:40/21;width:100%;height:100%;overflow:hidden}.preview-img:not(.no-bg){background:var(--img-bg)}.preview-img img{height:100%;-o-object-fit:cover;object-fit:cover}#post-list .preview-img img{width:100%}.post-preview{border:0;background:var(--card-bg);box-shadow:var(--card-shadow)}.post-preview::before{content:"";width:100%;height:100%;position:absolute;background-color:var(--card-hovor-bg);opacity:0;transition:opacity .35s ease-in-out}.post-preview:hover::before{opacity:.3}.content{font-size:1.08rem;margin-top:2rem;overflow-wrap:break-word}@media all and (min-width: 1200px){.content{font-size:1.03rem}}.content a.popup{margin-top:.5rem;margin-bottom:.5rem;cursor:zoom-in}.content ol:not([class]),.content ol.task-list,.content ul:not([class]),.content ul.task-list{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem}.content ol:not([class]) li,.content ol.task-list li,.content ul:not([class]) li,.content ul.task-list li{margin:.25rem 0;padding-left:.25rem}.content ol:not([class]) ol,.content ol:not([class]) ul,.content ol.task-list ol,.content ol.task-list ul,.content ul:not([class]) ol,.content ul:not([class]) ul,.content ul.task-list ol,.content ul.task-list ul{-webkit-padding-start:1.25rem;padding-inline-start:1.25rem;margin:.5rem 0}.content ul.task-list{-webkit-padding-start:1.25rem;padding-inline-start:1.25rem}.content ul.task-list li{list-style-type:none;padding-left:0}.content ul.task-list li>i{width:2rem;margin-left:-1.25rem;color:var(--checkbox-color)}.content ul.task-list li>i.checked{color:var(--checkbox-checked-color)}.content ul.task-list li ul{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem}.content ul.task-list input[type=checkbox]{margin:0 .5rem .2rem -1.3rem;vertical-align:middle}.content dl>dd{margin-left:1rem}.content ::marker{color:var(--text-muted-color)}@media all and (min-width: 850px){.content .table-wrapper>table{min-width:70%}}.post-tag{display:inline-block;min-width:2rem;text-align:center;border-radius:.5rem;border:1px solid var(--btn-border-color);padding:0 .4rem;color:var(--text-muted-color);line-height:1.3rem}.post-tag:not(:last-child){margin-right:.2rem}.rounded-10{border-radius:10px !important}.img-link{color:rgba(0,0,0,0);display:inline-flex}.shimmer{overflow:hidden;position:relative;background:var(--img-bg)}.shimmer::before{content:"";position:absolute;background:var(--shimmer-bg);height:100%;width:100%;-webkit-animation:shimmer 1.3s infinite;animation:shimmer 1.3s infinite}@-webkit-keyframes shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@keyframes shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.embed-video{width:100%;height:100%;margin-bottom:1rem;aspect-ratio:16/9}.embed-video.twitch{aspect-ratio:310/189}.embed-video.file{display:block;width:auto;height:auto;max-width:100%;max-height:100%;margin:auto;margin-bottom:0}.embed-audio{width:100%;display:block}.flex-grow-1{flex-grow:1 !important}.btn-box-shadow{box-shadow:var(--card-shadow)}.text-muted{color:var(--text-muted-color) !important}.tooltip-inner{font-size:.7rem;max-width:220px;text-align:left}.btn.btn-outline-primary:not(.disabled):hover{border-color:#007bff !important}.disabled{color:#cec4c4;pointer-events:auto;cursor:not-allowed}.hide-border-bottom{border-bottom:none !important}.input-focus{box-shadow:none;border-color:var(--input-focus-border-color) !important;background:center !important;transition:background-color .15s ease-in-out,border-color .15s ease-in-out}.left{float:left;margin:.75rem 1rem 1rem 0}.right{float:right;margin:.75rem 0 1rem 1rem}.mermaid{text-align:center}mjx-container{overflow-y:hidden;min-width:auto !important}@media(hover: hover){#sidebar ul>li:last-child::after{transition:top .5s ease}.nav-link{transition:background-color .3s ease-in-out}.post-preview{transition:background-color .35s ease-in-out}}#mask{inset:0 0 0 0}#main-wrapper{position:relative;padding-left:0;padding-right:0}@media all and (max-width: calc(850px - 1px)){#main-wrapper{transition:transform .4s ease}}@media all and (min-width: 850px){#main-wrapper{margin-left:260px}}@media all and (min-width: 1650px){#main-wrapper{margin-left:300px}}#main-wrapper>.container{min-height:100vh}@media all and (max-width: 768px){#main-wrapper>.container{max-width:100%;padding-left:0;padding-right:0}}@media all and (max-width: calc(850px - 1px)){#main-wrapper>.container{max-width:100%}}@media all and (min-width: 992px)and (max-width: calc(1200px - 1px)){#main-wrapper>.container .col-lg-11{flex:0 0 96%;max-width:96%}}@media all and (max-width: calc(1200px - 1px)){#main-wrapper>.container>.row{justify-content:center !important}}@media all and (min-width: 1650px){#main-wrapper>.container{max-width:1250px;padding-left:1.75rem !important;padding-right:1.75rem !important}}#topbar-wrapper.row,#main-wrapper>.container>.row,#search-result-wrapper>.row{margin-left:0;margin-right:0}@media all and (min-width: 1650px){#tail-wrapper{padding-right:4.5rem !important}}#tail-wrapper>:not(script){margin-top:3rem}h1{font-size:2rem}main h2{margin:2.5rem 0 1.25rem}h2{font-size:1.54rem}main h3{margin:2rem 0 1rem}h3{font-size:1.36rem}main h4{margin:2rem 0 1rem}h4{font-size:1.18rem}h5{font-size:1.05rem}a{text-decoration:none}img{max-width:100%;height:auto;transition:all .35s ease-in-out}.blur img{-webkit-filter:blur(20px);filter:blur(20px)}blockquote{border-left:.125rem solid var(--blockquote-border-color);padding-left:1rem;color:var(--blockquote-text-color);margin-top:.5rem}blockquote>p:last-child{margin-bottom:0}blockquote[class^=prompt-]{border-left:0;position:relative;padding:1rem 1rem 1rem 3rem;color:var(--prompt-text-color)}blockquote[class^=prompt-]::before{text-align:center;width:3rem;position:absolute;left:.25rem;margin-top:.4rem;text-rendering:auto;-webkit-font-smoothing:antialiased}blockquote.prompt-tip{background-color:var(--prompt-tip-bg)}blockquote.prompt-tip::before{content:"";color:var(--prompt-tip-icon-color);font:var(--fa-font-regular)}blockquote.prompt-info{background-color:var(--prompt-info-bg)}blockquote.prompt-info::before{content:"";color:var(--prompt-info-icon-color);font:var(--fa-font-solid);transform:rotate(180deg)}blockquote.prompt-warning{background-color:var(--prompt-warning-bg)}blockquote.prompt-warning::before{content:"";color:var(--prompt-warning-icon-color);font:var(--fa-font-solid)}blockquote.prompt-danger{background-color:var(--prompt-danger-bg)}blockquote.prompt-danger::before{content:"";color:var(--prompt-danger-icon-color);font:var(--fa-font-solid)}kbd{font-family:Lato,sans-serif;display:inline-block;vertical-align:middle;line-height:1.3rem;min-width:1.75rem;text-align:center;margin:0 .3rem;padding-top:.1rem;color:var(--kbd-text-color);background-color:var(--kbd-bg-color);border-radius:6px;border:solid 1px var(--kbd-wrap-color);box-shadow:inset 0 -2px 0 var(--kbd-wrap-color)}hr{border-color:var(--main-border-color);opacity:1}footer{background-color:var(--main-bg);height:5rem;border-top:1px solid var(--main-border-color)}footer p{text-align:center;margin-bottom:0}main{line-height:1.75}main h1{margin-top:2rem}@media all and (min-width: 850px){main h1{margin-top:3rem}}main p>a.popup:not(.normal):not(.left):not(.right){position:relative;left:50%;transform:translateX(-50%)}@media all and (max-width: 576px){main .content>blockquote[class^=prompt-]{margin-left:-1rem;margin-right:-1rem;border-radius:0;max-width:none}}.footnotes>ol{padding-left:2rem;margin-top:.5rem}.footnotes>ol>li:not(:last-child){margin-bottom:.3rem}.footnotes>ol>li>p{margin-left:.25em;margin-top:0;margin-bottom:0}a.footnote{margin-left:1px;margin-right:1px;padding-left:2px;padding-right:2px;border-bottom-style:none !important}a.reversefootnote{font-size:.6rem;line-height:1;position:relative;bottom:.25em;margin-left:.25em;border-bottom-style:none !important}.table-wrapper{overflow-x:auto;margin-bottom:1.5rem}.table-wrapper>table{min-width:100%;overflow-x:auto;border-spacing:0}.table-wrapper>table thead{border-bottom:solid 2px rgba(210,215,217,.75)}.table-wrapper>table tbody tr{border-bottom:1px solid var(--tb-border-color)}.table-wrapper>table tbody tr:nth-child(2n){background-color:var(--tb-even-bg)}.table-wrapper>table tbody tr:nth-child(2n+1){background-color:var(--tb-odd-bg)}.highlighter-rouge{color:var(--highlighter-rouge-color);margin-top:.5rem;margin-bottom:1.2em}.highlight{overflow:auto;padding-bottom:.75rem}.highlight pre{margin-bottom:0;font-size:.85rem;line-height:1.4rem;word-wrap:normal}.highlight table td:first-child{display:inline-block;margin-left:1rem;margin-right:.75rem}.highlight table td:last-child{padding-right:2rem !important}.highlight table td pre{overflow:visible;word-break:normal}.highlight .lineno{text-align:right;color:var(--highlight-lineno-color);-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}code{-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;color:var(--code-color)}code.highlighter-rouge{font-size:.85rem;padding:3px 5px;word-break:break-word;border-radius:6px;background-color:var(--inline-code-bg)}code.filepath{background-color:inherit;color:var(--filepath-text-color);font-weight:600;padding:0}a>code.highlighter-rouge{padding-bottom:0;color:inherit}a:hover>code.highlighter-rouge{border-bottom:none}blockquote code{color:inherit}td.rouge-code a{color:inherit !important;border-bottom:none !important;pointer-events:none}div[class^=language-]{box-shadow:var(--language-border-color) 0 0 0 1px}.content>div[class^=language-]{margin-left:-1rem;margin-right:-1rem;border-radius:0}@media all and (min-width: 576px){.content>div[class^=language-]{margin-left:0;margin-right:0;border-radius:10px}}@media all and (min-width: 576px){div[class^=language-] .code-header{margin-left:0;margin-right:0}div[class^=language-] .code-header::before{content:"";display:inline-block;margin-left:1rem;width:.75rem;height:.75rem;border-radius:50%;background-color:var(--code-header-muted-color);box-shadow:1.25rem 0 0 var(--code-header-muted-color),2.5rem 0 0 var(--code-header-muted-color)}div[class^=language-] .code-header span{margin-left:-0.875rem}}div[class^=language-] .highlight{border-top-left-radius:0;border-top-right-radius:0}div.nolineno td:first-child,div.language-plaintext td:first-child,div.language-console td:first-child,div.language-terminal td:first-child{padding:0 !important;margin-right:0}div.nolineno td:first-child .lineno,div.language-plaintext td:first-child .lineno,div.language-console td:first-child .lineno,div.language-terminal td:first-child .lineno{display:none}.code-header{display:flex;justify-content:space-between;align-items:center;height:2.25rem;margin-left:.75rem;margin-right:.25rem}.code-header span{line-height:2.25rem}.code-header span i{font-size:1rem;width:1.75rem;color:var(--code-header-icon-color)}.code-header span i.small{font-size:70%}[file] .code-header span>i{position:relative;top:1px}.code-header span::after{content:attr(data-label-text);font-size:.85rem;font-weight:600;color:var(--code-header-text-color)}.code-header button{border:1px solid rgba(0,0,0,0);height:2.25rem;width:2.25rem;padding:0;background-color:inherit}.code-header button i{color:var(--code-header-icon-color)}.code-header button[timeout]:hover{border-color:var(--clipboard-checked-color)}.code-header button[timeout] i{color:var(--clipboard-checked-color)}.code-header button:focus{outline:none}.code-header button:not([timeout]):hover{background-color:rgba(128,128,128,.37)}.code-header button:not([timeout]):hover i{color:#fff}#back-to-top{visibility:hidden;opacity:0;z-index:1;cursor:pointer;position:fixed;right:1rem;bottom:4.625rem;background:var(--button-bg);color:var(--btn-backtotop-color);padding:0;width:2.75rem;height:2.75rem;border-radius:50%;border:1px solid var(--btn-backtotop-border-color);transition:opacity .5s ease-in-out,transform .2s ease-out}@media all and (min-width: 850px){#back-to-top{right:5%;bottom:3.625rem}}@media all and (min-width: 1400px){#back-to-top{right:calc((100vw - 260px - 1140px)/2 + 3rem)}}@media all and (min-width: 1650px){#back-to-top{right:calc((100vw - 300px - 1250px)/2 + 2rem)}}#back-to-top:hover{transform:translate3d(0, -5px, 0);-webkit-transform:translate3d(0, -5px, 0)}#back-to-top i{line-height:2.75rem;position:relative;bottom:2px}#back-to-top.show{opacity:1;visibility:visible}@-webkit-keyframes popup{from{opacity:0;bottom:0}}@keyframes popup{from{opacity:0;bottom:0}}#notification .toast-header{background:none;border-bottom:none;color:inherit}#notification .toast-body{font-family:Lato,sans-serif;line-height:1.25rem}#notification .toast-body button{font-size:90%;min-width:4rem}#notification.toast.show{display:block;min-width:20rem;border-radius:.5rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:rgba(255,255,255,.5);color:rgba(27,27,30,.7294117647);position:fixed;left:50%;bottom:20%;transform:translateX(-50%);-webkit-animation:popup .8s;animation:popup .8s}#toc-popup{border-color:var(--toc-popup-border-color);border-width:1px;border-radius:10px;color:var(--text-color);background:var(--card-bg);margin-top:3rem;min-width:20rem;font-size:1.05rem}@media all and (min-width: 576px){#toc-popup{max-width:32rem}}#toc-popup[open]{-webkit-animation:slide-in .3s ease-out;animation:slide-in .3s ease-out}#toc-popup[closing]{-webkit-animation:slide-out .3s ease-out;animation:slide-out .3s ease-out}@media all and (min-width: 850px){#toc-popup{left:260px}}#toc-popup .header{position:-webkit-sticky;position:sticky;top:0;background-color:inherit;border-bottom:1px solid var(--main-border-color)}#toc-popup .header .label{font-family:Lato,"Microsoft Yahei",sans-serif}#toc-popup button>i{font-size:1.25rem;vertical-align:middle}#toc-popup button:focus-visible{box-shadow:none}#toc-popup ul{list-style-type:none;padding-left:0}#toc-popup ul li ul,#toc-popup ul li+li{margin-top:.25rem}#toc-popup ul li a{display:flex;line-height:1.5;padding:.375rem 0;padding-right:1.125rem}#toc-popup ul li a.toc-link::before{display:none}#toc-popup .node-name--H2{padding-left:1.125rem}#toc-popup .node-name--H3{padding-left:2.25rem}#toc-popup .node-name--H4{padding-left:3.375rem}#toc-popup .is-active-link{color:var(--toc-highlight) !important;font-weight:600}#toc-popup::-webkit-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}#toc-popup::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}#toc-popup::after{display:flex;content:"";position:relative;background:linear-gradient(transparent, var(--card-bg) 70%);height:2rem}#toc-popup #toc-popup-content{overflow:auto;max-height:calc(100vh - 12rem);font-family:Lato,"Microsoft Yahei",sans-serif;margin-bottom:-2rem}#sidebar{padding-left:0;padding-right:0;position:fixed;top:0;left:0;height:100%;overflow-y:auto;width:260px;background:var(--sidebar-bg);border-right:1px solid var(--sidebar-border-color);-ms-overflow-style:none;scrollbar-width:none}#sidebar::-webkit-scrollbar{display:none}@media all and (max-width: calc(850px - 1px)){#sidebar{transition:transform .4s ease;transform:translateX(-260px);-webkit-transform:translateX(-260px)}[sidebar-display] #sidebar{transform:translateX(0)}}@media all and (min-width: 1650px){#sidebar{width:300px}}#sidebar .sidebar-bottom #mode-toggle:hover,#sidebar .sidebar-bottom a:hover,#sidebar .site-title:hover{color:var(--sidebar-active-color)}#sidebar #avatar{display:block;width:6.5rem;height:6.5rem;overflow:hidden;box-shadow:var(--avatar-border-color) 0 0 0 2px;transform:translateZ(0)}@media all and (min-width: 576px){#sidebar #avatar{width:7rem;height:7rem}}#sidebar #avatar img{transition:transform .5s}#sidebar #avatar img:hover{transform:scale(1.2)}#sidebar .profile-wrapper{margin-top:2.5rem;margin-bottom:2.5rem;padding-left:2.5rem;padding-right:1.25rem;width:100%}@media all and (min-width: 850px){#sidebar .profile-wrapper{margin-top:3rem}}@media all and (min-width: 1650px){#sidebar .profile-wrapper{margin-top:3.5rem;margin-bottom:2.5rem;padding-left:3.5rem}}#sidebar .site-title{font-family:inherit;font-weight:900;font-size:1.75rem;line-height:1.2;letter-spacing:.25px;margin-top:1.25rem;margin-bottom:.5rem;width:fit-content;color:var(--site-title-color)}#sidebar .site-subtitle{font-size:95%;color:var(--site-subtitle-color);margin-top:.25rem;word-spacing:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#sidebar ul{margin-bottom:2rem}#sidebar ul li.nav-item{opacity:.9;width:100%;padding-left:1.5rem;padding-right:1.5rem}@media all and (min-width: 1650px){#sidebar ul li.nav-item{padding-left:2.75rem;padding-right:2.75rem}}#sidebar ul li.nav-item a.nav-link{padding-top:.6rem;padding-bottom:.6rem;display:flex;align-items:center;border-radius:.75rem;font-weight:600}#sidebar ul li.nav-item a.nav-link:hover{background-color:var(--sidebar-hover-bg)}#sidebar ul li.nav-item a.nav-link i{font-size:95%;opacity:.8;margin-right:1.5rem}#sidebar ul li.nav-item a.nav-link span{font-size:90%;letter-spacing:.2px}#sidebar ul li.nav-item.active .nav-link{color:var(--sidebar-active-color);background-color:var(--sidebar-hover-bg)}#sidebar ul li.nav-item.active .nav-link span{opacity:1}#sidebar ul li.nav-item:not(:first-child){margin-top:.25rem}#sidebar .sidebar-bottom{padding-left:2rem;padding-right:1rem;margin-bottom:1.5rem}@media all and (min-width: 1650px){#sidebar .sidebar-bottom{padding-left:2.75rem;margin-bottom:1.75rem}}#sidebar .sidebar-bottom #mode-toggle,#sidebar .sidebar-bottom a{width:1.75rem;height:1.75rem;margin-bottom:.5rem;border-radius:50%;color:var(--sidebar-btn-color);background-color:var(--sidebar-btn-bg);text-align:center;display:flex;align-items:center;justify-content:center}#sidebar .sidebar-bottom #mode-toggle:not(:focus-visible),#sidebar .sidebar-bottom a:not(:focus-visible){box-shadow:var(--sidebar-border-color) 0 0 0 1px}#sidebar .sidebar-bottom #mode-toggle:hover,#sidebar .sidebar-bottom a:hover{background-color:var(--sidebar-hover-bg)}#sidebar .sidebar-bottom a:not(:last-child){margin-right:.8rem}@media all and (min-width: 1650px){#sidebar .sidebar-bottom a:not(:last-child){margin-right:1rem}}#sidebar .sidebar-bottom i{line-height:1.75rem}#sidebar .sidebar-bottom .icon-border{margin-left:calc((.8rem - 3px)/2);margin-right:calc((.8rem - 3px)/2);background-color:var(--sidebar-btn-color);content:"";width:3px;height:3px;border-radius:50%;margin-bottom:.5rem}@media all and (min-width: 1650px){#sidebar .sidebar-bottom .icon-border{margin-left:calc((1rem - 3px)/2);margin-right:calc((1rem - 3px)/2)}}@media all and (max-width: calc(850px - 1px)){[sidebar-display] #main-wrapper{transform:translateX(260px)}}#topbar-wrapper{height:3rem;background-color:var(--topbar-bg)}@media all and (max-width: calc(850px - 1px)){#topbar-wrapper{transition:transform .4s ease,top .2s ease;left:0}}#topbar #breadcrumb{font-size:1rem;color:var(--text-muted-color);padding-left:.5rem}#topbar #breadcrumb span:not(:last-child)::after{content:"›";padding:0 .3rem}@media all and (max-width: calc(850px - 1px)){#topbar #breadcrumb{display:none}}@media all and (min-width: 850px)and (max-width: calc(1200px - 1px)){#topbar #breadcrumb{width:65%;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;white-space:nowrap}}@media all and (max-width: 768px){#topbar{max-width:100%}}@media all and (max-width: calc(850px - 1px)){#topbar{max-width:100%}}#topbar-title{display:none;font-size:1.1rem;font-weight:600;font-family:sans-serif;color:var(--topbar-text-color);text-align:center;width:70%;word-break:keep-all}@media all and (max-width: calc(850px - 1px)){#topbar-title{display:block}}@media all and (min-width: 850px){#topbar-title{text-align:left}}#sidebar-trigger,#search-trigger{display:none}@media all and (max-width: calc(850px - 1px)){#sidebar-trigger,#search-trigger{display:block}}.access{top:2rem;transition:top .2s ease-in-out;margin-top:3rem}.access:only-child{position:-webkit-sticky;position:sticky}.access>section{padding-left:1rem}.access>section:not(:first-child){margin-top:4rem}.access .content{font-size:.9rem}#panel-wrapper .panel-heading{font-family:inherit;line-height:inherit;color:var(--label-color);font-size:inherit;font-weight:600}#panel-wrapper .post-tag{line-height:1.05rem;font-size:.85rem;border-radius:.8rem;padding:.3rem .5rem;margin:0 .35rem .5rem 0}#panel-wrapper .post-tag:hover{transition:all .3s ease-in}#panel-wrapper>:last-child{margin-bottom:4rem}@media all and (max-width: calc(1200px - 1px)){#panel-wrapper{display:none}}#access-lastmod a{color:inherit}footer{background-color:var(--main-bg);height:5rem;border-top:1px solid var(--main-border-color)}@media all and (max-width: calc(850px - 1px)){footer{transition:transform .4s ease;height:6rem;padding:1.5rem 0}}footer p{text-align:center;margin-bottom:0}search{display:flex;width:100%;border-radius:1rem;border:1px solid var(--search-border-color);background:var(--main-bg);padding:0 .5rem}search i{z-index:2;font-size:.9rem;color:var(--search-icon-color)}@media all and (max-width: calc(850px - 1px)){search{display:none}}@media all and (min-width: 850px){search{max-width:200px}}@media all and (min-width: 1200px){search{margin-right:4rem}}@media all and (min-width: 1650px){search{margin-right:calc(112.5px - .75rem)}}#search-result-wrapper{display:none;height:100%;width:100%;overflow:auto}#search-result-wrapper .content{margin-top:2rem}@media all and (max-width: calc(850px - 1px)){#search-result-wrapper{width:100%}#search-result-wrapper .content{letter-spacing:0}}@media all and (min-width: 850px){#search-result-wrapper{max-width:1250px;justify-content:start !important}}#search-results{padding-bottom:3rem}@media all and (min-width: 850px)and (max-width: calc(1200px - 1px)){#search-results>div{max-width:700px}}#search-results a{font-size:1.4rem;line-height:1.5rem}#search-results>article{width:100%}#search-results>article:not(:last-child){margin-bottom:1rem}@media all and (min-width: 1200px){#search-results>article{width:45%}#search-results>article:nth-child(odd){margin-right:1.5rem}#search-results>article:nth-child(even){margin-left:1.5rem}#search-results>article:last-child:nth-child(odd){position:relative;right:24.3%}}#search-results>article h2{line-height:2.5rem}#search-results>article i{color:#818182;margin-right:.15rem;font-size:80%}#search-results>article>p{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}#search-cancel{color:var(--link-color);display:none;white-space:nowrap}#search-input{background:center;border:0;border-radius:0;padding:.18rem .3rem;color:var(--text-color);height:auto}#search-input:focus{box-shadow:none}@media all and (min-width: 1200px){#search-input{transition:all .3s ease-in-out}}#search-hints{padding:0 1rem}@media all and (min-width: 850px){#search-hints{display:none}}#search-hints h4{margin-bottom:1.5rem}#search-hints .post-tag{display:inline-block;line-height:1rem;font-size:1rem;background:var(--search-tag-bg);border:none;padding:.5rem;margin:0 1.25rem 1rem 0}#search-hints .post-tag::before{content:"#";color:var(--text-muted-color);padding-right:.2rem}#post-list{margin-top:2rem}@media all and (min-width: 850px){#post-list{margin-top:2.5rem}}#post-list .card-wrapper:hover{text-decoration:none}#post-list .card-wrapper:not(:last-child){margin-bottom:1.25rem}#post-list .card{border:0;background:none}#post-list .card .preview-img img,#post-list .card .preview-img{border-radius:10px 10px 0 0}@media all and (min-width: 768px){#post-list .card .preview-img img,#post-list .card .preview-img{border-radius:0 10px 10px 0}}#post-list .card .card-body{height:100%;padding:1rem}@media all and (min-width: 768px){#post-list .card .card-body{padding:1.75rem 1.75rem 1.25rem}}#post-list .card .card-body .card-title{color:var(--heading-color) !important;font-size:1.25rem}#post-list .card .card-body .post-meta,#post-list .card .card-body .card-text.content{color:var(--text-muted-color) !important}@media all and (min-width: 768px){#post-list .card .card-body .card-text{display:inherit !important}}#post-list .card .card-body .card-text.content p{line-height:1.5;margin:0}#post-list .card .card-body .post-meta i:not(:first-child){margin-left:1.5rem}@media all and (min-width: 768px){#post-list .card .card-body .post-meta i:not(:first-child){margin-left:1.75rem}}#post-list .card .card-body .post-meta em{color:inherit}#post-list .card .card-body .post-meta>div:first-child{display:block}.pagination{color:var(--text-color);font-family:Lato,sans-serif;justify-content:space-evenly}@media all and (min-width: 850px){.pagination{font-size:.85rem;justify-content:center}}.pagination a:hover{text-decoration:none}@media all and (max-width: calc(850px - 1px)){.pagination .page-item:not(:first-child):not(:last-child){display:none}}@media all and (min-width: 850px){.pagination .page-item:not(:last-child){margin-right:.7rem}}.pagination .page-item .page-link{color:var(--btn-patinator-text-color);padding:0 .6rem;display:-webkit-box;-webkit-box-pack:center;-webkit-box-align:center;border-radius:.5rem;border:0;background-color:inherit}.pagination .page-item.active .page-link{background-color:var(--btn-paginator-hover-color)}.pagination .page-item:not(.active) .page-link:hover{box-shadow:inset var(--btn-border-color) 0 0 0 1px}.pagination .page-item.disabled{cursor:not-allowed}.pagination .page-item.disabled .page-link{color:rgba(108,117,125,.57)}@media all and (min-width: 850px){.pagination .page-index{display:none}}.post-navigation .btn.disabled,.post-navigation .btn{width:50%;position:relative;border-color:var(--btn-border-color)}header .post-desc{font-size:1.125rem;line-height:1.6}header .post-meta span+span::before{content:"•";padding-left:.25rem;padding-right:.25rem}header .post-meta em a{color:inherit}header h1+.post-meta{margin-top:1.5rem}.post-tail-wrapper{margin-top:6rem;border-bottom:1px double var(--main-border-color)}.post-tail-wrapper .license-wrapper{line-height:1.2rem}.post-tail-wrapper .share-wrapper{vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-tail-wrapper .share-wrapper .share-icons>*,.post-tail-wrapper .share-wrapper .share-icons i{font-size:1.125rem}.post-tail-wrapper .share-wrapper .share-icons{display:flex}.post-tail-wrapper .share-wrapper .share-icons i{color:var(--btn-share-color)}.post-tail-wrapper .share-wrapper .share-icons>*{margin-left:.5rem}.post-tail-wrapper .share-wrapper .share-icons button{padding:0;border:none;line-height:inherit}@media all and (max-width: 576px){.post-tail-bottom{flex-wrap:wrap-reverse !important}.post-tail-bottom>div:first-child{width:100%;margin-top:1rem}}.share-mastodon{--wc-stm-font-family: v.$font-family-base;--wc-stm-dialog-background-color: var(--card-bg);--wc-stm-form-button-border: 1px solid var(--btn-border-color);--wc-stm-form-submit-background-color: var(--sidebar-btn-bg);--wc-stm-form-cancel-background-color: var(--sidebar-btn-bg);--wc-stm-form-button-background-color-hover: #007bff;--wc-stm-form-button-color-hover: white;font-size:1rem}.post-tags{line-height:2rem}@media all and (max-width: calc(850px - 1px)){.post-navigation{padding-left:0;padding-right:0;margin-left:-0.5rem;margin-right:-0.5rem}}.post-navigation .btn:not(:hover){color:var(--link-color)}.post-navigation .btn:hover:not(.disabled)::before{color:#f5f5f5}.post-navigation .btn.disabled{pointer-events:auto;cursor:not-allowed;background:none;color:gray}.post-navigation .btn.btn-outline-primary.disabled:focus{box-shadow:none}.post-navigation .btn::before{color:var(--text-muted-color);font-size:.65rem;text-transform:uppercase;content:attr(aria-label)}.post-navigation .btn:first-child{border-radius:10px 0 0 10px;left:.5px}.post-navigation .btn:last-child{border-radius:0 10px 10px 0;right:.5px}.post-navigation p{font-size:1.1rem;line-height:1.5rem;margin-top:.3rem;white-space:normal}@media(hover: hover){.post-navigation .btn,.post-navigation .btn::before{transition:all .35s ease-in-out}}@-webkit-keyframes fade-up{from{opacity:0;margin-top:4rem}to{opacity:1}}@keyframes fade-up{from{opacity:0;margin-top:4rem}to{opacity:1}}#toc-wrapper::before,.toc-border-cover{content:"";display:block;position:-webkit-sticky;position:sticky;top:0;width:100%;height:3rem;background:linear-gradient(var(--main-bg) 50%, transparent)}#toc-wrapper{top:0;transition:top .2s ease-in-out;overflow-y:auto;max-height:100vh;scrollbar-width:none;margin-top:2rem}#toc-wrapper:not(.invisible){-webkit-animation:fade-up .8s;animation:fade-up .8s}#toc-wrapper ul{list-style:none;font-size:.85rem;line-height:1.25;padding-left:0}#toc-wrapper ul li a{padding:.4rem 0 .4rem 1.25rem}#toc-wrapper ul .toc-link{display:block}#toc-wrapper ul .toc-link:hover{color:var(--toc-highlight);text-decoration:none}#toc-wrapper ul .toc-link::before{display:none}#toc-wrapper ul .is-active-link{color:var(--toc-highlight) !important;font-weight:600}#toc-wrapper ul .is-active-link::before{display:inline-block;width:1px;height:1.25rem;background-color:var(--toc-highlight) !important}#toc-wrapper ul ul{padding-left:.75rem}.toc-border-cover{margin-bottom:-4rem}#toc-wrapper::after{content:"";position:fixed;bottom:0;width:15%;height:2.25rem;margin-left:-1px;background:linear-gradient(transparent, var(--main-bg) 70%)}#toc-bar{position:-webkit-sticky;position:sticky;top:0;z-index:1;margin:0 -1rem;height:3rem;background:var(--main-bg);border-bottom:1px solid var(--main-border-color);transition:all .2s ease-in-out}@media all and (min-width: 1200px){#toc-bar{display:none !important}}#toc-bar .label{margin-left:.375rem;padding:0 .75rem;color:inherit}#toc-bar.invisible{top:-3rem;transition:none}#toc-solo-trigger{color:var(--text-muted-color);border-color:var(--btn-border-color);border-radius:10px}@media all and (min-width: 1200px){#toc-solo-trigger{display:none !important}}#toc-solo-trigger .label{font-size:1rem;font-family:Lato,"Microsoft Yahei",sans-serif}#toc-solo-trigger:hover{box-shadow:none;background:none}@-webkit-keyframes slide-in{from{opacity:.7;transform:translateY(-3rem)}to{opacity:1;transform:translateY(0)}}@keyframes slide-in{from{opacity:.7;transform:translateY(-3rem)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes slide-out{0%{transform:translateY(0);opacity:1}100%{transform:translateY(-3rem);opacity:0}}@keyframes slide-out{0%{transform:translateY(0);opacity:1}100%{transform:translateY(-3rem);opacity:0}}#related-posts>h3{color:var(--label-color);font-size:1.1rem;font-weight:600}#related-posts time{color:var(--text-muted-color)}#related-posts p{font-size:.9rem;margin-bottom:.5rem;white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}#disqus_thread{min-height:8.5rem}.utterances{max-width:100%;min-height:269px}.post-tail-wrapper .share-wrapper .share-icons>*:hover i{color:var(--btn-share-hover-color) !important}.share-label{color:inherit;font-size:inherit;font-weight:400}.share-label::after{content:":"}@media all and (max-width: 768px){.content>p>img{max-width:calc(100% + 1rem)}}@media all and (min-width: 1200px){h2,h3,h4{scroll-margin-top:2rem}}.categories i{color:gray}.categories{margin-bottom:2rem;border-color:var(--categories-border)}.categories .card-header{padding:.75rem;border-radius:9px;border-bottom:0}.categories .card-header.hide-border-bottom{border-bottom-left-radius:0;border-bottom-right-radius:0}.categories i{font-size:86%}.categories .list-group-item{border-left:none;border-right:none;padding-left:2rem}.categories .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.categories .list-group-item:last-child{border-bottom:0}.category-trigger{width:1.7rem;height:1.7rem;border-radius:50%;text-align:center;color:#6c757d !important}.category-trigger i{position:relative;height:.7rem;width:1rem;transition:transform 300ms ease}.category-trigger:hover i{color:var(--categories-icon-hover-color)}@media(hover: hover){.category-trigger:hover{background-color:var(--categories-hover-bg)}}.rotate{transform:rotate(-90deg)}.tag{border-radius:.7em;padding:6px 8px 7px;margin-right:.8rem;line-height:3rem;letter-spacing:0;border:1px solid var(--tag-border) !important;box-shadow:0 0 3px 0 var(--tag-shadow)}.tag span{margin-left:.6em;font-size:.7em;font-family:Oswald,sans-serif}@media all and (max-width: calc(850px - 1px)){#tags{justify-content:center !important}}#archives{letter-spacing:.03rem}@media all and (max-width: calc(576px - 1px)){#archives{margin-top:-1rem}#archives ul{letter-spacing:0}}#archives ul li::before,#archives .year:first-child::before,#archives .year::before{content:"";width:4px;position:relative;float:left;background-color:var(--timeline-color)}#archives .year{height:3.5rem;font-size:1.5rem;position:relative;left:2px;margin-left:-4px}#archives .year::before{height:72px;left:79px;bottom:16px}#archives .year:first-child::before{height:32px;top:24px}#archives .year::after{content:"";display:inline-block;position:relative;border-radius:50%;width:12px;height:12px;left:21.5px;border:3px solid;background-color:var(--timeline-year-dot-color);border-color:var(--timeline-node-bg);box-shadow:0 0 2px 0 #c2c6cc;z-index:1}#archives ul li{font-size:1.1rem;line-height:3rem}#archives ul li:nth-child(odd){background-color:var(--main-bg, #ffffff);background-image:linear-gradient(to left, #ffffff, #fbfbfb, #fbfbfb, #fbfbfb, #ffffff)}#archives ul li::before{top:0;left:77px;height:3.1rem}#archives ul:last-child li:last-child::before{height:1.5rem}#archives .date{white-space:nowrap;display:inline-block;position:relative;right:.5rem}#archives .date.month{width:1.4rem;text-align:center}#archives .date.day{font-size:85%;font-family:Lato,sans-serif}#archives a{margin-left:2.5rem;position:relative;top:.1rem}#archives a:hover{border-bottom:none}#archives a::before{content:"";display:inline-block;position:relative;border-radius:50%;width:8px;height:8px;float:left;top:1.35rem;left:71px;background-color:var(--timeline-node-bg);box-shadow:0 0 3px 0 #c2c6cc;z-index:1}.dash{margin:0 .5rem .6rem .5rem;border-bottom:2px dotted var(--dash-color)}#page-category ul>li,#page-tag ul>li{line-height:1.5rem;padding:.6rem 0}#page-category ul>li::before,#page-tag ul>li::before{background:#999;width:5px;height:5px;border-radius:50%;display:block;content:"";position:relative;top:.6rem;margin-right:.5rem}@media all and (max-width: calc(576px - 1px)){#page-category ul>li::before,#page-tag ul>li::before{margin:0 .5rem}}#page-category ul>li>a,#page-tag ul>li>a{font-size:1.1rem}@media all and (max-width: calc(576px - 1px)){#page-category ul>li>a,#page-tag ul>li>a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}#page-tag h1>i{font-size:1.2rem}#page-category h1>i{font-size:1.25rem}#page-category a:hover,#page-tag a:hover,#access-lastmod a:hover{margin-bottom:-1px}/*# sourceMappingURL=jekyll-theme-chirpy.css.map */ \ No newline at end of file diff --git a/_site/assets/css/jekyll-theme-chirpy.css.map b/_site/assets/css/jekyll-theme-chirpy.css.map deleted file mode 100644 index 9aa2e64..0000000 --- a/_site/assets/css/jekyll-theme-chirpy.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sourceRoot":"","sources":["../../_sass/base/_reset.scss","../../_sass/abstracts/_mixins.scss","../../_sass/abstracts/_placeholders.scss","../../_sass/abstracts/_variables.scss","../../_sass/base/_base.scss","../../_sass/themes/_light.scss","../../_sass/themes/_dark.scss","../../_sass/abstracts/_breakpoints.scss","../../_sass/base/_typography.scss","../../_sass/base/_syntax.scss","../../_sass/components/_buttons.scss","../../_sass/components/_popups.scss","../../_sass/layout/_sidebar.scss","../../_sass/layout/_topbar.scss","../../_sass/layout/_panel.scss","../../_sass/layout/_footer.scss","../../_sass/pages/_search.scss","../../_sass/pages/_home.scss","../../_sass/pages/_post.scss","../../_sass/pages/_categories.scss","../../_sass/pages/_tags.scss","../../_sass/pages/_archives.scss","../../_sass/pages/_category-tag.scss"],"names":[],"mappings":"CAEA,4BC8BE,yCD1BF,mBC0BE,yCDtBF,uBCsBE,yCDlBF,wBCkBE,yCDdF,cCcE,yCDVF,kCCcE,WDVF,yBCUE,WDNF,6BCME,WDFF,8BCEE,WDEF,oBCFE,WCjCF,mEACE,2BACA,gBACA,YCuBoB,kCDtBpB,yBAIA,4CACE,cAGF,qBACE,4CACE,kBACA,UACA,2DAIA,oEACE,mBACA,UACA,0DAMR,sCACE,4BACA,uCAGF,+DACE,mBACA,cACA,mBAGF,2QACE,yBACA,gCACA,qBAGF,4CACE,wBAGF,sEACE,oDAGF,0EACE,+BAGF,gFACE,yBACA,sBACA,qBACA,iBAGF,6LACE,mBAGF,yFACE,eAGF,4EACE,kBAGF,wMACE,cClEU,KDsEV,oDACE,cACA,kBACA,kBACA,cACA,UACA,cAIJ,iDACE,iCACA,yBACA,sBACA,qBACA,iBAGF,iHACE,oBACA,gBACA,uBACA,qBACA,4BAGF,4ID9GE,gBACA,uBACA,mBCgHF,qGACE,wCACA,gBAGF,kFACE,iBAGF,2BACE,gBAIA,mCACE,2CACA,uBACA,0BACA,kBACA,8CAKF,+DACE,WAIJ,kDACE,2CAGF,cACE,kBACA,qBAOF,+BACE,+CEvJF,MACE,eAIA,oCACE,4CCXF,iBACA,mBACA,6BAGA,sBACA,4BACA,sCACA,yBACA,uBACA,mCACA,iCACA,sBACA,gCACA,qBACA,4BACA,+BACA,sCACA,0BACA,kCACA,oFAKA,2HAQA,uCACA,+BACA,sBACA,gCACA,+BACA,gCACA,6CACA,wBACA,6BACA,6BAGA,qCACA,qCACA,0CACA,6BACA,oCAGA,gCACA,oCACA,+CAGA,yBACA,oCACA,wBACA,iCACA,iBACA,yBACA,yFAEA,gCACA,qBACA,2BACA,qBACA,0BACA,oCACA,sBACA,2CACA,yCACA,iCACA,0BACA,kCACA,wCACA,qCACA,6CACA,oCAGA,sBACA,sCACA,gCACA,yBAGA,0CACA,+CACA,6CAGA,uCACA,4BACA,mCAGA,iCACA,8BACA,mCACA,kCACA,yCACA,sBACA,kCACA,mCACA,kCACA,mCAEA,8EACE,2CAGF,wDACE,aAKF,oFACE,YAGF,sFACE,SAGF,0IAEE,cACA,yBAGF,ogBAOE,cAGF,0EACE,cAGF,0EACE,cACA,yBAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cACA,yBAGF,0EACE,cAGF,guBAUE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,kXAKE,cAGF,kJAEE,cAGF,0EACE,cACA,iBAGF,0EACE,cACA,iBAGF,4yBAWE,cAGF,0EACE,cAGF,oJAEE,cAGF,4EACE,cACA,yBAGF,glBAQE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cAGF,0EACE,cACA,kBAGF,0EACE,cACA,iBDpSA,qBEjBF,kBAGA,2BACA,2BACA,qCAGA,iCACA,4BACA,sCACA,yBACA,uBACA,2CACA,iCACA,iCACA,0CACA,qBACA,4BACA,yCACA,sCACA,0BACA,qCACA,4CACA,4EACA,0HAQA,4BACA,+BACA,sBACA,gCACA,+BACA,iDACA,4BACA,0BACA,6BACA,+CAGA,mCACA,uCACA,uCACA,wCACA,+CAGA,2CACA,8CACA,qCAGA,oCACA,kCACA,6BACA,qBACA,8BACA,oCACA,uCACA,2BACA,iCACA,mBACA,yBACA,sFAEA,0BACA,0BACA,wBACA,8CACA,uCACA,gDACA,uCACA,kCACA,0CACA,mDACA,wCACA,oCAGA,8BACA,8BACA,8BACA,yBAGA,0CACA,uCACA,qCAGA,uCACA,kCACA,iDAGA,iCACA,8BACA,mCACA,kCACA,4CACA,sBACA,kCACA,mCACA,kCACA,mCACA,+BAEA,4BACE,aAIF,4EAEE,gCAIA,8CACE,uCAGF,kDACE,iBACA,kBACA,kBACA,sCAEA,6DACE,mCAKN,iDACE,+HAWF,oCACE,kBAKF,oCACE,cAGF,yCACE,YAGF,0CACE,SAGF,mEAEE,cACA,yBAGF,qCACE,cACA,yBAGF,4PAOE,cAGF,oCACE,cAGF,oCACE,cAGF,uEAEE,cAGF,uEAEE,cAGF,oCACE,cAGF,oCACE,cACA,yBAGF,oCACE,cACA,yBACA,iBAGF,mLAKE,cAGF,oCACE,cAGF,oCACE,cAGF,oCACE,cAGF,mUASE,cAGF,oCACE,cAGF,oCACE,cAGF,oCACE,cAGF,oCACE,cAGF,oCACE,cAGF,oCACE,cAGF,oCACE,cAGF,oCACE,cAGF,+RAQE,cAGF,oCACE,eFrRF,mCACE,2CEvBF,kBAGA,2BACA,2BACA,qCAGA,iCACA,4BACA,sCACA,yBACA,uBACA,2CACA,iCACA,iCACA,0CACA,qBACA,4BACA,yCACA,sCACA,0BACA,qCACA,4CACA,4EACA,0HAQA,4BACA,+BACA,sBACA,gCACA,+BACA,iDACA,4BACA,0BACA,6BACA,+CAGA,mCACA,uCACA,uCACA,wCACA,+CAGA,2CACA,8CACA,qCAGA,oCACA,kCACA,6BACA,qBACA,8BACA,oCACA,uCACA,2BACA,iCACA,mBACA,yBACA,sFAEA,0BACA,0BACA,wBACA,8CACA,uCACA,gDACA,uCACA,kCACA,0CACA,mDACA,wCACA,oCAGA,8BACA,8BACA,8BACA,yBAGA,0CACA,uCACA,qCAGA,uCACA,kCACA,iDAGA,iCACA,8BACA,mCACA,kCACA,4CACA,sBACA,kCACA,mCACA,kCACA,mCACA,+BAEA,yDACE,aAIF,0JAEE,gCAIA,6FACE,uCAGF,qGACE,iBACA,kBACA,kBACA,sCAEA,2HACE,mCAKN,mGACE,+HAWF,yEACE,kBAKF,yEACE,cAGF,mFACE,YAGF,qFACE,SAGF,wIAEE,cACA,yBAGF,2EACE,cACA,yBAGF,+fAOE,cAGF,yEACE,cAGF,yEACE,cAGF,gJAEE,cAGF,gJAEE,cAGF,yEACE,cAGF,yEACE,cACA,yBAGF,yEACE,cACA,yBACA,iBAGF,2WAKE,cAGF,yEACE,cAGF,yEACE,cAGF,yEACE,cAGF,+oBASE,cAGF,yEACE,cAGF,yEACE,cAGF,yEACE,cAGF,yEACE,cAGF,yEACE,cAGF,yEACE,cAGF,yEACE,cAGF,yEACE,cAGF,skBAQE,cAGF,yEACE,cF/QA,sBC3BF,iBACA,mBACA,6BAGA,sBACA,4BACA,sCACA,yBACA,uBACA,mCACA,iCACA,sBACA,gCACA,qBACA,4BACA,+BACA,sCACA,0BACA,kCACA,oFAKA,2HAQA,uCACA,+BACA,sBACA,gCACA,+BACA,gCACA,6CACA,wBACA,6BACA,6BAGA,qCACA,qCACA,0CACA,6BACA,oCAGA,gCACA,oCACA,+CAGA,yBACA,oCACA,wBACA,iCACA,iBACA,yBACA,yFAEA,gCACA,qBACA,2BACA,qBACA,0BACA,oCACA,sBACA,2CACA,yCACA,iCACA,0BACA,kCACA,wCACA,qCACA,6CACA,oCAGA,sBACA,sCACA,gCACA,yBAGA,0CACA,+CACA,6CAGA,uCACA,4BACA,mCAGA,iCACA,8BACA,mCACA,kCACA,yCACA,sBACA,kCACA,mCACA,kCACA,mCAEA,uCACE,2CAGF,4BACE,aAKF,0CACE,YAGF,2CACE,SAGF,qEAEE,cACA,yBAGF,kQAOE,cAGF,qCACE,cAGF,qCACE,cACA,yBAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cACA,yBAGF,qCACE,cAGF,gXAUE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,yLAKE,cAGF,yEAEE,cAGF,qCACE,cACA,iBAGF,qCACE,cACA,iBAGF,sZAWE,cAGF,qCACE,cAGF,0EAEE,cAGF,sCACE,cACA,yBAGF,wSAQE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cAGF,qCACE,cACA,kBAGF,qCACE,cACA,kBEzQF,kCHlCF,KAwBI,mBAIJ,KACE,0BACA,kHAEA,wBACA,mCACA,YDjBiB,+CIRjB,8CH4BF,iBAEI,aAEA,0BACE,mBGUJ,mCHJA,YAEI,iCAKN,aACE,mBACA,WACA,YACA,gBAIA,yBACE,yBAGF,iBACE,YACA,oBACA,iBAIS,4BACP,WAKN,cAGE,SACA,0BACA,8BAEA,sBAGE,WACA,WACA,YACA,kBACA,sCACA,UACA,oCAIA,4BACE,WAmBN,SACE,kBACA,gBACA,yBGnFA,mCHgFF,SAMI,mBAIA,iBHtIF,WGyIsB,MHxItB,cGwIsB,MAElB,eAcF,8FAEE,8BACA,6BAEA,0GACE,gBACA,oBAGF,oNAEE,8BACA,6BACA,eAKN,sBACE,8BACA,6BAEA,yBACE,qBACA,eAGA,2BACE,WACA,qBACA,4BAEA,mCACE,oCAIJ,4BACE,8BACA,6BAIJ,2CACE,6BACA,sBAIJ,eACE,iBAGF,kBACE,8BG1KF,kCH6KA,8BAEI,eASN,UACE,qBACA,eACA,kBACA,oBACA,yCACA,gBACA,8BACA,mBAEA,2BACE,mBAIJ,YACE,8BAGF,UACE,oBACA,oBAGF,SACE,gBACA,kBACA,yBAEA,iBACE,WACA,kBACA,6BACA,YACA,WACA,wCACA,gCAGF,2BACE,GACE,4BAGF,KACE,4BAIJ,mBACE,GACE,4BAGF,KACE,4BAKN,aACE,WACA,YACA,mBACA,kBAIA,oBACE,qBAGF,kBACE,cACA,WACA,YACA,eACA,gBACA,YACA,gBAMJ,aACE,WACA,cAOF,aACE,uBAGF,gBACE,8BAIF,YACE,yCAIF,eACE,gBACA,gBACA,gBAKA,8CACE,gCAIJ,UACE,cACA,oBACA,mBAGF,oBACE,8BAGF,aACE,gBACA,wDACA,6BACA,2EAGF,MACE,WACA,0BAGF,OACE,YACA,0BAMF,SACE,kBAIF,cACE,kBACA,0BAGF,qBACE,iCACE,wBAGF,UACE,4CAGF,cACE,8CAIJ,MACE,cAGF,cACE,kBH/XE,aGiYgB,EHhYhB,cGgYgB,EGvYlB,8CHoYF,cH/UI,WALM,oBMvBR,kCH2WF,cAUI,YDhaY,OI6Dd,mCHyVF,cAcI,YDnakB,OCsapB,yBACE,iBG/YF,kCH8YA,yBH3VA,eApDE,aGoZoB,EHnZpB,cGmZoB,GG1ZtB,8CHqZA,yBASI,gBG7WJ,qEHkXI,oCACE,aACA,eGraN,+CH0aI,8BACE,mCGhYN,mCH0WA,yBA2BI,UDvbmB,OFUrB,gCACA,kCGqbJ,8EHjcE,YGockB,EHnclB,aGmckB,EGjZlB,mCHoZF,cAEI,iCAGF,2BACE,gBI7bE,GACE,eAVA,QAEI,wBAON,GACE,kBAVA,QAII,mBAKN,GACE,kBAVA,QAII,mBAKN,GACE,kBAvBN,GA0BI,kBAKN,EAGE,qBAGF,IACE,eACA,YACA,gCAEA,UAGE,0BACA,kBAIJ,WACE,yDACA,kBACA,mCACA,iBAEA,wBACE,gBAGF,2BACE,cACA,kBACA,4BACA,+BAIA,mCACE,kBACA,WACA,kBACA,YACA,iBACA,oBACA,mCP7BJ,sBACE,sCAEA,8BACE,QO6BsB,IP5BtB,mCACA,4BANJ,uBACE,uCAEA,+BACE,QO8BuB,IP7BvB,oCACA,0BAGE,yBATN,0BACE,0CAEA,kCACE,QO+B0B,IP9B1B,uCACA,0BANJ,yBACE,yCAEA,iCACE,QOgCyB,IP/BzB,sCACA,0BOiCN,IACE,4BACA,qBACA,sBACA,mBACA,kBACA,kBACA,eACA,kBACA,4BACA,qCACA,cLxFU,IKyFV,uCACA,gDAGF,GACE,sCACA,UAGF,OACE,gCACA,OLvGc,KKwGd,8CAgBA,SACE,kBACA,gBAgBJ,KACE,iBAEA,QACE,gBD5GF,kCC2GA,QAII,iBAMA,mDPpHJ,kBACA,SACA,2BMrBA,kCCuJI,yCPtKJ,YOuKwB,MPtKxB,aOsKwB,MAElB,gBACA,gBAMR,cACE,kBACA,iBAGE,kCACE,oBAKF,mBACE,kBPjMJ,WOmMsB,EPlMtB,cOkMsB,EAMb,WPpMT,YOqMoB,IPpMpB,aOoMoB,IPvLlB,aOwLkB,IPvLlB,cOuLkB,IAElB,oCAKO,kBACP,gBACA,cACA,kBACA,aACA,kBACA,oCAOJ,eACE,gBACA,qBAEA,qBACE,eACA,gBACA,iBAEA,2BACE,8CAQA,8BACE,+CAEA,4CACE,mCAGF,8CACE,kCC3PV,mBACE,qCACA,iBACA,oBAGF,WAIE,cACA,sBAMA,eACE,gBACA,UNJa,OMKb,mBACA,iBAKE,gCACE,qBACA,iBACA,oBAGF,+BACE,8BAGF,wBACE,iBACA,kBAKN,mBACE,iBACA,oCACA,yBACA,sBACA,oBACA,qBACA,iBAIJ,KACE,qBACA,iBACA,aACA,wBAEA,uBACE,UN9Ca,OM+Cb,gBACA,sBACA,cNvDQ,IMwDR,uCAGF,cACE,yBACA,iCACA,gBACA,UAGF,yBACE,iBACA,cAGF,+BACE,mBAGF,gBACE,cAWF,gBACE,yBACA,8BACA,oBAIJ,sBAIE,kDAEA,+BRtGA,YQuGoB,MRtGpB,aQsGoB,MAElB,gBFpFF,kCEiFA,+BRtGA,YQ4GsB,ER3GtB,aQ2GsB,EAElB,cN3GM,MIkBV,kCE6FA,mCRlHA,YQoHsB,ERnHtB,aQmHsB,EAIlB,2CACE,WACA,qBACA,YALW,KAMX,MNlHQ,OMmHR,ONnHQ,OMoHR,kBACA,gDACA,gGAMF,wCAEE,uBAKN,iCACE,yBACA,0BAUA,2IACE,qBACA,eAEA,2KACE,aAMR,aAGE,aACA,8BACA,mBACA,ONjKmB,QMkKnB,mBACA,oBAGA,kBACE,YNvKiB,QM0KjB,oBACE,eACA,MNzKY,QM0KZ,oCAEA,0BACE,cAIK,2BACP,kBACA,QAIF,yBACE,8BACA,iBACA,gBACA,oCAKJ,oBAIE,+BACA,ONxMiB,QMyMjB,MNzMiB,QM0MjB,UACA,yBAEA,sBACE,oCAIA,mCACE,4CAGF,+BACE,qCAIJ,0BACE,aAGF,yCACE,uCAEA,2CACE,WCrPR,aACE,kBACA,UACA,UACA,eACA,eACA,WACA,gBACA,4BACA,iCACA,UACA,MPEc,QODd,OPCc,0BOCd,mDACA,0DH2BA,kCG1CF,aAkBI,SACA,iBHmCF,mCGtDF,aAuBI,+CHqCF,mCG5DF,aA2BI,+CAKF,mBACE,kCACA,0CAGF,eACE,YPzBY,QO0BZ,kBACA,WAGF,kBACE,UACA,mBC1CF,yBACE,KACE,UACA,UAIJ,iBACE,KACE,UACA,UAIJ,4BACE,gBACA,mBACA,cAGF,0BACE,4BACA,oBAEA,iCACE,cACA,eAKF,yBACE,cACA,gBACA,oBACA,mCACA,2BACA,sCACA,iCACA,eACA,SACA,WACA,2BACA,4BACA,oBAKN,WAME,2CACA,iBACA,cRhDU,KQiDV,wBACA,0BACA,WRzDc,KQ0Dd,gBACA,kBJnCA,kCIsBF,WAgBI,iBAGF,iBACE,kBAnBS,sBAoBT,UApBS,sBAuBX,oBACE,kBAvBU,uBAwBV,UAxBU,uBJZZ,kCIUF,WA8BI,KRnFY,OQsFd,mBAGE,wBACA,gBACA,MACA,yBACA,iDAEA,0BACE,YRrEgB,kCQ0ElB,oBACE,kBACA,sBAGF,gCACE,gBAIJ,cACE,qBACA,eAGE,wCAEE,kBAGF,mBACE,aACA,gBACA,kBACA,uBAEA,oCACE,aAON,0BACE,sBADF,0BACE,qBADF,0BACE,sBAIJ,2BACE,sCACA,gBAGF,6BACE,wBAzFS,UA0FT,gBA1FS,UA6FX,qBACE,wBA9FS,UA+FT,gBA/FS,UAkGX,kBACE,aACA,WACA,kBACA,4DACA,OAxGe,KA2GjB,8BACE,cACA,+BACA,YR3IkB,kCQ4IlB,oBChKJ,SXiBI,aWhBgB,EXiBhB,cWjBgB,EAElB,eACA,MACA,OACA,YACA,gBACA,MTfc,MSgBd,6BACA,mDAGA,wBACA,qBAGA,4BACE,aLPF,8CKXF,SXgEI,WALM,mBWnCN,6BACA,qCAEA,2BACE,yBL0BJ,mCKtDF,SAiCI,MTvCkB,OS2ClB,wGACE,kCAQJ,iBACE,cACA,aACA,cACA,gBACA,gDACA,wBL5BF,kCKsBA,iBASI,WACA,aAGF,qBACE,yBAEA,2BACE,qBAKN,0BXtEA,WWuEoB,OXtEpB,cWsEoB,OAGlB,oBACA,sBACA,WLtCF,kCKgCA,0BASI,iBLvBJ,mCKcA,0BAaI,kBACA,qBACA,qBAIJ,qBAIE,oBACA,gBACA,kBACA,gBACA,qBACA,mBACA,oBACA,kBACA,8BAGF,wBACE,cACA,iCACA,kBACA,iBACA,yBACA,sBACA,qBACA,iBAGF,YACE,mBAEA,wBACE,WACA,WXrGF,aWuGoB,OXtGpB,cWsGoB,OLlEtB,mCK8DE,wBXnGA,aW0GsB,QXzGtB,cWyGsB,SAGpB,mCXtHJ,YWuHwB,MXtHxB,eWsHwB,MAElB,aACA,mBACA,qBACA,gBAEA,yCACE,yCAGF,qCACE,cACA,WACA,oBAGF,wCACE,cACA,oBAKF,yCACE,kCACA,yCAEA,8CACE,UAKN,0CACE,kBAKN,yBACE,kBACA,mBACA,qBLpHF,mCKiHA,yBAMI,qBACA,uBAKF,iEACE,MAHS,QAIT,OAJS,QAKT,cAzLG,MA0LH,kBACA,+BACA,uCACA,kBACA,aACA,mBACA,uBAEA,yGACE,iDAGF,6EACE,yCASF,4CACE,aTnNK,MI2DX,mCKuJI,4CAII,aTrNM,MS0NZ,2BACE,YAtCS,QA+CX,sCX7NF,YW+NsB,sBX9NtB,aW8NsB,sBAElB,0CACA,WACA,MA1Oa,IA2Ob,OA3Oa,IA4Ob,kBACA,cA5OG,MLyDP,mCK0KE,sCX7NF,YWyOwB,qBXxOxB,aWwOwB,sBLjOxB,8CKwOA,gCAEI,6BCzPN,gBACE,OVGc,KUFd,kCNaA,8CMfF,gBZkEI,2CY3DA,QAOF,oBACE,eACA,8BACA,mBAQI,iDACE,YACA,gBNZR,8CMDA,oBAmBI,cN+BJ,qEMlDA,oBAuBI,UACA,gBACA,uBACA,oBACA,oBNnBJ,kCMXF,QZ8DE,gBM1DA,8CMJF,QAuCI,gBAIJ,cACE,aACA,iBACA,gBACA,uBACA,+BACA,kBACA,UACA,oBN/CA,8CMuCF,cAWI,eNzBF,kCMcF,cAeI,iBAIJ,iCAEE,aN5DA,8CM0DF,iCAKI,eC/EJ,QACE,SACA,+BACA,gBAEA,mBACE,wBACA,gBAGF,gBAGE,kBAEA,kCACE,gBAIJ,iBACE,gBAMF,8BACE,oBACA,oBbOF,MADwD,mBAExD,UaNoB,QbOpB,YAH2C,IaD3C,yBACE,oBACA,iBACA,oBACA,oBACA,wBAEA,+BACE,2BAIJ,2BACE,mBP/BF,+COSF,eA0BI,cAKF,kBACE,cCxDJ,OACE,gCACA,OZIc,KYHd,8CRYA,8CQfF,OdoEI,WALM,mBcrDN,OZHkB,KYIlB,kBAeF,SACE,kBACA,gBC7BJ,OACE,aACA,WACA,mBACA,4CACA,0BACA,gBAEA,SACE,UACA,gBACA,+BTKF,8CShBF,OAeI,cT0BF,kCSzCF,OAmBI,Ubbe,OIyCjB,mCS/CF,OAuBI,mBToCF,mCS3DF,OA2BI,qCAMJ,uBACE,aACA,YACA,WACA,cAEA,gCACE,gBTxBF,8CSiBF,uBAWI,WAEA,gCACE,kBTNJ,kCSRF,uBAmBI,Ub3CqB,Oa4CrB,kCAIJ,gBACE,oBTOA,qESJE,oBACE,iBAIJ,kBACE,iBACA,mBAWF,wBACE,WAEA,yCACE,mBTpCJ,mCSgCA,wBAQI,UAEA,uCACE,oBAGF,wCACE,mBAGF,kDACE,kBACA,aAIJ,2BACE,mBAIF,0BACE,cACA,oBACA,cAGF,0BAGE,yBACA,oBACA,qBACA,4BAMN,eACE,wBACA,aACA,mBAKF,cACE,kBACA,SACA,gBACA,qBACA,wBACA,YAEA,oBACE,gBThGF,mCSuFF,cAaI,gCAIJ,cACE,eT/GA,kCS8GF,cAII,cAGF,iBACE,qBAGF,wBACE,qBACA,iBACA,eACA,gCACA,YACA,cACA,wBAEA,gCACE,YACA,8BACA,oBC9KN,WACE,gBVwCA,kCUzCF,WAII,mBAIA,+BACE,qBAGF,0CACE,sBAIJ,iBACE,SACA,gBAEA,gEACE,4BVaJ,kCUdE,gEAII,6BAYJ,4BACE,YACA,aVJJ,kCUEE,4BAKI,iCAGF,wCAGE,sCACA,kBAGF,sFACE,yCVlBN,kCUqBI,uCAEI,4BAMA,iDAGE,gBACA,SASF,2DACE,mBV3CV,kCU0CQ,2DAII,qBAKN,0CAGE,cAGF,uDACE,cASV,YACE,wBACA,4BACA,6BVhEA,kCU6DF,YAMI,iBACA,wBAGF,oBACE,qBVjGF,8CUsGI,0DACE,cV9EN,kCUmFI,wCACE,oBAIJ,kCACE,sCACA,gBACA,oBACA,wBACA,yBACA,oBACA,SACA,yBAIA,yCACE,kDAMA,qDACE,mDAKN,gCACE,mBAEA,2CACE,4BVrHN,kCU0HA,wBAEI,cCpKN,qDACE,UACA,kBACA,qCAUA,kBAGE,mBACA,gBAIA,oCAdF,YACA,aAFe,OAGf,cAH6B,OAyBzB,uBACE,cAKN,qBACE,kBAIJ,mBAGE,gBACA,kDAEA,oCACE,mBAmBF,kCACE,sBACA,yBACA,sBACA,qBACA,iBAEA,kGACE,mBAGF,+CACE,aAEA,iDACE,6BAKF,iDAGE,kBASF,sDACE,UACA,YACA,oBXjFN,kCWyFF,kBAEI,kCAEA,kCACE,WACA,iBAKN,gBAEE,0CACA,iDACA,+DACA,6DACA,6DACA,qDACA,wCAEA,eAGF,WACE,iBXzHA,8CWoIF,iBjB9HI,aiBgIkB,EjB/HlB,ciB+HkB,EjB9IpB,YiB+IoB,QjB9IpB,aiB8IoB,SAMlB,kCACE,wBAIA,mDACE,cAIJ,+BAGE,oBACA,mBACA,gBACA,WAGF,yDACE,gBAGF,8BACE,8BACA,iBACA,yBACA,yBAGF,kCACE,4BACA,UAGF,iCACE,4BACA,WAIJ,mBACE,iBACA,mBACA,iBACA,mBAIJ,qBAEI,oDAEE,iCAKN,2BACE,KACE,UACA,gBAGF,GACE,WAIJ,mBACE,KACE,UACA,gBAGF,GACE,WAMJ,uCACE,WACA,cACA,wBACA,gBACA,MACA,WACA,YACA,4DAGF,aACE,MACA,+BACA,gBACA,iBACA,qBACA,gBAEA,6BACE,8BACA,sBAGF,gBACE,gBACA,iBACA,iBACA,eAGE,qBACE,8BAMJ,0BACE,cAIA,gCACE,2BACA,qBAGF,kCACE,aAIJ,gCACE,sCACA,gBAEA,wCACE,qBACA,UACA,eACA,iDAIJ,mBACE,oBAIK,kBAGP,oBAOF,oBACE,WACA,eACA,SACA,UACA,eACA,iBACA,4DAUJ,SACE,wBACA,gBACA,MACA,UACA,eACA,OfjVc,KekVd,0BACA,iDACA,+BX1SA,mCWiSF,SAcI,yBAGF,gBAGE,oBACA,iBACA,cAGF,mBACE,UACA,gBAIJ,kBACE,8BACA,qCACA,cfvWU,KIoCV,mCWgUF,kBAMI,yBAGF,yBACE,eACA,YfjWkB,kCeoWpB,wBACE,gBACA,gBA4BJ,4BAvBE,KACE,WACA,4BAGF,GACE,UACA,yBAoBJ,oBA3BE,KACE,WACA,4BAGF,GACE,UACA,yBAwBJ,6BAnBE,GACE,wBACA,UAGF,KACE,4BACA,WAgBJ,qBAvBE,GACE,wBACA,UAGF,KACE,4BACA,WAuBF,kBjB1YA,MADwD,mBAExD,UiB0YoB,OjBzYpB,YiByY4B,IAG5B,oBAIE,8BAGF,iBAGE,gBACA,oBACA,yBACA,oBACA,qBACA,4BAWJ,eACE,kBAGF,YACE,eACA,iBAGF,yDACE,8CAGF,ajBrbE,MiBsbgC,QjBrbhC,UiBqbkB,QjBpblB,YiBob2B,IAE3B,oBACE,YXtcF,kCW0cF,eAEI,6BXpbF,mCWwbF,SAII,wBC5eJ,cACE,WAGF,YACE,mBACA,sCAOA,yBAGE,eACA,cAHS,IAIT,gBAEA,4CACE,4BACA,6BAIJ,cAGE,cAGF,6BACE,iBACA,kBACA,kBAEA,yCACE,yBACA,0BAGF,wCACE,gBAKN,kBACE,aACA,cACA,kBACA,kBACA,yBAEA,oBACE,kBACA,aACA,WACA,gCAIA,0BACE,yCAMN,qBACE,wBACE,6CAIJ,QACE,yBC9EF,KACE,mBACA,oBACA,mBACA,iBACA,iBACA,8CACA,uCAEA,UACE,iBACA,eACA,8BbMF,8CaFF,MAEI,mCCjBJ,UACE,sBdgBA,8CcjBF,UAII,iBAEA,aACE,kBAMJ,oFACE,WACA,MAJe,IAKf,kBACA,WACA,uCAGF,gBACE,cACA,iBACA,kBACA,SACA,iBAEA,wBAGE,YACA,UACA,YAGF,oCAGE,YACA,SAIF,uBACE,WACA,qBACA,kBACA,kBACA,WACA,YACA,YACA,iBACA,gDACA,qCACA,6BACA,UAKF,gBACE,iBACA,iBAIA,+BACE,yCACA,uFAUF,wBAGE,MACA,UACA,cAIJ,8CACE,cAIJ,gBACE,mBACA,qBACA,kBACA,YAEA,sBACE,aACA,kBAGF,oBACE,cACA,4BAIJ,YAEE,mBACA,kBACA,UAEA,kBACE,mBAGF,oBAEE,WACA,qBACA,kBACA,kBACA,UACA,WACA,WACA,YACA,UACA,yCACA,6BACA,UCpIN,MACE,2BACA,2CAKA,qCACE,mBACA,gBAGA,qDACE,gBACA,UACA,WACA,kBACA,cACA,WACA,kBACA,UACA,mBfLJ,8CeJE,qDAYI,gBAKJ,yCAGE,iBfhBJ,8CeaE,yCrBhCF,gBACA,uBACA,oBqB2CF,eACE,iBAGF,oBACE,kBAMA,iEAGE","sourcesContent":["@use '../abstracts/mixins' as *;\n\n::-webkit-input-placeholder {\n @include placeholder;\n}\n\n::-moz-placeholder {\n @include placeholder;\n}\n\n:-ms-input-placeholder {\n @include placeholder;\n}\n\n::-ms-input-placeholder {\n @include placeholder;\n}\n\n::placeholder {\n @include placeholder;\n}\n\n:focus::-webkit-input-placeholder {\n @include placeholder-focus;\n}\n\n:focus::-moz-placeholder {\n @include placeholder-focus;\n}\n\n:focus:-ms-input-placeholder {\n @include placeholder-focus;\n}\n\n:focus::-ms-input-placeholder {\n @include placeholder-focus;\n}\n\n:focus::placeholder {\n @include placeholder-focus;\n}\n","@mixin text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n@mixin mt-mb($value) {\n margin-top: $value;\n margin-bottom: $value;\n}\n\n@mixin ml-mr($value) {\n margin-left: $value;\n margin-right: $value;\n}\n\n@mixin pt-pb($val) {\n padding-top: $val;\n padding-bottom: $val;\n}\n\n@mixin pl-pr($val, $important: false) {\n @if $important {\n padding-left: $val !important;\n padding-right: $val !important;\n } @else {\n padding-left: $val;\n padding-right: $val;\n }\n}\n\n@mixin placeholder {\n color: var(--text-muted-color) !important;\n}\n\n@mixin placeholder-focus {\n opacity: 0.6;\n}\n\n@mixin label($font-size: 1rem, $font-weight: 600, $color: var(--label-color)) {\n color: $color;\n font-size: $font-size;\n font-weight: $font-weight;\n}\n\n@mixin align-center {\n position: relative;\n left: 50%;\n transform: translateX(-50%);\n}\n\n@mixin prompt($type, $fa-content, $fa-style: 'solid', $rotate: 0) {\n &.prompt-#{$type} {\n background-color: var(--prompt-#{$type}-bg);\n\n &::before {\n content: $fa-content;\n color: var(--prompt-#{$type}-icon-color);\n font: var(--fa-font-#{$fa-style});\n\n @if $rotate != 0 {\n transform: rotate(#{$rotate}deg);\n }\n }\n }\n}\n\n@mixin slide($append: null) {\n $basic: transform 0.4s ease;\n\n @if $append {\n transition: $basic, $append;\n } @else {\n transition: $basic;\n }\n}\n\n@mixin max-w-100 {\n max-width: 100%;\n}\n","@use 'variables' as v;\n@use 'mixins' as mx;\n\n%heading {\n color: var(--heading-color);\n font-weight: 400;\n font-family: v.$font-family-heading;\n scroll-margin-top: 3.5rem;\n}\n\n%anchor {\n .anchor {\n font-size: 80%;\n }\n\n @media (hover: hover) {\n .anchor {\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.25s ease-in, visibility 0s ease-in 0.25s;\n }\n\n &:hover {\n .anchor {\n visibility: visible;\n opacity: 1;\n transition: opacity 0.25s ease-in, visibility 0s ease-in 0s;\n }\n }\n }\n}\n\n%tag-hover {\n background: var(--tag-hover);\n transition: background 0.35s ease-in-out;\n}\n\n%table-cell {\n padding: 0.4rem 1rem;\n font-size: 95%;\n white-space: nowrap;\n}\n\n%link-hover {\n color: #d2603a !important;\n border-bottom: 1px solid #d2603a;\n text-decoration: none;\n}\n\n%link-color {\n color: var(--link-color);\n}\n\n%link-underline {\n border-bottom: 1px solid var(--link-underline-color);\n}\n\n%clickable-transition {\n transition: all 0.3s ease-in-out;\n}\n\n%no-cursor {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n%no-bottom-border {\n border-bottom: none;\n}\n\n%cursor-pointer {\n cursor: pointer;\n}\n\n%normal-font-style {\n font-style: normal;\n}\n\n%rounded {\n border-radius: v.$radius-lg;\n}\n\n%img-caption {\n + em {\n display: block;\n text-align: center;\n font-style: normal;\n font-size: 80%;\n padding: 0;\n color: #6d6c6c;\n }\n}\n\n%sidebar-links {\n color: var(--sidebar-muted-color);\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n%text-clip {\n display: -webkit-box;\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n\n%text-ellipsis {\n @include mx.text-ellipsis;\n}\n\n%text-highlight {\n color: var(--text-muted-highlight-color);\n font-weight: 600;\n}\n\n%text-sm {\n font-size: 0.85rem;\n}\n\n%text-xs {\n font-size: 0.8rem;\n}\n\n%sup-fn-target {\n &:target {\n background-color: var(--footnote-target-bg);\n width: -moz-fit-content;\n width: -webkit-fit-content;\n width: fit-content;\n transition: background-color 1.75s ease-in-out;\n }\n}\n\n%btn-color {\n button i {\n color: #999999;\n }\n}\n\n%code-snippet-bg {\n background-color: var(--highlight-bg-color);\n}\n\n%code-snippet-padding {\n padding-left: 1rem;\n padding-right: 1.5rem;\n}\n\n%max-w-100 {\n max-width: 100%;\n}\n\n%panel-border {\n border-left: 1px solid var(--main-border-color);\n}\n","/* sidebar */\n\n$sidebar-width: 260px !default; /* the basic width */\n$sidebar-width-large: 300px !default; /* screen width: >= 1650px */\n$sb-btn-gap: 0.8rem !default;\n$sb-btn-gap-lg: 1rem !default;\n\n/* other framework sizes */\n\n$topbar-height: 3rem !default;\n$search-max-width: 200px !default;\n$footer-height: 5rem !default;\n$footer-height-large: 6rem !default; /* screen width: < 850px */\n$main-content-max-width: 1250px !default;\n$radius-sm: 6px !default;\n$radius-lg: 10px !default;\n$back2top-size: 2.75rem !default;\n\n/* syntax highlight */\n\n$code-font-size: 0.85rem !default;\n$code-header-height: 2.25rem !default;\n$code-dot-size: 0.75rem !default;\n$code-dot-gap: 0.5rem !default;\n$code-icon-width: 1.75rem !default;\n\n/* fonts */\n\n$font-family-base: 'Source Sans Pro', 'Microsoft Yahei', sans-serif !default;\n$font-family-heading: Lato, 'Microsoft Yahei', sans-serif !default;\n","@use '../abstracts/variables' as v;\n@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/mixins' as mx;\n@use '../abstracts/placeholders';\n@use '../themes/light';\n@use '../themes/dark';\n\n:root {\n font-size: 16px;\n}\n\nhtml {\n @media (prefers-color-scheme: light) {\n &:not([data-mode]),\n &[data-mode='light'] {\n @include light.styles;\n }\n\n &[data-mode='dark'] {\n @include dark.styles;\n }\n }\n\n @media (prefers-color-scheme: dark) {\n &:not([data-mode]),\n &[data-mode='dark'] {\n @include dark.styles;\n }\n\n &[data-mode='light'] {\n @include light.styles;\n }\n }\n\n @include bp.lg {\n overflow-y: scroll;\n }\n}\n\nbody {\n background: var(--main-bg);\n padding: env(safe-area-inset-top) env(safe-area-inset-right)\n env(safe-area-inset-bottom) env(safe-area-inset-left);\n color: var(--text-color);\n -webkit-font-smoothing: antialiased;\n font-family: v.$font-family-base;\n}\n\nh1.dynamic-title {\n @include bp.lt(bp.get(lg)) {\n display: none;\n\n ~ .content {\n margin-top: 2.5rem;\n }\n }\n}\n\nmain {\n &.col-12 {\n @include bp.xxxl {\n padding-right: 4.5rem !important;\n }\n }\n}\n\n.preview-img {\n aspect-ratio: 40 / 21;\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n @extend %rounded;\n\n &:not(.no-bg) {\n background: var(--img-bg);\n }\n\n img {\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n\n @extend %rounded;\n\n @at-root #post-list & {\n width: 100%;\n }\n }\n}\n\n.post-preview {\n @extend %rounded;\n\n border: 0;\n background: var(--card-bg);\n box-shadow: var(--card-shadow);\n\n &::before {\n @extend %rounded;\n\n content: '';\n width: 100%;\n height: 100%;\n position: absolute;\n background-color: var(--card-hovor-bg);\n opacity: 0;\n transition: opacity 0.35s ease-in-out;\n }\n\n &:hover {\n &::before {\n opacity: 0.3;\n }\n }\n}\n\n.post-meta {\n @extend %text-sm;\n\n a {\n &:not([class]):hover {\n @extend %link-hover;\n }\n }\n\n em {\n @extend %normal-font-style;\n }\n}\n\n.content {\n font-size: 1.08rem;\n margin-top: 2rem;\n overflow-wrap: break-word;\n\n @include bp.xl {\n font-size: 1.03rem;\n }\n\n a {\n &.popup {\n @extend %no-cursor;\n @extend %img-caption;\n @include mx.mt-mb(0.5rem);\n\n cursor: zoom-in;\n }\n\n &:not(.img-link) {\n @extend %link-underline;\n\n &:hover {\n @extend %link-hover;\n }\n }\n }\n\n ol,\n ul {\n &:not([class]),\n &.task-list {\n -webkit-padding-start: 1.75rem;\n padding-inline-start: 1.75rem;\n\n li {\n margin: 0.25rem 0;\n padding-left: 0.25rem;\n }\n\n ol,\n ul {\n -webkit-padding-start: 1.25rem;\n padding-inline-start: 1.25rem;\n margin: 0.5rem 0;\n }\n }\n }\n\n ul.task-list {\n -webkit-padding-start: 1.25rem;\n padding-inline-start: 1.25rem;\n\n li {\n list-style-type: none;\n padding-left: 0;\n\n /* checkbox icon */\n > i {\n width: 2rem;\n margin-left: -1.25rem;\n color: var(--checkbox-color);\n\n &.checked {\n color: var(--checkbox-checked-color);\n }\n }\n\n ul {\n -webkit-padding-start: 1.75rem;\n padding-inline-start: 1.75rem;\n }\n }\n\n input[type='checkbox'] {\n margin: 0 0.5rem 0.2rem -1.3rem;\n vertical-align: middle;\n }\n } /* ul */\n\n dl > dd {\n margin-left: 1rem;\n }\n\n ::marker {\n color: var(--text-muted-color);\n }\n\n .table-wrapper > table {\n @include bp.lg {\n min-width: 70%;\n }\n }\n} /* .content */\n\n.tag:hover {\n @extend %tag-hover;\n}\n\n.post-tag {\n display: inline-block;\n min-width: 2rem;\n text-align: center;\n border-radius: 0.5rem;\n border: 1px solid var(--btn-border-color);\n padding: 0 0.4rem;\n color: var(--text-muted-color);\n line-height: 1.3rem;\n\n &:not(:last-child) {\n margin-right: 0.2rem;\n }\n}\n\n.rounded-10 {\n border-radius: 10px !important;\n}\n\n.img-link {\n color: transparent;\n display: inline-flex;\n}\n\n.shimmer {\n overflow: hidden;\n position: relative;\n background: var(--img-bg);\n\n &::before {\n content: '';\n position: absolute;\n background: var(--shimmer-bg);\n height: 100%;\n width: 100%;\n -webkit-animation: shimmer 1.3s infinite;\n animation: shimmer 1.3s infinite;\n }\n\n @-webkit-keyframes shimmer {\n 0% {\n transform: translateX(-100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n }\n\n @keyframes shimmer {\n 0% {\n transform: translateX(-100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n }\n}\n\n.embed-video {\n width: 100%;\n height: 100%;\n margin-bottom: 1rem;\n aspect-ratio: 16 / 9;\n\n @extend %rounded;\n\n &.twitch {\n aspect-ratio: 310 / 189;\n }\n\n &.file {\n display: block;\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n margin-bottom: 0;\n }\n\n @extend %img-caption;\n}\n\n.embed-audio {\n width: 100%;\n display: block;\n\n @extend %img-caption;\n}\n\n/* --- Effects classes --- */\n\n.flex-grow-1 {\n flex-grow: 1 !important;\n}\n\n.btn-box-shadow {\n box-shadow: var(--card-shadow);\n}\n\n/* overwrite bootstrap muted */\n.text-muted {\n color: var(--text-muted-color) !important;\n}\n\n/* Overwrite bootstrap tooltip */\n.tooltip-inner {\n font-size: 0.7rem;\n max-width: 220px;\n text-align: left;\n}\n\n/* Overwrite bootstrap outline button */\n.btn.btn-outline-primary {\n &:not(.disabled):hover {\n border-color: #007bff !important;\n }\n}\n\n.disabled {\n color: rgb(206, 196, 196);\n pointer-events: auto;\n cursor: not-allowed;\n}\n\n.hide-border-bottom {\n border-bottom: none !important;\n}\n\n.input-focus {\n box-shadow: none;\n border-color: var(--input-focus-border-color) !important;\n background: center !important;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;\n}\n\n.left {\n float: left;\n margin: 0.75rem 1rem 1rem 0;\n}\n\n.right {\n float: right;\n margin: 0.75rem 0 1rem 1rem;\n}\n\n/* --- Overriding --- */\n\n/* mermaid */\n.mermaid {\n text-align: center;\n}\n\n/* MathJax */\nmjx-container {\n overflow-y: hidden;\n min-width: auto !important;\n}\n\n@media (hover: hover) {\n #sidebar ul > li:last-child::after {\n transition: top 0.5s ease;\n }\n\n .nav-link {\n transition: background-color 0.3s ease-in-out;\n }\n\n .post-preview {\n transition: background-color 0.35s ease-in-out;\n }\n}\n\n#mask {\n inset: 0 0 0 0;\n}\n\n#main-wrapper {\n position: relative;\n\n @include mx.pl-pr(0);\n\n @include bp.lt(bp.get(lg)) {\n @include mx.slide;\n }\n\n @include bp.lg {\n margin-left: v.$sidebar-width;\n }\n\n @include bp.xxxl {\n margin-left: v.$sidebar-width-large;\n }\n\n > .container {\n min-height: 100vh;\n\n @include bp.lte(bp.get(md)) {\n @include mx.max-w-100;\n @include mx.pl-pr(0);\n }\n\n @include bp.lt(bp.get(lg)) {\n max-width: 100%;\n }\n\n /* Pad horizontal */\n @include bp.between(992px, calc(#{bp.get(xl)} - 1px)) {\n .col-lg-11 {\n flex: 0 0 96%;\n max-width: 96%;\n }\n }\n\n @include bp.lt(bp.get(xl)) {\n > .row {\n justify-content: center !important;\n }\n }\n\n @include bp.xxxl {\n max-width: v.$main-content-max-width;\n\n @include mx.pl-pr(1.75rem, true);\n }\n }\n}\n\n/* --- basic wrappers --- */\n\n#topbar-wrapper.row,\n#main-wrapper > .container > .row,\n#search-result-wrapper > .row {\n @include mx.ml-mr(0);\n}\n\n#tail-wrapper {\n @include bp.xxxl {\n padding-right: 4.5rem !important;\n }\n\n > :not(script) {\n margin-top: 3rem;\n }\n}\n","@mixin styles {\n /* Framework color */\n --main-bg: white;\n --mask-bg: #c1c3c5;\n --main-border-color: #f3f3f3;\n\n /* Common color */\n --text-color: #34343c;\n --text-muted-color: #757575;\n --text-muted-highlight-color: inherit;\n --heading-color: #2a2a2a;\n --label-color: #585858;\n --blockquote-border-color: #eeeeee;\n --blockquote-text-color: #757575;\n --link-color: #0056b2;\n --link-underline-color: #dee2e6;\n --button-bg: #ffffff;\n --btn-border-color: #e9ecef;\n --btn-backtotop-color: #686868;\n --btn-backtotop-border-color: #f1f1f1;\n --checkbox-color: #c5c5c5;\n --checkbox-checked-color: #07a8f7;\n --img-bg: radial-gradient(\n circle,\n rgb(255, 255, 255) 0%,\n rgb(239, 239, 239) 100%\n );\n --shimmer-bg: linear-gradient(\n 90deg,\n rgba(250, 250, 250, 0) 0%,\n rgba(232, 230, 230, 1) 50%,\n rgba(250, 250, 250, 0) 100%\n );\n\n /* Sidebar */\n --site-title-color: rgb(113, 113, 113);\n --site-subtitle-color: #717171;\n --sidebar-bg: #f6f8fa;\n --sidebar-border-color: #efefef;\n --sidebar-muted-color: #545454;\n --sidebar-active-color: #1d1d1d;\n --sidebar-hover-bg: rgb(223, 233, 241, 0.64);\n --sidebar-btn-bg: white;\n --sidebar-btn-color: #8e8e8e;\n --avatar-border-color: white;\n\n /* Topbar */\n --topbar-bg: rgb(255, 255, 255, 0.7);\n --topbar-text-color: rgb(78, 78, 78);\n --search-border-color: rgb(240, 240, 240);\n --search-icon-color: #c2c6cc;\n --input-focus-border-color: #b8b8b8;\n\n /* Home page */\n --post-list-text-color: dimgray;\n --btn-patinator-text-color: #555555;\n --btn-paginator-hover-color: var(--sidebar-bg);\n\n /* Posts */\n --toc-highlight: #0550ae;\n --toc-popup-border-color: lightgray;\n --btn-share-color: gray;\n --btn-share-hover-color: #0d6efd;\n --card-bg: white;\n --card-hovor-bg: #e2e2e2;\n --card-shadow: rgb(104, 104, 104, 0.05) 0 2px 6px 0,\n rgba(211, 209, 209, 0.15) 0 0 0 1px;\n --footnote-target-bg: lightcyan;\n --tb-odd-bg: #fbfcfd;\n --tb-border-color: #eaeaea;\n --dash-color: silver;\n --kbd-wrap-color: #bdbdbd;\n --kbd-text-color: var(--text-color);\n --kbd-bg-color: white;\n --prompt-text-color: rgb(46, 46, 46, 0.77);\n --prompt-tip-bg: rgb(123, 247, 144, 0.2);\n --prompt-tip-icon-color: #03b303;\n --prompt-info-bg: #e1f5fe;\n --prompt-info-icon-color: #0070cb;\n --prompt-warning-bg: rgb(255, 243, 205);\n --prompt-warning-icon-color: #ef9c03;\n --prompt-danger-bg: rgb(248, 215, 218, 0.56);\n --prompt-danger-icon-color: #df3c30;\n\n /* Tags */\n --tag-border: #dee2e6;\n --tag-shadow: var(--btn-border-color);\n --tag-hover: rgb(222, 226, 230);\n --search-tag-bg: #f8f9fa;\n\n /* Categories */\n --categories-border: rgba(0, 0, 0, 0.125);\n --categories-hover-bg: var(--btn-border-color);\n --categories-icon-hover-color: darkslategray;\n\n /* Archive */\n --timeline-color: rgba(0, 0, 0, 0.075);\n --timeline-node-bg: #c2c6cc;\n --timeline-year-dot-color: #ffffff;\n\n /* --- Custom code light mode colors --- */\n --language-border-color: #ececec;\n --highlight-bg-color: #f6f8fa;\n --highlighter-rouge-color: #3f596f;\n --highlight-lineno-color: #9e9e9e;\n --inline-code-bg: rgba(25, 25, 28, 0.05);\n --code-color: #3a3a3a;\n --code-header-text-color: #a3a3a3;\n --code-header-muted-color: #e5e5e5;\n --code-header-icon-color: #c9c8c8;\n --clipboard-checked-color: #43c743;\n\n [class^='prompt-'] {\n --link-underline-color: rgb(219, 216, 216);\n }\n\n .dark {\n display: none;\n }\n\n /* --- Syntax highlight theme from `rougify style github` --- */\n\n .highlight table td {\n padding: 5px;\n }\n\n .highlight table pre {\n margin: 0;\n }\n\n .highlight,\n .highlight .w {\n color: #24292f;\n background-color: #f6f8fa;\n }\n\n .highlight .k,\n .highlight .kd,\n .highlight .kn,\n .highlight .kp,\n .highlight .kr,\n .highlight .kt,\n .highlight .kv {\n color: #cf222e;\n }\n\n .highlight .gr {\n color: #f6f8fa;\n }\n\n .highlight .gd {\n color: #82071e;\n background-color: #ffebe9;\n }\n\n .highlight .nb {\n color: #953800;\n }\n\n .highlight .nc {\n color: #953800;\n }\n\n .highlight .no {\n color: #953800;\n }\n\n .highlight .nn {\n color: #953800;\n }\n\n .highlight .sr {\n color: #116329;\n }\n\n .highlight .na {\n color: #116329;\n }\n\n .highlight .nt {\n color: #116329;\n }\n\n .highlight .gi {\n color: #116329;\n background-color: #dafbe1;\n }\n\n .highlight .kc {\n color: #0550ae;\n }\n\n .highlight .l,\n .highlight .ld,\n .highlight .m,\n .highlight .mb,\n .highlight .mf,\n .highlight .mh,\n .highlight .mi,\n .highlight .il,\n .highlight .mo,\n .highlight .mx {\n color: #0550ae;\n }\n\n .highlight .sb {\n color: #0550ae;\n }\n\n .highlight .bp {\n color: #0550ae;\n }\n\n .highlight .ne {\n color: #0550ae;\n }\n\n .highlight .nl {\n color: #0550ae;\n }\n\n .highlight .py {\n color: #0550ae;\n }\n\n .highlight .nv,\n .highlight .vc,\n .highlight .vg,\n .highlight .vi,\n .highlight .vm {\n color: #0550ae;\n }\n\n .highlight .o,\n .highlight .ow {\n color: #0550ae;\n }\n\n .highlight .gh {\n color: #0550ae;\n font-weight: bold;\n }\n\n .highlight .gu {\n color: #0550ae;\n font-weight: bold;\n }\n\n .highlight .s,\n .highlight .sa,\n .highlight .sc,\n .highlight .dl,\n .highlight .sd,\n .highlight .s2,\n .highlight .se,\n .highlight .sh,\n .highlight .sx,\n .highlight .s1,\n .highlight .ss {\n color: #0a3069;\n }\n\n .highlight .nd {\n color: #8250df;\n }\n\n .highlight .nf,\n .highlight .fm {\n color: #8250df;\n }\n\n .highlight .err {\n color: #f6f8fa;\n background-color: #82071e;\n }\n\n .highlight .c,\n .highlight .ch,\n .highlight .cd,\n .highlight .cm,\n .highlight .cp,\n .highlight .cpf,\n .highlight .c1,\n .highlight .cs {\n color: #68717a;\n }\n\n .highlight .gl {\n color: #68717a;\n }\n\n .highlight .gt {\n color: #68717a;\n }\n\n .highlight .ni {\n color: #24292f;\n }\n\n .highlight .si {\n color: #24292f;\n }\n\n .highlight .ge {\n color: #24292f;\n font-style: italic;\n }\n\n .highlight .gs {\n color: #24292f;\n font-weight: bold;\n }\n}\n","@mixin styles {\n color-scheme: dark;\n\n /* Framework color */\n --main-bg: rgb(27, 27, 30);\n --mask-bg: rgb(68, 69, 70);\n --main-border-color: rgb(44, 45, 45);\n\n /* Common color */\n --text-color: rgb(175, 176, 177);\n --text-muted-color: #868686;\n --text-muted-highlight-color: #aeaeae;\n --heading-color: #cccccc;\n --label-color: #a7a7a7;\n --blockquote-border-color: rgb(66, 66, 66);\n --blockquote-text-color: #868686;\n --link-color: rgb(138, 180, 248);\n --link-underline-color: rgb(82, 108, 150);\n --button-bg: #1e1e1e;\n --btn-border-color: #2e2f31;\n --btn-backtotop-color: var(--text-color);\n --btn-backtotop-border-color: #212122;\n --card-header-bg: #292929;\n --checkbox-color: rgb(118, 120, 121);\n --checkbox-checked-color: var(--link-color);\n --img-bg: radial-gradient(circle, rgb(22, 22, 24) 0%, rgb(32, 32, 32) 100%);\n --shimmer-bg: linear-gradient(\n 90deg,\n rgba(255, 255, 255, 0) 0%,\n rgba(58, 55, 55, 0.4) 50%,\n rgba(255, 255, 255, 0) 100%\n );\n\n /* Sidebar */\n --site-title-color: #717070;\n --site-subtitle-color: #868686;\n --sidebar-bg: #1e1e1e;\n --sidebar-border-color: #292929;\n --sidebar-muted-color: #868686;\n --sidebar-active-color: rgb(255, 255, 255, 0.95);\n --sidebar-hover-bg: #262626;\n --sidebar-btn-bg: #232328;\n --sidebar-btn-color: #787878;\n --avatar-border-color: rgb(206, 206, 206, 0.9);\n\n /* Topbar */\n --topbar-bg: rgb(27, 27, 30, 0.64);\n --topbar-text-color: var(--text-color);\n --search-border-color: rgb(55, 55, 55);\n --search-icon-color: rgb(100, 102, 105);\n --input-focus-border-color: rgb(112, 114, 115);\n\n /* Home page */\n --post-list-text-color: rgb(175, 176, 177);\n --btn-patinator-text-color: var(--text-color);\n --btn-paginator-hover-color: #2e2e2e;\n\n /* Posts */\n --toc-highlight: rgb(116, 178, 243);\n --toc-popup-border-color: #373737;\n --tag-hover: rgb(43, 56, 62);\n --tb-odd-bg: #252526; /* odd rows of the posts' table */\n --tb-even-bg: rgb(31, 31, 34); /* even rows of the posts' table */\n --tb-border-color: var(--tb-odd-bg);\n --footnote-target-bg: rgb(63, 81, 181);\n --btn-share-color: #6c757d;\n --btn-share-hover-color: #bfc1ca;\n --card-bg: #1e1e1e;\n --card-hovor-bg: #464d51;\n --card-shadow: rgb(21, 21, 21, 0.72) 0 6px 18px 0,\n rgb(137, 135, 135, 0.24) 0 0 0 1px;\n --kbd-wrap-color: #6a6a6a;\n --kbd-text-color: #d3d3d3;\n --kbd-bg-color: #242424;\n --prompt-text-color: rgb(216, 212, 212, 0.75);\n --prompt-tip-bg: rgb(22, 60, 36, 0.64);\n --prompt-tip-icon-color: rgb(15, 164, 15, 0.81);\n --prompt-info-bg: rgb(7, 59, 104, 0.8);\n --prompt-info-icon-color: #0075d1;\n --prompt-warning-bg: rgb(90, 69, 3, 0.88);\n --prompt-warning-icon-color: rgb(255, 165, 0, 0.8);\n --prompt-danger-bg: rgb(86, 28, 8, 0.8);\n --prompt-danger-icon-color: #cd0202;\n\n /* Tags */\n --tag-border: rgb(59, 79, 88);\n --tag-shadow: rgb(32, 33, 33);\n --dash-color: rgb(63, 65, 68);\n --search-tag-bg: #292828;\n\n /* Categories */\n --categories-border: rgb(64, 66, 69, 0.5);\n --categories-hover-bg: rgb(73, 75, 76);\n --categories-icon-hover-color: white;\n\n /* Archive */\n --timeline-node-bg: rgb(150, 152, 156);\n --timeline-color: rgb(63, 65, 68);\n --timeline-year-dot-color: var(--timeline-color);\n\n /* Code highlight colors */\n --language-border-color: #2d2d2d;\n --highlight-bg-color: #151515;\n --highlighter-rouge-color: #c9def1;\n --highlight-lineno-color: #808080;\n --inline-code-bg: rgba(255, 255, 255, 0.05);\n --code-color: #b0b0b0;\n --code-header-text-color: #6a6a6a;\n --code-header-muted-color: #353535;\n --code-header-icon-color: #565656;\n --clipboard-checked-color: #2bcc2b;\n --filepath-text-color: #cacaca;\n\n .light {\n display: none;\n }\n\n /* Categories */\n .categories.card,\n .list-group-item {\n background-color: var(--card-bg);\n }\n\n .categories {\n .card-header {\n background-color: var(--card-header-bg);\n }\n\n .list-group-item {\n border-left: none;\n border-right: none;\n padding-left: 2rem;\n border-color: var(--categories-border);\n\n &:last-child {\n border-bottom-color: var(--card-bg);\n }\n }\n }\n\n #archives li:nth-child(odd) {\n background-image: linear-gradient(\n to left,\n rgb(26, 26, 30),\n rgb(39, 39, 45),\n rgb(39, 39, 45),\n rgb(39, 39, 45),\n rgb(26, 26, 30)\n );\n }\n\n /* stylelint-disable-next-line selector-id-pattern */\n #disqus_thread {\n color-scheme: none;\n }\n\n /* --- Syntax highlight theme from `rougify style base16.dark` --- */\n\n .highlight .gp {\n color: #87939d;\n }\n\n .highlight table td {\n padding: 5px;\n }\n\n .highlight table pre {\n margin: 0;\n }\n\n .highlight,\n .highlight .w {\n color: #d0d0d0;\n background-color: #151515;\n }\n\n .highlight .err {\n color: #151515;\n background-color: #ac4142;\n }\n\n .highlight .c,\n .highlight .ch,\n .highlight .cd,\n .highlight .cm,\n .highlight .cpf,\n .highlight .c1,\n .highlight .cs {\n color: #848484;\n }\n\n .highlight .cp {\n color: #f4bf75;\n }\n\n .highlight .nt {\n color: #f4bf75;\n }\n\n .highlight .o,\n .highlight .ow {\n color: #d0d0d0;\n }\n\n .highlight .p,\n .highlight .pi {\n color: #d0d0d0;\n }\n\n .highlight .gi {\n color: #90a959;\n }\n\n .highlight .gd {\n color: #f08a8b;\n background-color: #320000;\n }\n\n .highlight .gh {\n color: #6a9fb5;\n background-color: #151515;\n font-weight: bold;\n }\n\n .highlight .k,\n .highlight .kn,\n .highlight .kp,\n .highlight .kr,\n .highlight .kv {\n color: #aa759f;\n }\n\n .highlight .kc {\n color: #d28445;\n }\n\n .highlight .kt {\n color: #d28445;\n }\n\n .highlight .kd {\n color: #d28445;\n }\n\n .highlight .s,\n .highlight .sb,\n .highlight .sc,\n .highlight .dl,\n .highlight .sd,\n .highlight .s2,\n .highlight .sh,\n .highlight .sx,\n .highlight .s1 {\n color: #90a959;\n }\n\n .highlight .sa {\n color: #aa759f;\n }\n\n .highlight .sr {\n color: #75b5aa;\n }\n\n .highlight .si {\n color: #b76d45;\n }\n\n .highlight .se {\n color: #b76d45;\n }\n\n .highlight .nn {\n color: #f4bf75;\n }\n\n .highlight .nc {\n color: #f4bf75;\n }\n\n .highlight .no {\n color: #f4bf75;\n }\n\n .highlight .na {\n color: #6a9fb5;\n }\n\n .highlight .m,\n .highlight .mb,\n .highlight .mf,\n .highlight .mh,\n .highlight .mi,\n .highlight .il,\n .highlight .mo,\n .highlight .mx {\n color: #90a959;\n }\n\n .highlight .ss {\n color: #90a959;\n }\n}\n","@use 'sass:map';\n\n$-breakpoints: (\n // 1 column\n sm: 576px,\n md: 768px,\n // 2 columns\n lg: 850px,\n // 3 columns\n xl: 1200px,\n xxl: 1400px,\n xxxl: 1650px\n);\n\n@function get($breakpoint) {\n @return map.get($-breakpoints, $breakpoint);\n}\n\n/* Less than the given width */\n@mixin lt($width) {\n @media all and (max-width: calc(#{$width} - 1px)) {\n @content;\n }\n}\n\n/* Less than or equal to the given width */\n@mixin lte($width) {\n @media all and (max-width: $width) {\n @content;\n }\n}\n\n@mixin sm {\n @media all and (min-width: get(sm)) {\n @content;\n }\n}\n\n@mixin md {\n @media all and (min-width: get(md)) {\n @content;\n }\n}\n\n@mixin lg {\n @media all and (min-width: get(lg)) {\n @content;\n }\n}\n\n@mixin xl {\n @media all and (min-width: get(xl)) {\n @content;\n }\n}\n\n@mixin xxl {\n @media all and (min-width: get(xxl)) {\n @content;\n }\n}\n\n@mixin xxxl {\n @media all and (min-width: get(xxxl)) {\n @content;\n }\n}\n\n@mixin between($min, $max) {\n @media all and (min-width: $min) and (max-width: $max) {\n @content;\n }\n}\n","@use '../abstracts/variables' as v;\n@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/mixins' as mx;\n@use '../abstracts/placeholders';\n\n@for $i from 1 through 5 {\n h#{$i} {\n @extend %heading;\n\n @if $i > 1 {\n @extend %anchor;\n }\n\n @if $i < 5 {\n $size-factor: 0.25rem;\n\n @if $i > 1 {\n $size-factor: 0.18rem;\n\n main & {\n @if $i == 2 {\n margin: 2.5rem 0 1.25rem;\n } @else {\n margin: 2rem 0 1rem;\n }\n }\n }\n\n & {\n font-size: 1rem + (5 - $i) * $size-factor;\n }\n } @else {\n font-size: 1.05rem;\n }\n }\n}\n\na {\n @extend %link-color;\n\n text-decoration: none;\n}\n\nimg {\n max-width: 100%;\n height: auto;\n transition: all 0.35s ease-in-out;\n\n .blur & {\n $blur: 20px;\n\n -webkit-filter: blur($blur);\n filter: blur($blur);\n }\n}\n\nblockquote {\n border-left: 0.125rem solid var(--blockquote-border-color);\n padding-left: 1rem;\n color: var(--blockquote-text-color);\n margin-top: 0.5rem;\n\n > p:last-child {\n margin-bottom: 0;\n }\n\n &[class^='prompt-'] {\n border-left: 0;\n position: relative;\n padding: 1rem 1rem 1rem 3rem;\n color: var(--prompt-text-color);\n\n @extend %rounded;\n\n &::before {\n text-align: center;\n width: 3rem;\n position: absolute;\n left: 0.25rem;\n margin-top: 0.4rem;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n }\n }\n\n @include mx.prompt('tip', '\\f0eb', $fa-style: 'regular');\n @include mx.prompt('info', '\\f06a', $rotate: 180);\n @include mx.prompt('warning', '\\f06a');\n @include mx.prompt('danger', '\\f071');\n}\n\nkbd {\n font-family: Lato, sans-serif;\n display: inline-block;\n vertical-align: middle;\n line-height: 1.3rem;\n min-width: 1.75rem;\n text-align: center;\n margin: 0 0.3rem;\n padding-top: 0.1rem;\n color: var(--kbd-text-color);\n background-color: var(--kbd-bg-color);\n border-radius: v.$radius-sm;\n border: solid 1px var(--kbd-wrap-color);\n box-shadow: inset 0 -2px 0 var(--kbd-wrap-color);\n}\n\nhr {\n border-color: var(--main-border-color);\n opacity: 1;\n}\n\nfooter {\n background-color: var(--main-bg);\n height: v.$footer-height;\n border-top: 1px solid var(--main-border-color);\n\n @extend %text-xs;\n\n a {\n @extend %text-highlight;\n\n &:hover {\n @extend %link-hover;\n }\n }\n\n em {\n @extend %text-highlight;\n }\n\n p {\n text-align: center;\n margin-bottom: 0;\n }\n}\n\n/* fontawesome icons */\ni {\n &.far,\n &.fas {\n @extend %no-cursor;\n }\n}\n\nsup {\n @extend %sup-fn-target;\n}\n\nmain {\n line-height: 1.75;\n\n h1 {\n margin-top: 2rem;\n\n @include bp.lg {\n margin-top: 3rem;\n }\n }\n\n p {\n > a.popup {\n &:not(.normal):not(.left):not(.right) {\n @include mx.align-center;\n }\n }\n }\n\n .categories,\n #tags,\n #archives {\n a:not(:hover) {\n @extend %no-bottom-border;\n }\n }\n\n @include bp.lte(bp.get(sm)) {\n .content {\n > blockquote[class^='prompt-'] {\n @include mx.ml-mr(-1rem);\n\n border-radius: 0;\n max-width: none;\n }\n }\n }\n}\n\n.footnotes > ol {\n padding-left: 2rem;\n margin-top: 0.5rem;\n\n > li {\n &:not(:last-child) {\n margin-bottom: 0.3rem;\n }\n\n @extend %sup-fn-target;\n\n > p {\n margin-left: 0.25em;\n\n @include mx.mt-mb(0);\n }\n }\n}\n\n.footnote {\n @at-root a#{&} {\n @include mx.ml-mr(1px);\n @include mx.pl-pr(2px);\n\n border-bottom-style: none !important;\n }\n}\n\n.reversefootnote {\n @at-root a#{&} {\n font-size: 0.6rem;\n line-height: 1;\n position: relative;\n bottom: 0.25em;\n margin-left: 0.25em;\n border-bottom-style: none !important;\n }\n}\n\n/* --- Begin of Markdown table style --- */\n\n/* it will be created by Liquid */\n.table-wrapper {\n overflow-x: auto;\n margin-bottom: 1.5rem;\n\n > table {\n min-width: 100%;\n overflow-x: auto;\n border-spacing: 0;\n\n thead {\n border-bottom: solid 2px rgba(210, 215, 217, 0.75);\n\n th {\n @extend %table-cell;\n }\n }\n\n tbody {\n tr {\n border-bottom: 1px solid var(--tb-border-color);\n\n &:nth-child(2n) {\n background-color: var(--tb-even-bg);\n }\n\n &:nth-child(2n + 1) {\n background-color: var(--tb-odd-bg);\n }\n\n td {\n @extend %table-cell;\n }\n }\n } /* tbody */\n } /* table */\n}\n","@use '../abstracts/variables' as v;\n@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/mixins' as mx;\n@use '../abstracts/placeholders';\n\n.highlighter-rouge {\n color: var(--highlighter-rouge-color);\n margin-top: 0.5rem;\n margin-bottom: 1.2em; /* Override BS Inline-code style */\n}\n\n.highlight {\n @extend %rounded;\n @extend %code-snippet-bg;\n\n overflow: auto;\n padding-bottom: 0.75rem;\n\n @at-root figure#{&} {\n @extend %code-snippet-bg;\n }\n\n pre {\n margin-bottom: 0;\n font-size: v.$code-font-size;\n line-height: 1.4rem;\n word-wrap: normal; /* Fixed Safari overflow-x */\n }\n\n table {\n td {\n &:first-child {\n display: inline-block;\n margin-left: 1rem;\n margin-right: 0.75rem;\n }\n\n &:last-child {\n padding-right: 2rem !important;\n }\n\n pre {\n overflow: visible; /* Fixed iOS safari overflow-x */\n word-break: normal; /* Fixed iOS safari linenos code break */\n }\n }\n }\n\n .lineno {\n text-align: right;\n color: var(--highlight-lineno-color);\n -webkit-user-select: none;\n -moz-user-select: none;\n -o-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n} /* .highlight */\n\ncode {\n -webkit-hyphens: none;\n -ms-hyphens: none;\n hyphens: none;\n color: var(--code-color);\n\n &.highlighter-rouge {\n font-size: v.$code-font-size;\n padding: 3px 5px;\n word-break: break-word;\n border-radius: v.$radius-sm;\n background-color: var(--inline-code-bg);\n }\n\n &.filepath {\n background-color: inherit;\n color: var(--filepath-text-color);\n font-weight: 600;\n padding: 0;\n }\n\n a > &.highlighter-rouge {\n padding-bottom: 0; /* show link's underlinke */\n color: inherit;\n }\n\n a:hover > &.highlighter-rouge {\n border-bottom: none;\n }\n\n blockquote & {\n color: inherit;\n }\n}\n\ntd.rouge-code {\n @extend %code-snippet-padding;\n\n /*\n Prevent some browser extends from\n changing the URL string of code block.\n */\n a {\n color: inherit !important;\n border-bottom: none !important;\n pointer-events: none;\n }\n}\n\ndiv[class^='language-'] {\n @extend %rounded;\n @extend %code-snippet-bg;\n\n box-shadow: var(--language-border-color) 0 0 0 1px;\n\n .content > & {\n @include mx.ml-mr(-1rem);\n\n border-radius: 0;\n\n @include bp.sm {\n @include mx.ml-mr(0);\n\n border-radius: v.$radius-lg;\n }\n }\n\n .code-header {\n @include bp.sm {\n @include mx.ml-mr(0);\n\n $dot-margin: 1rem;\n\n &::before {\n content: '';\n display: inline-block;\n margin-left: $dot-margin;\n width: v.$code-dot-size;\n height: v.$code-dot-size;\n border-radius: 50%;\n background-color: var(--code-header-muted-color);\n box-shadow: (v.$code-dot-size + v.$code-dot-gap) 0 0\n var(--code-header-muted-color),\n (v.$code-dot-size + v.$code-dot-gap) * 2 0 0\n var(--code-header-muted-color);\n }\n\n span {\n // center the text of label\n margin-left: calc(($dot-margin + v.$code-dot-size) / 2 * -1);\n }\n }\n }\n\n .highlight {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n}\n\n/* Hide line numbers for default, console, and terminal code snippets */\ndiv {\n &.nolineno,\n &.language-plaintext,\n &.language-console,\n &.language-terminal {\n td:first-child {\n padding: 0 !important;\n margin-right: 0;\n\n .lineno {\n display: none;\n }\n }\n }\n}\n\n.code-header {\n @extend %no-cursor;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n height: v.$code-header-height;\n margin-left: 0.75rem;\n margin-right: 0.25rem;\n\n /* the label block */\n span {\n line-height: v.$code-header-height;\n\n /* label icon */\n i {\n font-size: 1rem;\n width: v.$code-icon-width;\n color: var(--code-header-icon-color);\n\n &.small {\n font-size: 70%;\n }\n }\n\n @at-root [file] #{&} > i {\n position: relative;\n top: 1px; /* center the file icon */\n }\n\n /* label text */\n &::after {\n content: attr(data-label-text);\n font-size: 0.85rem;\n font-weight: 600;\n color: var(--code-header-text-color);\n }\n }\n\n /* clipboard */\n button {\n @extend %cursor-pointer;\n @extend %rounded;\n\n border: 1px solid transparent;\n height: v.$code-header-height;\n width: v.$code-header-height;\n padding: 0;\n background-color: inherit;\n\n i {\n color: var(--code-header-icon-color);\n }\n\n &[timeout] {\n &:hover {\n border-color: var(--clipboard-checked-color);\n }\n\n i {\n color: var(--clipboard-checked-color);\n }\n }\n\n &:focus {\n outline: none;\n }\n\n &:not([timeout]):hover {\n background-color: rgba(128, 128, 128, 0.37);\n\n i {\n color: white;\n }\n }\n }\n}\n","@use '../abstracts/variables' as v;\n@use '../abstracts/breakpoints' as bp;\n\n#back-to-top {\n visibility: hidden;\n opacity: 0;\n z-index: 1;\n cursor: pointer;\n position: fixed;\n right: 1rem;\n bottom: calc(v.$footer-height-large - v.$back2top-size / 2);\n background: var(--button-bg);\n color: var(--btn-backtotop-color);\n padding: 0;\n width: v.$back2top-size;\n height: v.$back2top-size;\n border-radius: 50%;\n border: 1px solid var(--btn-backtotop-border-color);\n transition: opacity 0.5s ease-in-out, transform 0.2s ease-out;\n\n @include bp.lg {\n right: 5%;\n bottom: calc(v.$footer-height - v.$back2top-size / 2);\n }\n\n @include bp.xxl {\n right: calc((100vw - v.$sidebar-width - 1140px) / 2 + 3rem);\n }\n\n @include bp.xxxl {\n right: calc(\n (100vw - v.$sidebar-width-large - v.$main-content-max-width) / 2 + 2rem\n );\n }\n\n &:hover {\n transform: translate3d(0, -5px, 0);\n -webkit-transform: translate3d(0, -5px, 0);\n }\n\n i {\n line-height: v.$back2top-size;\n position: relative;\n bottom: 2px;\n }\n\n &.show {\n opacity: 1;\n visibility: visible;\n }\n}\n","@use '../abstracts/variables' as v;\n@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/placeholders';\n\n/* PWA update popup */\n#notification {\n @-webkit-keyframes popup {\n from {\n opacity: 0;\n bottom: 0;\n }\n }\n\n @keyframes popup {\n from {\n opacity: 0;\n bottom: 0;\n }\n }\n\n .toast-header {\n background: none;\n border-bottom: none;\n color: inherit;\n }\n\n .toast-body {\n font-family: Lato, sans-serif;\n line-height: 1.25rem;\n\n button {\n font-size: 90%;\n min-width: 4rem;\n }\n }\n\n &.toast {\n &.show {\n display: block;\n min-width: 20rem;\n border-radius: 0.5rem;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n background-color: rgba(255, 255, 255, 0.5);\n color: #1b1b1eba;\n position: fixed;\n left: 50%;\n bottom: 20%;\n transform: translateX(-50%);\n -webkit-animation: popup 0.8s;\n animation: popup 0.8s;\n }\n }\n}\n\n#toc-popup {\n $slide-in: slide-in 0.3s ease-out;\n $slide-out: slide-out 0.3s ease-out;\n $curtain-height: 2rem;\n $backdrop: blur(5px);\n\n border-color: var(--toc-popup-border-color);\n border-width: 1px;\n border-radius: v.$radius-lg;\n color: var(--text-color);\n background: var(--card-bg);\n margin-top: v.$topbar-height;\n min-width: 20rem;\n font-size: 1.05rem;\n\n @include bp.sm {\n max-width: 32rem;\n }\n\n &[open] {\n -webkit-animation: $slide-in;\n animation: $slide-in;\n }\n\n &[closing] {\n -webkit-animation: $slide-out;\n animation: $slide-out;\n }\n\n @include bp.lg {\n left: v.$sidebar-width;\n }\n\n .header {\n @extend %btn-color;\n\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n background-color: inherit;\n border-bottom: 1px solid var(--main-border-color);\n\n .label {\n font-family: v.$font-family-heading;\n }\n }\n\n button {\n > i {\n font-size: 1.25rem;\n vertical-align: middle;\n }\n\n &:focus-visible {\n box-shadow: none;\n }\n }\n\n ul {\n list-style-type: none;\n padding-left: 0;\n\n li {\n ul,\n & + li {\n margin-top: 0.25rem;\n }\n\n a {\n display: flex;\n line-height: 1.5;\n padding: 0.375rem 0;\n padding-right: 1.125rem;\n\n &.toc-link::before {\n display: none;\n }\n }\n }\n }\n\n @for $i from 2 through 4 {\n .node-name--H#{$i} {\n padding-left: 1.125rem * ($i - 1);\n }\n }\n\n .is-active-link {\n color: var(--toc-highlight) !important;\n font-weight: 600;\n }\n\n &::-webkit-backdrop {\n -webkit-backdrop-filter: $backdrop;\n backdrop-filter: $backdrop;\n }\n\n &::backdrop {\n -webkit-backdrop-filter: $backdrop;\n backdrop-filter: $backdrop;\n }\n\n &::after {\n display: flex;\n content: '';\n position: relative;\n background: linear-gradient(transparent, var(--card-bg) 70%);\n height: $curtain-height;\n }\n\n #toc-popup-content {\n overflow: auto;\n max-height: calc(100vh - 4 * v.$topbar-height);\n font-family: v.$font-family-heading;\n margin-bottom: -$curtain-height;\n }\n}\n","@use '../abstracts/variables' as v;\n@use '../abstracts/mixins' as mx;\n@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/placeholders';\n\n$btn-border-width: 3px;\n$btn-mb: 0.5rem;\n$sidebar-display: 'sidebar-display'; /* the attribute for sidebar display */\n\n#sidebar {\n @include mx.pl-pr(0);\n\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n overflow-y: auto;\n width: v.$sidebar-width;\n background: var(--sidebar-bg);\n border-right: 1px solid var(--sidebar-border-color);\n\n /* Hide scrollbar for IE, Edge and Firefox */\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n\n /* Hide scrollbar for Chrome, Safari and Opera */\n &::-webkit-scrollbar {\n display: none;\n }\n\n @include bp.lt(bp.get(lg)) {\n @include mx.slide;\n\n transform: translateX(-#{v.$sidebar-width}); /* hide */\n -webkit-transform: translateX(-#{v.$sidebar-width});\n\n [#{$sidebar-display}] & {\n transform: translateX(0);\n }\n }\n\n @include bp.xxxl {\n width: v.$sidebar-width-large;\n }\n\n %sidebar-link-hover {\n &:hover {\n color: var(--sidebar-active-color);\n }\n }\n\n a {\n @extend %sidebar-links;\n }\n\n #avatar {\n display: block;\n width: 6.5rem;\n height: 6.5rem;\n overflow: hidden;\n box-shadow: var(--avatar-border-color) 0 0 0 2px;\n transform: translateZ(0); /* fixed the zoom in Safari */\n\n @include bp.sm {\n width: 7rem;\n height: 7rem;\n }\n\n img {\n transition: transform 0.5s;\n\n &:hover {\n transform: scale(1.2);\n }\n }\n }\n\n .profile-wrapper {\n @include mx.mt-mb(2.5rem);\n @extend %clickable-transition;\n\n padding-left: 2.5rem;\n padding-right: 1.25rem;\n width: 100%;\n\n @include bp.lg {\n margin-top: 3rem;\n }\n\n @include bp.xxxl {\n margin-top: 3.5rem;\n margin-bottom: 2.5rem;\n padding-left: 3.5rem;\n }\n }\n\n .site-title {\n @extend %clickable-transition;\n @extend %sidebar-link-hover;\n\n font-family: inherit;\n font-weight: 900;\n font-size: 1.75rem;\n line-height: 1.2;\n letter-spacing: 0.25px;\n margin-top: 1.25rem;\n margin-bottom: 0.5rem;\n width: fit-content;\n color: var(--site-title-color);\n }\n\n .site-subtitle {\n font-size: 95%;\n color: var(--site-subtitle-color);\n margin-top: 0.25rem;\n word-spacing: 1px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n ul {\n margin-bottom: 2rem;\n\n li.nav-item {\n opacity: 0.9;\n width: 100%;\n\n @include mx.pl-pr(1.5rem);\n\n @include bp.xxxl {\n @include mx.pl-pr(2.75rem);\n }\n\n a.nav-link {\n @include mx.pt-pb(0.6rem);\n\n display: flex;\n align-items: center;\n border-radius: 0.75rem;\n font-weight: 600;\n\n &:hover {\n background-color: var(--sidebar-hover-bg);\n }\n\n i {\n font-size: 95%;\n opacity: 0.8;\n margin-right: 1.5rem;\n }\n\n span {\n font-size: 90%;\n letter-spacing: 0.2px;\n }\n }\n\n &.active {\n .nav-link {\n color: var(--sidebar-active-color);\n background-color: var(--sidebar-hover-bg);\n\n span {\n opacity: 1;\n }\n }\n }\n\n &:not(:first-child) {\n margin-top: 0.25rem;\n }\n }\n }\n\n .sidebar-bottom {\n padding-left: 2rem;\n padding-right: 1rem;\n margin-bottom: 1.5rem;\n\n @include bp.xxxl {\n padding-left: 2.75rem;\n margin-bottom: 1.75rem;\n }\n\n $btn-size: 1.75rem;\n\n %button {\n width: $btn-size;\n height: $btn-size;\n margin-bottom: $btn-mb; // multi line gap\n border-radius: 50%;\n color: var(--sidebar-btn-color);\n background-color: var(--sidebar-btn-bg);\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:not(:focus-visible) {\n box-shadow: var(--sidebar-border-color) 0 0 0 1px;\n }\n\n &:hover {\n background-color: var(--sidebar-hover-bg);\n }\n }\n\n a {\n @extend %button;\n @extend %sidebar-link-hover;\n @extend %clickable-transition;\n\n &:not(:last-child) {\n margin-right: v.$sb-btn-gap;\n\n @include bp.xxxl {\n margin-right: v.$sb-btn-gap-lg;\n }\n }\n }\n\n i {\n line-height: $btn-size;\n }\n\n #mode-toggle {\n @extend %button;\n @extend %sidebar-links;\n @extend %sidebar-link-hover;\n }\n\n .icon-border {\n @extend %no-cursor;\n @include mx.ml-mr(calc((v.$sb-btn-gap - $btn-border-width) / 2));\n\n background-color: var(--sidebar-btn-color);\n content: '';\n width: $btn-border-width;\n height: $btn-border-width;\n border-radius: 50%;\n margin-bottom: $btn-mb;\n\n @include bp.xxxl {\n @include mx.ml-mr(calc((v.$sb-btn-gap-lg - $btn-border-width) / 2));\n }\n }\n } /* .sidebar-bottom */\n} /* #sidebar */\n\n[#{$sidebar-display}] {\n #main-wrapper {\n @include bp.lt(bp.get(lg)) {\n transform: translateX(v.$sidebar-width);\n }\n }\n}\n","@use '../abstracts/variables' as v;\n@use '../abstracts/mixins' as mx;\n@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/placeholders';\n\n#topbar-wrapper {\n height: v.$topbar-height;\n background-color: var(--topbar-bg);\n\n @include bp.lt(bp.get(lg)) {\n @include mx.slide(top 0.2s ease);\n\n left: 0;\n }\n}\n\n#topbar {\n @extend %btn-color;\n\n #breadcrumb {\n font-size: 1rem;\n color: var(--text-muted-color);\n padding-left: 0.5rem;\n\n a:hover {\n @extend %link-hover;\n }\n\n span {\n &:not(:last-child) {\n &::after {\n content: '›';\n padding: 0 0.3rem;\n }\n }\n }\n\n @include bp.lt(bp.get(lg)) {\n display: none;\n }\n\n @include bp.between(bp.get(lg), calc(#{bp.get(xl)} - 1px)) {\n width: 65%;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: keep-all;\n white-space: nowrap;\n }\n }\n\n @include bp.lte(bp.get(md)) {\n @include mx.max-w-100;\n }\n\n @include bp.lt(bp.get(lg)) {\n max-width: 100%;\n }\n}\n\n#topbar-title {\n display: none;\n font-size: 1.1rem;\n font-weight: 600;\n font-family: sans-serif;\n color: var(--topbar-text-color);\n text-align: center;\n width: 70%;\n word-break: keep-all;\n\n @include bp.lt(bp.get(lg)) {\n display: block;\n }\n\n @include bp.lg {\n text-align: left;\n }\n}\n\n#sidebar-trigger,\n#search-trigger {\n display: none;\n\n @include bp.lt(bp.get(lg)) {\n display: block;\n }\n}\n","@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/mixins' as mx;\n@use '../abstracts/placeholders';\n\n.access {\n top: 2rem;\n transition: top 0.2s ease-in-out;\n margin-top: 3rem;\n\n &:only-child {\n position: -webkit-sticky;\n position: sticky;\n }\n\n > section {\n @extend %panel-border;\n\n padding-left: 1rem;\n\n &:not(:first-child) {\n margin-top: 4rem;\n }\n }\n\n .content {\n font-size: 0.9rem;\n }\n}\n\n#panel-wrapper {\n /* the headings */\n .panel-heading {\n font-family: inherit;\n line-height: inherit;\n\n @include mx.label(inherit);\n }\n\n .post-tag {\n line-height: 1.05rem;\n font-size: 0.85rem;\n border-radius: 0.8rem;\n padding: 0.3rem 0.5rem;\n margin: 0 0.35rem 0.5rem 0;\n\n &:hover {\n transition: all 0.3s ease-in;\n }\n }\n\n > :last-child {\n margin-bottom: 4rem;\n }\n\n @include bp.lt(bp.get(xl)) {\n display: none;\n }\n}\n\n#access-lastmod {\n a {\n color: inherit;\n\n &:hover {\n @extend %link-hover;\n }\n\n @extend %no-bottom-border;\n }\n}\n","@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/variables' as v;\n@use '../abstracts/mixins' as mx;\n@use '../abstracts/placeholders';\n\nfooter {\n background-color: var(--main-bg);\n height: v.$footer-height;\n border-top: 1px solid var(--main-border-color);\n\n @extend %text-xs;\n\n @include bp.lt(bp.get(lg)) {\n @include mx.slide;\n\n height: v.$footer-height-large;\n padding: 1.5rem 0;\n }\n\n a {\n @extend %text-highlight;\n\n &:hover {\n @extend %link-hover;\n }\n }\n\n em {\n @extend %text-highlight;\n }\n\n p {\n text-align: center;\n margin-bottom: 0;\n }\n}\n","@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/variables' as v;\n@use '../abstracts/placeholders';\n\nsearch {\n display: flex;\n width: 100%;\n border-radius: 1rem;\n border: 1px solid var(--search-border-color);\n background: var(--main-bg);\n padding: 0 0.5rem;\n\n i {\n z-index: 2;\n font-size: 0.9rem;\n color: var(--search-icon-color);\n }\n\n @include bp.lt(bp.get(lg)) {\n display: none;\n }\n\n @include bp.lg {\n max-width: v.$search-max-width;\n }\n\n @include bp.xl {\n margin-right: 4rem;\n }\n\n @include bp.xxxl {\n margin-right: calc(\n v.$main-content-max-width / 4 - v.$search-max-width - 0.75rem\n );\n }\n}\n\n#search-result-wrapper {\n display: none;\n height: 100%;\n width: 100%;\n overflow: auto;\n\n .content {\n margin-top: 2rem;\n }\n\n @include bp.lt(bp.get(lg)) {\n width: 100%;\n\n .content {\n letter-spacing: 0;\n }\n }\n\n @include bp.lg {\n max-width: v.$main-content-max-width;\n justify-content: start !important;\n }\n}\n\n#search-results {\n padding-bottom: 3rem;\n\n @include bp.between(bp.get(lg), calc(#{bp.get(xl)} - 1px)) {\n > div {\n max-width: 700px;\n }\n }\n\n a {\n font-size: 1.4rem;\n line-height: 1.5rem;\n\n &:hover {\n @extend %link-hover;\n }\n\n @extend %link-color;\n @extend %no-bottom-border;\n @extend %heading;\n }\n\n > article {\n width: 100%;\n\n &:not(:last-child) {\n margin-bottom: 1rem;\n }\n\n @include bp.xl {\n width: 45%;\n\n &:nth-child(odd) {\n margin-right: 1.5rem;\n }\n\n &:nth-child(even) {\n margin-left: 1.5rem;\n }\n\n &:last-child:nth-child(odd) {\n position: relative;\n right: 24.3%;\n }\n }\n\n h2 {\n line-height: 2.5rem;\n }\n\n /* icons */\n i {\n color: #818182;\n margin-right: 0.15rem;\n font-size: 80%;\n }\n\n > p {\n @extend %text-ellipsis;\n\n white-space: break-spaces;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n }\n }\n}\n\n/* 'Cancel' link */\n#search-cancel {\n color: var(--link-color);\n display: none;\n white-space: nowrap;\n\n @extend %cursor-pointer;\n}\n\n#search-input {\n background: center;\n border: 0;\n border-radius: 0;\n padding: 0.18rem 0.3rem;\n color: var(--text-color);\n height: auto;\n\n &:focus {\n box-shadow: none;\n }\n\n @include bp.xl {\n transition: all 0.3s ease-in-out;\n }\n}\n\n#search-hints {\n padding: 0 1rem;\n\n @include bp.lg {\n display: none;\n }\n\n h4 {\n margin-bottom: 1.5rem;\n }\n\n .post-tag {\n display: inline-block;\n line-height: 1rem;\n font-size: 1rem;\n background: var(--search-tag-bg);\n border: none;\n padding: 0.5rem;\n margin: 0 1.25rem 1rem 0;\n\n &::before {\n content: '#';\n color: var(--text-muted-color);\n padding-right: 0.2rem;\n }\n\n @extend %link-color;\n }\n}\n","@use '../abstracts/variables' as v;\n@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/placeholders';\n\n#post-list {\n margin-top: 2rem;\n\n @include bp.lg {\n margin-top: 2.5rem;\n }\n\n .card-wrapper {\n &:hover {\n text-decoration: none;\n }\n\n &:not(:last-child) {\n margin-bottom: 1.25rem;\n }\n }\n\n .card {\n border: 0;\n background: none;\n\n %img-radius {\n border-radius: v.$radius-lg v.$radius-lg 0 0;\n\n @include bp.md {\n border-radius: 0 v.$radius-lg v.$radius-lg 0;\n }\n }\n\n .preview-img {\n @extend %img-radius;\n\n img {\n @extend %img-radius;\n }\n }\n\n .card-body {\n height: 100%;\n padding: 1rem;\n\n @include bp.md {\n padding: 1.75rem 1.75rem 1.25rem;\n }\n\n .card-title {\n @extend %text-clip;\n\n color: var(--heading-color) !important;\n font-size: 1.25rem;\n }\n\n %muted {\n color: var(--text-muted-color) !important;\n }\n\n .card-text {\n @include bp.md {\n display: inherit !important;\n }\n\n &.content {\n @extend %muted;\n\n p {\n @extend %text-clip;\n\n line-height: 1.5;\n margin: 0;\n }\n }\n }\n\n .post-meta {\n @extend %muted;\n\n i {\n &:not(:first-child) {\n margin-left: 1.5rem;\n\n @include bp.md {\n margin-left: 1.75rem;\n }\n }\n }\n\n em {\n @extend %normal-font-style;\n\n color: inherit;\n }\n\n > div:first-child {\n display: block;\n\n @extend %text-ellipsis;\n }\n }\n }\n }\n} /* #post-list */\n\n.pagination {\n color: var(--text-color);\n font-family: Lato, sans-serif;\n justify-content: space-evenly;\n\n @include bp.lg {\n font-size: 0.85rem;\n justify-content: center;\n }\n\n a:hover {\n text-decoration: none;\n }\n\n .page-item {\n @include bp.lt(bp.get(lg)) {\n &:not(:first-child):not(:last-child) {\n display: none;\n }\n }\n\n @include bp.lg {\n &:not(:last-child) {\n margin-right: 0.7rem;\n }\n }\n\n .page-link {\n color: var(--btn-patinator-text-color);\n padding: 0 0.6rem;\n display: -webkit-box;\n -webkit-box-pack: center;\n -webkit-box-align: center;\n border-radius: 0.5rem;\n border: 0;\n background-color: inherit;\n }\n\n &.active {\n .page-link {\n background-color: var(--btn-paginator-hover-color);\n }\n }\n\n &:not(.active) {\n .page-link {\n &:hover {\n box-shadow: inset var(--btn-border-color) 0 0 0 1px;\n }\n }\n }\n\n &.disabled {\n cursor: not-allowed;\n\n .page-link {\n color: rgba(108, 117, 125, 0.57);\n }\n }\n } /* .page-item */\n\n .page-index {\n @include bp.lg {\n display: none;\n }\n }\n}\n","@use '../abstracts/variables' as v;\n@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/mixins' as mx;\n@use '../abstracts/placeholders';\n\n%-btn-post-nav {\n width: 50%;\n position: relative;\n border-color: var(--btn-border-color);\n}\n\n@mixin -dot($pl: 0.25rem, $pr: 0.25rem) {\n content: '\\2022';\n padding-left: $pl;\n padding-right: $pr;\n}\n\nheader {\n .post-desc {\n @extend %heading;\n\n font-size: 1.125rem;\n line-height: 1.6;\n }\n\n .post-meta {\n span + span::before {\n @include -dot;\n }\n\n em,\n time {\n @extend %text-highlight;\n }\n\n em {\n a {\n color: inherit;\n }\n }\n }\n\n h1 + .post-meta {\n margin-top: 1.5rem;\n }\n}\n\n.post-tail-wrapper {\n @extend %text-sm;\n\n margin-top: 6rem;\n border-bottom: 1px double var(--main-border-color);\n\n .license-wrapper {\n line-height: 1.2rem;\n\n > a {\n @extend %text-highlight;\n\n &:hover {\n @extend %link-hover;\n }\n }\n\n span:last-child {\n @extend %text-sm;\n }\n } /* .license-wrapper */\n\n .post-meta a:not(:hover) {\n @extend %link-underline;\n }\n\n .share-wrapper {\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n %icon-size {\n font-size: 1.125rem;\n }\n\n .share-icons {\n display: flex;\n\n i {\n color: var(--btn-share-color);\n\n @extend %icon-size;\n }\n\n > * {\n @extend %icon-size;\n\n margin-left: 0.5rem;\n\n &:hover {\n i {\n @extend %btn-share-hover;\n }\n }\n }\n\n button {\n padding: 0;\n border: none;\n line-height: inherit;\n\n @extend %cursor-pointer;\n }\n } /* .share-icons */\n } /* .share-wrapper */\n}\n\n.post-tail-bottom {\n @include bp.lte(bp.get(sm)) {\n flex-wrap: wrap-reverse !important;\n\n > div:first-child {\n width: 100%;\n margin-top: 1rem;\n }\n }\n}\n\n.share-mastodon {\n /* See: https://github.com/justinribeiro/share-to-mastodon#properties */\n --wc-stm-font-family: v.$font-family-base;\n --wc-stm-dialog-background-color: var(--card-bg);\n --wc-stm-form-button-border: 1px solid var(--btn-border-color);\n --wc-stm-form-submit-background-color: var(--sidebar-btn-bg);\n --wc-stm-form-cancel-background-color: var(--sidebar-btn-bg);\n --wc-stm-form-button-background-color-hover: #007bff;\n --wc-stm-form-button-color-hover: white;\n\n font-size: 1rem;\n}\n\n.post-tags {\n line-height: 2rem;\n\n .post-tag {\n &:hover {\n @extend %link-hover;\n @extend %tag-hover;\n @extend %no-bottom-border;\n }\n }\n}\n\n.post-navigation {\n @include bp.lt(bp.get(lg)) {\n @include mx.pl-pr(0);\n @include mx.ml-mr(-0.5rem);\n }\n\n .btn {\n @extend %-btn-post-nav;\n\n &:not(:hover) {\n color: var(--link-color);\n }\n\n &:hover {\n &:not(.disabled)::before {\n color: whitesmoke;\n }\n }\n\n &.disabled {\n @extend %-btn-post-nav;\n\n pointer-events: auto;\n cursor: not-allowed;\n background: none;\n color: gray;\n }\n\n &.btn-outline-primary.disabled:focus {\n box-shadow: none;\n }\n\n &::before {\n color: var(--text-muted-color);\n font-size: 0.65rem;\n text-transform: uppercase;\n content: attr(aria-label);\n }\n\n &:first-child {\n border-radius: v.$radius-lg 0 0 v.$radius-lg;\n left: 0.5px;\n }\n\n &:last-child {\n border-radius: 0 v.$radius-lg v.$radius-lg 0;\n right: 0.5px;\n }\n }\n\n p {\n font-size: 1.1rem;\n line-height: 1.5rem;\n margin-top: 0.3rem;\n white-space: normal;\n }\n} /* .post-navigation */\n\n@media (hover: hover) {\n .post-navigation {\n .btn,\n .btn::before {\n transition: all 0.35s ease-in-out;\n }\n }\n}\n\n@-webkit-keyframes fade-up {\n from {\n opacity: 0;\n margin-top: 4rem;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes fade-up {\n from {\n opacity: 0;\n margin-top: 4rem;\n }\n\n to {\n opacity: 1;\n }\n}\n\n/* TOC panel */\n\n%top-cover {\n content: '';\n display: block;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n width: 100%;\n height: 3rem;\n background: linear-gradient(var(--main-bg) 50%, transparent);\n}\n\n#toc-wrapper {\n top: 0;\n transition: top 0.2s ease-in-out;\n overflow-y: auto;\n max-height: 100vh;\n scrollbar-width: none;\n margin-top: 2rem;\n\n &:not(.invisible) {\n -webkit-animation: fade-up 0.8s;\n animation: fade-up 0.8s;\n }\n\n ul {\n list-style: none;\n font-size: 0.85rem;\n line-height: 1.25;\n padding-left: 0;\n\n li {\n a {\n padding: 0.4rem 0 0.4rem 1.25rem;\n }\n }\n\n /* Overwrite TOC plugin style */\n\n .toc-link {\n display: block;\n\n @extend %text-ellipsis;\n\n &:hover {\n color: var(--toc-highlight);\n text-decoration: none;\n }\n\n &::before {\n display: none;\n }\n }\n\n .is-active-link {\n color: var(--toc-highlight) !important;\n font-weight: 600;\n\n &::before {\n display: inline-block;\n width: 1px;\n height: 1.25rem;\n background-color: var(--toc-highlight) !important;\n }\n }\n\n ul {\n padding-left: 0.75rem;\n }\n }\n\n @at-root .toc-border-cover {\n @extend %top-cover;\n\n margin-bottom: -4rem;\n }\n\n &::before {\n @extend %top-cover;\n }\n\n &::after {\n content: '';\n position: fixed;\n bottom: 0;\n width: 15%;\n height: 2.25rem;\n margin-left: -1px;\n background: linear-gradient(transparent, var(--main-bg) 70%);\n }\n\n > * {\n @extend %panel-border;\n }\n}\n\n/* --- TOC button, bar and popup in mobile/tablet --- */\n\n#toc-bar {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 1;\n margin: 0 -1rem;\n height: v.$topbar-height;\n background: var(--main-bg);\n border-bottom: 1px solid var(--main-border-color);\n transition: all 0.2s ease-in-out;\n\n @extend %btn-color;\n\n @include bp.xl {\n display: none !important;\n }\n\n .label {\n @extend %heading;\n\n margin-left: 0.375rem;\n padding: 0 0.75rem;\n color: inherit;\n }\n\n &.invisible {\n top: -#{v.$topbar-height};\n transition: none;\n }\n}\n\n#toc-solo-trigger {\n color: var(--text-muted-color);\n border-color: var(--btn-border-color);\n border-radius: v.$radius-lg;\n\n @include bp.xl {\n display: none !important;\n }\n\n .label {\n font-size: 1rem;\n font-family: v.$font-family-heading;\n }\n\n &:hover {\n box-shadow: none;\n background: none;\n }\n}\n\n@mixin slide-in {\n from {\n opacity: 0.7;\n transform: translateY(-#{v.$topbar-height});\n }\n\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@mixin slide-out {\n 0% {\n transform: translateY(0);\n opacity: 1;\n }\n\n 100% {\n transform: translateY(-#{v.$topbar-height});\n opacity: 0;\n }\n}\n\n@-webkit-keyframes slide-in {\n @include slide-in;\n}\n\n@keyframes slide-in {\n @include slide-in;\n}\n\n@-webkit-keyframes slide-out {\n @include slide-out;\n}\n\n@keyframes slide-out {\n @include slide-out;\n}\n\n/* --- Related Posts --- */\n\n#related-posts {\n > h3 {\n @include mx.label(1.1rem, 600);\n }\n\n time {\n @extend %normal-font-style;\n @extend %text-xs;\n\n color: var(--text-muted-color);\n }\n\n p {\n @extend %text-ellipsis;\n\n font-size: 0.9rem;\n margin-bottom: 0.5rem;\n white-space: break-spaces;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n }\n\n .card {\n h4 {\n @extend %text-clip;\n }\n }\n}\n\n/* stylelint-disable-next-line selector-id-pattern */\n#disqus_thread {\n min-height: 8.5rem;\n}\n\n.utterances {\n max-width: 100%;\n min-height: 269px;\n}\n\n%btn-share-hover {\n color: var(--btn-share-hover-color) !important;\n}\n\n.share-label {\n @include mx.label(inherit, 400, inherit);\n\n &::after {\n content: ':';\n }\n}\n\n.content > p > img {\n @include bp.lte(bp.get(md)) {\n max-width: calc(100% + 1rem);\n }\n}\n\nh2,\nh3,\nh4 {\n @include bp.xl {\n scroll-margin-top: 2rem;\n }\n}\n","@use '../abstracts/variables' as v;\n@use '../abstracts/placeholders';\n\n%-category-icon-color {\n color: gray;\n}\n\n.categories {\n margin-bottom: 2rem;\n border-color: var(--categories-border);\n\n &.card,\n .list-group {\n @extend %rounded;\n }\n\n .card-header {\n $radius: calc(v.$radius-lg - 1px);\n\n padding: 0.75rem;\n border-radius: $radius;\n border-bottom: 0;\n\n &.hide-border-bottom {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n }\n\n i {\n @extend %-category-icon-color;\n\n font-size: 86%; /* fontawesome icons */\n }\n\n .list-group-item {\n border-left: none;\n border-right: none;\n padding-left: 2rem;\n\n &:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n\n &:last-child {\n border-bottom: 0;\n }\n }\n} /* .categories */\n\n.category-trigger {\n width: 1.7rem;\n height: 1.7rem;\n border-radius: 50%;\n text-align: center;\n color: #6c757d !important;\n\n i {\n position: relative;\n height: 0.7rem;\n width: 1rem;\n transition: transform 300ms ease;\n }\n\n &:hover {\n i {\n color: var(--categories-icon-hover-color);\n }\n }\n}\n\n/* only works on desktop */\n@media (hover: hover) {\n .category-trigger:hover {\n background-color: var(--categories-hover-bg);\n }\n}\n\n.rotate {\n transform: rotate(-90deg);\n}\n","@use '../abstracts/breakpoints' as bp;\n\n.tag {\n border-radius: 0.7em;\n padding: 6px 8px 7px;\n margin-right: 0.8rem;\n line-height: 3rem;\n letter-spacing: 0;\n border: 1px solid var(--tag-border) !important;\n box-shadow: 0 0 3px 0 var(--tag-shadow);\n\n span {\n margin-left: 0.6em;\n font-size: 0.7em;\n font-family: Oswald, sans-serif;\n }\n}\n\n#tags {\n @include bp.lt(bp.get(lg)) {\n justify-content: center !important;\n }\n}\n","@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/placeholders';\n\n#archives {\n letter-spacing: 0.03rem;\n\n @include bp.lt(bp.get(sm)) {\n margin-top: -1rem;\n\n ul {\n letter-spacing: 0;\n }\n }\n\n $timeline-width: 4px;\n\n %timeline {\n content: '';\n width: $timeline-width;\n position: relative;\n float: left;\n background-color: var(--timeline-color);\n }\n\n .year {\n height: 3.5rem;\n font-size: 1.5rem;\n position: relative;\n left: 2px;\n margin-left: -$timeline-width;\n\n &::before {\n @extend %timeline;\n\n height: 72px;\n left: 79px;\n bottom: 16px;\n }\n\n &:first-child::before {\n @extend %timeline;\n\n height: 32px;\n top: 24px;\n }\n\n /* Year dot */\n &::after {\n content: '';\n display: inline-block;\n position: relative;\n border-radius: 50%;\n width: 12px;\n height: 12px;\n left: 21.5px;\n border: 3px solid;\n background-color: var(--timeline-year-dot-color);\n border-color: var(--timeline-node-bg);\n box-shadow: 0 0 2px 0 #c2c6cc;\n z-index: 1;\n }\n }\n\n ul {\n li {\n font-size: 1.1rem;\n line-height: 3rem;\n\n @extend %text-ellipsis;\n\n &:nth-child(odd) {\n background-color: var(--main-bg, #ffffff);\n background-image: linear-gradient(\n to left,\n #ffffff,\n #fbfbfb,\n #fbfbfb,\n #fbfbfb,\n #ffffff\n );\n }\n\n &::before {\n @extend %timeline;\n\n top: 0;\n left: 77px;\n height: 3.1rem;\n }\n }\n\n &:last-child li:last-child::before {\n height: 1.5rem;\n }\n } /* #archives ul */\n\n .date {\n white-space: nowrap;\n display: inline-block;\n position: relative;\n right: 0.5rem;\n\n &.month {\n width: 1.4rem;\n text-align: center;\n }\n\n &.day {\n font-size: 85%;\n font-family: Lato, sans-serif;\n }\n }\n\n a {\n /* post title in Archvies */\n margin-left: 2.5rem;\n position: relative;\n top: 0.1rem;\n\n &:hover {\n border-bottom: none;\n }\n\n &::before {\n /* the dot before post title */\n content: '';\n display: inline-block;\n position: relative;\n border-radius: 50%;\n width: 8px;\n height: 8px;\n float: left;\n top: 1.35rem;\n left: 71px;\n background-color: var(--timeline-node-bg);\n box-shadow: 0 0 3px 0 #c2c6cc;\n z-index: 1;\n }\n }\n} /* #archives */\n","@use '../abstracts/breakpoints' as bp;\n@use '../abstracts/mixins' as mx;\n@use '../abstracts/placeholders';\n\n.dash {\n margin: 0 0.5rem 0.6rem 0.5rem;\n border-bottom: 2px dotted var(--dash-color);\n}\n\n#page-category,\n#page-tag {\n ul > li {\n line-height: 1.5rem;\n padding: 0.6rem 0;\n\n /* dot */\n &::before {\n background: #999999;\n width: 5px;\n height: 5px;\n border-radius: 50%;\n display: block;\n content: '';\n position: relative;\n top: 0.6rem;\n margin-right: 0.5rem;\n\n @include bp.lt(bp.get(sm)) {\n margin: 0 0.5rem;\n }\n }\n\n /* post's title */\n > a {\n @extend %no-bottom-border;\n\n font-size: 1.1rem;\n\n @include bp.lt(bp.get(sm)) {\n @include mx.text-ellipsis;\n }\n }\n }\n}\n\n/* tag icon */\n#page-tag h1 > i {\n font-size: 1.2rem;\n}\n\n#page-category h1 > i {\n font-size: 1.25rem;\n}\n\n#page-category,\n#page-tag,\n#access-lastmod {\n a:hover {\n @extend %link-hover;\n\n margin-bottom: -1px; /* Avoid jumping */\n }\n}\n"],"file":"jekyll-theme-chirpy.css"} \ No newline at end of file diff --git a/_site/assets/img/favicons/android-chrome-192x192.png b/_site/assets/img/favicons/android-chrome-192x192.png deleted file mode 100644 index a949d2f..0000000 Binary files a/_site/assets/img/favicons/android-chrome-192x192.png and /dev/null differ diff --git a/_site/assets/img/favicons/android-chrome-512x512.png b/_site/assets/img/favicons/android-chrome-512x512.png deleted file mode 100644 index a0cdd95..0000000 Binary files a/_site/assets/img/favicons/android-chrome-512x512.png and /dev/null differ diff --git a/_site/assets/img/favicons/apple-touch-icon.png b/_site/assets/img/favicons/apple-touch-icon.png deleted file mode 100644 index 648097f..0000000 Binary files a/_site/assets/img/favicons/apple-touch-icon.png and /dev/null differ diff --git a/_site/assets/img/favicons/browserconfig.xml b/_site/assets/img/favicons/browserconfig.xml deleted file mode 100644 index a57a040..0000000 --- a/_site/assets/img/favicons/browserconfig.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - #da532c - - - - diff --git a/_site/assets/img/favicons/favicon-16x16.png b/_site/assets/img/favicons/favicon-16x16.png deleted file mode 100644 index f44237a..0000000 Binary files a/_site/assets/img/favicons/favicon-16x16.png and /dev/null differ diff --git a/_site/assets/img/favicons/favicon-32x32.png b/_site/assets/img/favicons/favicon-32x32.png deleted file mode 100644 index d5d021d..0000000 Binary files a/_site/assets/img/favicons/favicon-32x32.png and /dev/null differ diff --git a/_site/assets/img/favicons/favicon.ico b/_site/assets/img/favicons/favicon.ico deleted file mode 100644 index 5611568..0000000 Binary files a/_site/assets/img/favicons/favicon.ico and /dev/null differ diff --git a/_site/assets/img/favicons/mstile-150x150.png b/_site/assets/img/favicons/mstile-150x150.png deleted file mode 100644 index c0d045e..0000000 Binary files a/_site/assets/img/favicons/mstile-150x150.png and /dev/null differ diff --git a/_site/assets/img/favicons/site.webmanifest b/_site/assets/img/favicons/site.webmanifest deleted file mode 100644 index 0c7e760..0000000 --- a/_site/assets/img/favicons/site.webmanifest +++ /dev/null @@ -1,23 +0,0 @@ - - -{ - "name": "Jungwoo Kim", - "short_name": "Jungwoo Kim", - "description": "A Technical Blog by a Graduate Student Specializing in Artificial Intelligence (AI) and Machine Learning (ML).", - "icons": [ - { - "src": "/assets/img/favicons/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/assets/img/favicons/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - }], - "start_url": "/index.html", - "theme_color": "#2a1e6b", - "background_color": "#ffffff", - "display": "fullscreen" -} - diff --git a/_site/assets/index.html b/_site/assets/index.html deleted file mode 100644 index b983321..0000000 --- a/_site/assets/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - Redirecting… - - - - -

Redirecting…

- Click here if you are not redirected. - diff --git a/_site/assets/js/data/mathjax.js b/_site/assets/js/data/mathjax.js deleted file mode 100644 index ba32dc5..0000000 --- a/_site/assets/js/data/mathjax.js +++ /dev/null @@ -1,11 +0,0 @@ -MathJax = { - tex: {inlineMath: [ - ['$', '$'], - ['\\(', '\\)'] - ],displayMath: [ - ['$$', '$$'], - ['\\[', '\\]'] - ],tags: 'ams' - } -}; - diff --git a/_site/assets/js/data/search.json b/_site/assets/js/data/search.json deleted file mode 100644 index 9be83fd..0000000 --- a/_site/assets/js/data/search.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - - { - "title": "Customize the Favicon", - "url": "/posts/customize-the-favicon/", - "categories": "Blogging, Tutorial", - "tags": "favicon", - "date": "2019-08-11 01:34:00 +0900", - - - - - - - - "snippet": "The favicons of Chirpy are placed in the directory assets/img/favicons/. You may want to replace them with your own. The following sections will guide you to create and replace the default favicons...", - "content": "The favicons of Chirpy are placed in the directory assets/img/favicons/. You may want to replace them with your own. The following sections will guide you to create and replace the default favicons.Generate the faviconPrepare a square image (PNG, JPG, or SVG) with a size of 512x512 or more, and then go to the online tool Real Favicon Generator and click the button Select your Favicon image to upload your image file.In the next step, the webpage will show all usage scenarios. You can keep the default options, scroll to the bottom of the page, and click the button Generate your Favicons and HTML code to generate the favicon.Download & ReplaceDownload the generated package, unzip and delete the following two from the extracted files: browserconfig.xml site.webmanifestAnd then copy the remaining image files (.PNG and .ICO) to cover the original files in the directory assets/img/favicons/ of your Jekyll site. If your Jekyll site doesn’t have this directory yet, just create one.The following table will help you understand the changes to the favicon files: File(s) From Online Tool From Chirpy *.PNG ✓ ✗ *.ICO ✓ ✗ ✓ means keep, ✗ means delete.The next time you build the site, the favicon will be replaced with a customized edition." - }, - - { - "title": "Getting Started", - "url": "/posts/getting-started/", - "categories": "Blogging, Tutorial", - "tags": "getting started", - "date": "2019-08-09 21:55:00 +0900", - - - - - - - - "snippet": "Creating a Site RepositoryWhen creating your site repository, you have two options depending on your needs:Option 1. Using the Starter (Recommended)This approach simplifies upgrades, isolates unnec...", - "content": "Creating a Site RepositoryWhen creating your site repository, you have two options depending on your needs:Option 1. Using the Starter (Recommended)This approach simplifies upgrades, isolates unnecessary files, and is perfect for users who want to focus on writing with minimal configuration. Sign in to GitHub and navigate to the starter. Click the Use this template button and then select Create a new repository. Name the new repository <username>.github.io, replacing username with your lowercase GitHub username.Option 2. Forking the ThemeThis approach is convenient for modifying features or UI design, but presents challenges during upgrades. So don’t try this unless you are familiar with Jekyll and plan to heavily modify this theme. Sign in to GitHub. Fork the theme repository. Name the new repository <username>.github.io, replacing username with your lowercase GitHub username.Setting up the EnvironmentOnce your repository is created, it’s time to set up your development environment. There are two primary methods:Using Dev Containers (Recommended for Windows)Dev Containers offer an isolated environment using Docker, which prevents conflicts with your system and ensures all dependencies are managed within the container.Steps: Install Docker: On Windows/macOS, install Docker Desktop. On Linux, install Docker Engine. Install VS Code and the Dev Containers extension. Clone your repository: For Docker Desktop: Start VS Code and clone your repo in a container volume. For Docker Engine: Clone your repo locally, then open it in a container via VS Code. Wait for the Dev Containers setup to complete.Setting up Natively (Recommended for Unix-like OS)For Unix-like systems, you can set up the environment natively for optimal performance, though you can also use Dev Containers as an alternative.Steps: Follow the Jekyll installation guide to install Jekyll and ensure Git is installed. Clone your repository to your local machine. If you forked the theme, install Node.js and run bash tools/init.sh in the root directory to initialize the repository. Run command bundle in the root of your repository to install the dependencies.UsageStart the Jekyll ServerTo run the site locally, use the following command:$ bundle exec jekyll s If you are using Dev Containers, you must run that command in the VS Code Terminal.After a few seconds, the local server will be available at http://127.0.0.1:4000.ConfigurationUpdate the variables in _config.yml as needed. Some typical options include: url avatar timezone langSocial Contact OptionsSocial contact options are displayed at the bottom of the sidebar. You can enable or disable specific contacts in the _data/contact.yml file.Customizing the StylesheetTo customize the stylesheet, copy the theme’s assets/css/jekyll-theme-chirpy.scss file to the same path in your Jekyll site, and add your custom styles at the end of the file.Customizing Static AssetsStatic assets configuration was introduced in version 5.1.0. The CDN of the static assets is defined in _data/origin/cors.yml. You can replace some of them based on the network conditions in the region where your website is published.If you prefer to self-host the static assets, refer to the chirpy-static-assets repository.DeploymentBefore deploying, check the _config.yml file and ensure the url is configured correctly. If you prefer a project site and don’t use a custom domain, or if you want to visit your website with a base URL on a web server other than GitHub Pages, remember to set the baseurl to your project name, starting with a slash, e.g., /project-name.Now you can choose ONE of the following methods to deploy your Jekyll site.Deploy Using Github ActionsPrepare the following: If you’re on the GitHub Free plan, keep your site repository public. If you have committed Gemfile.lock to the repository, and your local machine is not running Linux, update the platform list of the lock file: $ bundle lock --add-platform x86_64-linux Next, configure the Pages service: Go to your repository on GitHub. Select the Settings tab, then click Pages in the left navigation bar. In the Source section (under Build and deployment), select GitHub Actions from the dropdown menu. Push any commits to GitHub to trigger the Actions workflow. In the Actions tab of your repository, you should see the workflow Build and Deploy running. Once the build is complete and successful, the site will be deployed automatically. You can now visit the URL provided by GitHub to access your site.Manual Build and DeploymentFor self-hosted servers, you will need to build the site on your local machine and then upload the site files to the server.Navigate to the root of the source project, and build your site with the following command:$ JEKYLL_ENV=production bundle exec jekyll bUnless you specified the output path, the generated site files will be placed in the _site folder of the project’s root directory. Upload these files to your target server." - }, - - { - "title": "Writing a New Post", - "url": "/posts/write-a-new-post/", - "categories": "Blogging, Tutorial", - "tags": "writing", - "date": "2019-08-08 15:10:00 +0900", - - - - - - - - "snippet": "This tutorial will guide you how to write a post in the Chirpy template, and it’s worth reading even if you’ve used Jekyll before, as many features require specific variables to be set.Naming and P...", - "content": "This tutorial will guide you how to write a post in the Chirpy template, and it’s worth reading even if you’ve used Jekyll before, as many features require specific variables to be set.Naming and PathCreate a new file named YYYY-MM-DD-TITLE.EXTENSION and put it in the _posts of the root directory. Please note that the EXTENSION must be one of md and markdown. If you want to save time of creating files, please consider using the plugin Jekyll-Compose to accomplish this.Front MatterBasically, you need to fill the Front Matter as below at the top of the post:---title: TITLEdate: YYYY-MM-DD HH:MM:SS +/-TTTTcategories: [TOP_CATEGORIE, SUB_CATEGORIE]tags: [TAG] # TAG names should always be lowercase--- The posts’ layout has been set to post by default, so there is no need to add the variable layout in the Front Matter block.Timezone of DateTo accurately record the release date of a post, you should not only set up the timezone of _config.yml but also provide the post’s timezone in variable date of its Front Matter block. Format: +/-TTTT, e.g. +0800.Categories and TagsThe categories of each post are designed to contain up to two elements, and the number of elements in tags can be zero to infinity. For instance:---categories: [Animal, Insect]tags: [bee]---Author InformationThe author information of the post usually does not need to be filled in the Front Matter , they will be obtained from variables social.name and the first entry of social.links of the configuration file by default. But you can also override it as follows:Adding author information in _data/authors.yml (If your website doesn’t have this file, don’t hesitate to create one).<author_id>: name: <full name> twitter: <twitter_of_author> url: <homepage_of_author>And then use author to specify a single entry or authors to specify multiple entries:---author: <author_id> # for single entry# orauthors: [<author1_id>, <author2_id>] # for multiple entries---Having said that, the key author can also identify multiple entries. The benefit of reading the author information from the file _data/authors.yml is that the page will have the meta tag twitter:creator, which enriches the Twitter Cards and is good for SEO.Post DescriptionBy default, the first words of the post are used to display on the home page for a list of posts, in the Further Reading section, and in the XML of the RSS feed. If you don’t want to display the auto-generated description for the post, you can customize it using the description field in the Front Matter as follows:---description: Short summary of the post.---Additionally, the description text will also be displayed under the post title on the post’s page.Table of ContentsBy default, the Table of Contents (TOC) is displayed on the right panel of the post. If you want to turn it off globally, go to _config.yml and set the value of variable toc to false. If you want to turn off TOC for a specific post, add the following to the post’s Front Matter:---toc: false---CommentsThe global setting for comments is defined by the comments.provider option in the _config.yml file. Once a comment system is selected for this variable, comments will be enabled for all posts.If you want to close the comment for a specific post, add the following to the Front Matter of the post:---comments: false---MediaWe refer to images, audio and video as media resources in Chirpy.URL PrefixFrom time to time we have to define duplicate URL prefixes for multiple resources in a post, which is a boring task that you can avoid by setting two parameters. If you are using a CDN to host media files, you can specify the cdn in _config.yml. The URLs of media resources for site avatar and posts are then prefixed with the CDN domain name. cdn: https://cdn.com To specify the resource path prefix for the current post/page range, set media_subpath in the front matter of the post: ---media_subpath: /path/to/media/--- The option site.cdn and page.media_subpath can be used individually or in combination to flexibly compose the final resource URL: [site.cdn/][page.media_subpath/]file.extImagesCaptionAdd italics to the next line of an image, then it will become the caption and appear at the bottom of the image:![img-description](/path/to/image)_Image Caption_SizeTo prevent the page content layout from shifting when the image is loaded, we should set the width and height for each image.![Desktop View](/assets/img/sample/mockup.png){: width=\"700\" height=\"400\" } For an SVG, you have to at least specify its width, otherwise it won’t be rendered.Starting from Chirpy v5.0.0, height and width support abbreviations (height → h, width → w). The following example has the same effect as the above:![Desktop View](/assets/img/sample/mockup.png){: w=\"700\" h=\"400\" }PositionBy default, the image is centered, but you can specify the position by using one of the classes normal, left, and right. Once the position is specified, the image caption should not be added. Normal position Image will be left aligned in below sample: ![Desktop View](/assets/img/sample/mockup.png){: .normal } Float to the left ![Desktop View](/assets/img/sample/mockup.png){: .left } Float to the right ![Desktop View](/assets/img/sample/mockup.png){: .right } Dark/Light modeYou can make images follow theme preferences in dark/light mode. This requires you to prepare two images, one for dark mode and one for light mode, and then assign them a specific class (dark or light):![Light mode only](/path/to/light-mode.png){: .light }![Dark mode only](/path/to/dark-mode.png){: .dark }ShadowThe screenshots of the program window can be considered to show the shadow effect:![Desktop View](/assets/img/sample/mockup.png){: .shadow }Preview ImageIf you want to add an image at the top of the post, please provide an image with a resolution of 1200 x 630. Please note that if the image aspect ratio does not meet 1.91 : 1, the image will be scaled and cropped.Knowing these prerequisites, you can start setting the image’s attribute:---image: path: /path/to/image alt: image alternative text---Note that the media_subpath can also be passed to the preview image, that is, when it has been set, the attribute path only needs the image file name.For simple use, you can also just use image to define the path.---image: /path/to/image---LQIPFor preview images:---image: lqip: /path/to/lqip-file # or base64 URI--- You can observe LQIP in the preview image of post \"Text and Typography\".For normal images:![Image description](/path/to/image){: lqip=\"/path/to/lqip-file\" }VideoSocial Media PlatformYou can embed videos from social media platforms with the following syntax:{% include embed/{Platform}.html id='{ID}' %}Where Platform is the lowercase of the platform name, and ID is the video ID.The following table shows how to get the two parameters we need in a given video URL, and you can also know the currently supported video platforms. Video URL Platform ID https://www.youtube.com/watch?v=H-B46URT4mg youtube H-B46URT4mg https://www.twitch.tv/videos/1634779211 twitch 1634779211 https://www.bilibili.com/video/BV1Q44y1B7Wf bilibili BV1Q44y1B7Wf Video FilesIf you want to embed a video file directly, use the following syntax:{% include embed/video.html src='{URL}' %}Where URL is a URL to a video file e.g. /path/to/sample/video.mp4.You can also specify additional attributes for the embedded video file. Here is a full list of attributes allowed. poster='/path/to/poster.png' — poster image for a video that is shown while video is downloading title='Text' — title for a video that appears below the video and looks same as for images autoplay=true — video automatically begins to play back as soon as it can loop=true — automatically seek back to the start upon reaching the end of the video muted=true — audio will be initially silenced types — specify the extensions of additional video formats separated by |. Ensure these files exist in the same directory as your primary video file.Consider an example using all of the above:{% include embed/video.html src='/path/to/video.mp4' types='ogg|mov' poster='poster.png' title='Demo video' autoplay=true loop=true muted=true%}AudiosIf you want to embed an audio file directly, use the following syntax:{% include embed/audio.html src='{URL}' %}Where URL is a URL to an audio file e.g. /path/to/audio.mp3.You can also specify additional attributes for the embedded audio file. Here is a full list of attributes allowed. title='Text' — title for an audio that appears below the audio and looks same as for images types — specify the extensions of additional audio formats separated by |. Ensure these files exist in the same directory as your primary audio file.Consider an example using all of the above:{% include embed/audio.html src='/path/to/audio.mp3' types='ogg|wav|aac' title='Demo audio'%}Pinned PostsYou can pin one or more posts to the top of the home page, and the fixed posts are sorted in reverse order according to their release date. Enable by:---pin: true---PromptsThere are several types of prompts: tip, info, warning, and danger. They can be generated by adding the class prompt-{type} to the blockquote. For example, define a prompt of type info as follows:> Example line for prompt.{: .prompt-info }SyntaxInline Code`inline code part`Filepath Highlight`/path/to/a/file.extend`{: .filepath}Code BlockMarkdown symbols ``` can easily create a code block as follows:```This is a plaintext code snippet.```Specifying LanguageUsing ```{language} you will get a code block with syntax highlight:```yamlkey: value``` The Jekyll tag {% highlight %} is not compatible with this theme.Line NumberBy default, all languages except plaintext, console, and terminal will display line numbers. When you want to hide the line number of a code block, add the class nolineno to it:```shellecho 'No more line numbers!'```{: .nolineno }Specifying the FilenameYou may have noticed that the code language will be displayed at the top of the code block. If you want to replace it with the file name, you can add the attribute file to achieve this:```shell# content```{: file=\"path/to/file\" }Liquid CodesIf you want to display the Liquid snippet, surround the liquid code with {% raw %} and {% endraw %}:{% raw %}```liquid{% if product.title contains 'Pack' %} This product's title contains the word Pack.{% endif %}```{% endraw %}Or adding render_with_liquid: false (Requires Jekyll 4.0 or higher) to the post’s YAML block.MathematicsWe use MathJax to generate mathematics. For website performance reasons, the mathematical feature won’t be loaded by default. But it can be enabled by:---math: true---After enabling the mathematical feature, you can add math equations with the following syntax: Block math should be added with $$ math $$ with mandatory blank lines before and after $$ Inserting equation numbering should be added with $$\\begin{equation} math \\end{equation}$$ Referencing equation numbering should be done with \\label{eq:label_name} in the equation block and \\eqref{eq:label_name} inline with text (see example below) Inline math (in lines) should be added with $$ math $$ without any blank line before or after $$ Inline math (in lists) should be added with \\$$ math $$<!-- Block math, keep all blank lines -->$$LaTeX_math_expression$$<!-- Equation numbering, keep all blank lines -->$$\\begin{equation} LaTeX_math_expression \\label{eq:label_name}\\end{equation}$$Can be referenced as \\eqref{eq:label_name}.<!-- Inline math in lines, NO blank lines -->\"Lorem ipsum dolor sit amet, $$ LaTeX_math_expression $$ consectetur adipiscing elit.\"<!-- Inline math in lists, escape the first `$` -->1. \\$$ LaTeX_math_expression $$2. \\$$ LaTeX_math_expression $$3. \\$$ LaTeX_math_expression $$ Starting with v7.0.0, configuration options for MathJax have been moved to file assets/js/data/mathjax.js, and you can change the options as needed, such as adding extensions.If you are building the site via chirpy-starter, copy that file from the gem installation directory (check with command bundle info --path jekyll-theme-chirpy) to the same directory in your repository.MermaidMermaid is a great diagram generation tool. To enable it on your post, add the following to the YAML block:---mermaid: true---Then you can use it like other markdown languages: surround the graph code with ```mermaid and ```.Learn MoreFor more knowledge about Jekyll posts, visit the Jekyll Docs: Posts." - }, - - { - "title": "Text and Typography", - "url": "/posts/text-and-typography/", - "categories": "Blogging, Demo", - "tags": "typography", - "date": "2019-08-08 12:33:00 +0900", - - - - - - - - "snippet": "HeadingsH1 — headingH2 — headingH3 — headingH4 — headingParagraphQuisque egestas convallis ipsum, ut sollicitudin risus tincidunt a. Maecenas interdum malesuada egestas. Duis consectetur porta risu...", - "content": "HeadingsH1 — headingH2 — headingH3 — headingH4 — headingParagraphQuisque egestas convallis ipsum, ut sollicitudin risus tincidunt a. Maecenas interdum malesuada egestas. Duis consectetur porta risus, sit amet vulputate urna facilisis ac. Phasellus semper dui non purus ultrices sodales. Aliquam ante lorem, ornare a feugiat ac, finibus nec mauris. Vivamus ut tristique nisi. Sed vel leo vulputate, efficitur risus non, posuere mi. Nullam tincidunt bibendum rutrum. Proin commodo ornare sapien. Vivamus interdum diam sed sapien blandit, sit amet aliquam risus mattis. Nullam arcu turpis, mollis quis laoreet at, placerat id nibh. Suspendisse venenatis eros eros.ListsOrdered list Firstly Secondly ThirdlyUnordered list Chapter Section Paragraph ToDo list Job Step 1 Step 2 Step 3 Description list Sun the star around which the earth orbits Moon the natural satellite of the earth, visible by reflected light from the sunBlock Quote This line shows the block quote.Prompts An example showing the tip type prompt. An example showing the info type prompt. An example showing the warning type prompt. An example showing the danger type prompt.Tables Company Contact Country Alfreds Futterkiste Maria Anders Germany Island Trading Helen Bennett UK Magazzini Alimentari Riuniti Giovanni Rovelli Italy Linkshttp://127.0.0.1:4000FootnoteClick the hook will locate the footnote1, and here is another footnote2.Inline codeThis is an example of Inline Code.FilepathHere is the /path/to/the/file.extend.Code blocksCommonThis is a common code snippet, without syntax highlight and line number.Specific Languageif [ $? -ne 0 ]; then echo \"The command was not successful.\"; #do the needful / exitfi;Specific filename@import \"colors/light-typography\", \"colors/dark-typography\";MathematicsThe mathematics powered by MathJax:\\[\\begin{equation} \\sum_{n=1}^\\infty 1/n^2 = \\frac{\\pi^2}{6} \\label{eq:series}\\end{equation}\\]We can reference the equation as \\eqref{eq:series}.When $a \\ne 0$, there are two solutions to $ax^2 + bx + c = 0$ and they are\\[x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}\\]Mermaid SVG gantt title Adding GANTT diagram functionality to mermaid apple :a, 2017-07-20, 1w banana :crit, b, 2017-07-23, 1d cherry :active, c, after b a, 1dImagesDefault (with caption)Full screen width and center alignmentLeft alignedFloat to leftPraesent maximus aliquam sapien. Sed vel neque in dolor pulvinar auctor. Maecenas pharetra, sem sit amet interdum posuere, tellus lacus eleifend magna, ac lobortis felis ipsum id sapien. Proin ornare rutrum metus, ac convallis diam volutpat sit amet. Phasellus volutpat, elit sit amet tincidunt mollis, felis mi scelerisque mauris, ut facilisis leo magna accumsan sapien. In rutrum vehicula nisl eget tempor. Nullam maximus ullamcorper libero non maximus. Integer ultricies velit id convallis varius. Praesent eu nisl eu urna finibus ultrices id nec ex. Mauris ac mattis quam. Fusce aliquam est nec sapien bibendum, vitae malesuada ligula condimentum.Float to rightPraesent maximus aliquam sapien. Sed vel neque in dolor pulvinar auctor. Maecenas pharetra, sem sit amet interdum posuere, tellus lacus eleifend magna, ac lobortis felis ipsum id sapien. Proin ornare rutrum metus, ac convallis diam volutpat sit amet. Phasellus volutpat, elit sit amet tincidunt mollis, felis mi scelerisque mauris, ut facilisis leo magna accumsan sapien. In rutrum vehicula nisl eget tempor. Nullam maximus ullamcorper libero non maximus. Integer ultricies velit id convallis varius. Praesent eu nisl eu urna finibus ultrices id nec ex. Mauris ac mattis quam. Fusce aliquam est nec sapien bibendum, vitae malesuada ligula condimentum.Dark/Light mode & ShadowThe image below will toggle dark/light mode based on theme preference, notice it has shadows.VideoReverse Footnote The footnote source ↩︎ The 2nd footnote source ↩︎ " - } - -] - diff --git a/_site/assets/js/data/swconf.js b/_site/assets/js/data/swconf.js deleted file mode 100644 index 9ef1448..0000000 --- a/_site/assets/js/data/swconf.js +++ /dev/null @@ -1,30 +0,0 @@ -const swconf = { - - cacheName: 'chirpy-1735883466',resources: [ - '/assets/css/jekyll-theme-chirpy.css', - '/', - - '/categories/', - - '/tags/', - - '/archives/', - - '/about/', - - - - - ], - - interceptor: {paths: [ - - ],urlPrefixes: [ - - ] - }, - - purge: false - -}; - diff --git a/_site/categories/blogging/index.html b/_site/categories/blogging/index.html deleted file mode 100644 index cf1c2f8..0000000 --- a/_site/categories/blogging/index.html +++ /dev/null @@ -1,987 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Blogging | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Category -
- - - - - - - - -
-
- - -
-
- - - - - - - - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/categories/demo/index.html b/_site/categories/demo/index.html deleted file mode 100644 index 74d79f4..0000000 --- a/_site/categories/demo/index.html +++ /dev/null @@ -1,915 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Demo | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Category -
- - - - - - - - -
-
- - -
-
- - - - - -
- - - - - -
-

- - Demo - 1 -

- - -
- - -
- - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/categories/index.html b/_site/categories/index.html deleted file mode 100644 index 33cf215..0000000 --- a/_site/categories/index.html +++ /dev/null @@ -1,977 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Categories | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Categories -
- - - - - - - - -
-
- - -
-
- - - - - -
- - - -

- Categories -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - Blogging - - - - - - 2 - - categories - , - - - 4 - - - posts - - - - - - - - - - -
- - - - -
-
    - -
  • - - - - Demo - - - - 1 - - - post - - -
  • - -
  • - - - - Tutorial - - - - 3 - - - posts - - -
  • - -
-
- -
- - - - - - - - - - - - - - - - - - -
- -
- - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/categories/tutorial/index.html b/_site/categories/tutorial/index.html deleted file mode 100644 index f01a455..0000000 --- a/_site/categories/tutorial/index.html +++ /dev/null @@ -1,963 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tutorial | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Category -
- - - - - - - - -
-
- - -
-
- - - - - - - - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/feed.xml b/_site/feed.xml deleted file mode 100644 index 4394709..0000000 --- a/_site/feed.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - http://localhost:4000/ - Jungwoo Kim - A Technical Blog by a Graduate Student Specializing in Artificial Intelligence (AI) and Machine Learning (ML). - 2025-01-03T14:51:06+09:00 - - Jungwoo Kim - http://localhost:4000/ - - - - Jekyll - © 2025 Jungwoo Kim - /assets/img/favicons/favicon.ico - /assets/img/favicons/favicon-96x96.png - - - - - Customize the Favicon - - 2019-08-11T01:34:00+09:00 - - 2019-08-11T01:34:00+09:00 - - http://localhost:4000/posts/customize-the-favicon/ - - - cotes - - - - - - - - - - - The favicons of Chirpy are placed in the directory assets/img/favicons/. You may want to replace them with your own. The following sections will guide you to create and replace the default favicons. - -Generate the favicon - -Prepare a square image (PNG, JPG, or SVG) with a size of 512x512 or more, and then go to the online tool Real Favicon Generator and click the button Select your Favicon image ... - - - - - - Getting Started - - 2019-08-09T21:55:00+09:00 - - 2019-08-09T21:55:00+09:00 - - http://localhost:4000/posts/getting-started/ - - - cotes - - - - - - - - - - - Get started with Chirpy basics in this comprehensive overview. You will learn how to install, configure, and use your first Chirpy-based website, as well as deploy it to a web server. - - - - - - Writing a New Post - - 2019-08-08T15:10:00+09:00 - - 2019-08-08T15:10:00+09:00 - - http://localhost:4000/posts/write-a-new-post/ - - - cotes - - - - - - - - - - - This tutorial will guide you how to write a post in the Chirpy template, and it’s worth reading even if you’ve used Jekyll before, as many features require specific variables to be set. - -Naming and Path - -Create a new file named YYYY-MM-DD-TITLE.EXTENSION and put it in the _posts of the root directory. Please note that the EXTENSION must be one of md and markdown. If you want to save time of cre... - - - - - - Text and Typography - - 2019-08-08T12:33:00+09:00 - - 2019-08-08T12:33:00+09:00 - - http://localhost:4000/posts/text-and-typography/ - - - cotes - - - - - - - - - - - Examples of text, typography, math equations, diagrams, flowcharts, pictures, videos, and more. - - - - - - diff --git a/_site/index.html b/_site/index.html deleted file mode 100644 index ec910e6..0000000 --- a/_site/index.html +++ /dev/null @@ -1,1289 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Jungwoo Kim -
- - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
- - - - - - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/norobots/index.html b/_site/norobots/index.html deleted file mode 100644 index b983321..0000000 --- a/_site/norobots/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - Redirecting… - - - - -

Redirecting…

- Click here if you are not redirected. - diff --git a/_site/posts/customize-the-favicon/index.html b/_site/posts/customize-the-favicon/index.html deleted file mode 100644 index fa9b481..0000000 --- a/_site/posts/customize-the-favicon/index.html +++ /dev/null @@ -1,1491 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Customize the Favicon | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Post -
- - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Customize the Favicon

- - - -
- - - - - - - -
-
Customize the Favicon
- -
-
-
- - -
-

The favicons of Chirpy are placed in the directory assets/img/favicons/. You may want to replace them with your own. The following sections will guide you to create and replace the default favicons.

- -

Generate the favicon

- -

Prepare a square image (PNG, JPG, or SVG) with a size of 512x512 or more, and then go to the online tool Real Favicon Generator and click the button Select your Favicon image to upload your image file.

- -

In the next step, the webpage will show all usage scenarios. You can keep the default options, scroll to the bottom of the page, and click the button Generate your Favicons and HTML code to generate the favicon.

- -

Download & Replace

- -

Download the generated package, unzip and delete the following two from the extracted files:

- -
    -
  • browserconfig.xml
  • -
  • site.webmanifest
  • -
- -

And then copy the remaining image files (.PNG and .ICO) to cover the original files in the directory assets/img/favicons/ of your Jekyll site. If your Jekyll site doesn’t have this directory yet, just create one.

- -

The following table will help you understand the changes to the favicon files:

- -
- - - - - - - - - - - - - - - - - - - -
File(s)From Online ToolFrom Chirpy
*.PNG
*.ICO
- - -
-

✓ means keep, ✗ means delete.

-
- -

The next time you build the site, the favicon will be replaced with a customized edition.

- -
- -
- - - - - - - - - - -
-
- - - - This post is licensed under - - CC BY 4.0 - - by the author. - -
- - - - - -
- -
- -
- - - -
- - - -
- - - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/_site/posts/getting-started/index.html b/_site/posts/getting-started/index.html deleted file mode 100644 index 455039c..0000000 --- a/_site/posts/getting-started/index.html +++ /dev/null @@ -1,1944 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Getting Started | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Post -
- - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Getting Started

- -

Get started with Chirpy basics in this comprehensive overview. You will learn how to install, configure, and use your first Chirpy-based website, as well as deploy it to a web server.

- - - -
- - - - - - - -
-
Getting Started
- -
-
-
- - -
-

Creating a Site Repository

- -

When creating your site repository, you have two options depending on your needs:

- - - -

This approach simplifies upgrades, isolates unnecessary files, and is perfect for users who want to focus on writing with minimal configuration.

- -
    -
  1. Sign in to GitHub and navigate to the starter.
  2. -
  3. Click the Use this template button and then select Create a new repository.
  4. -
  5. Name the new repository <username>.github.io, replacing username with your lowercase GitHub username.
  6. -
- -

Option 2. Forking the Theme

- -

This approach is convenient for modifying features or UI design, but presents challenges during upgrades. So don’t try this unless you are familiar with Jekyll and plan to heavily modify this theme.

- -
    -
  1. Sign in to GitHub.
  2. -
  3. Fork the theme repository.
  4. -
  5. Name the new repository <username>.github.io, replacing username with your lowercase GitHub username.
  6. -
- -

Setting up the Environment

- -

Once your repository is created, it’s time to set up your development environment. There are two primary methods:

- - - -

Dev Containers offer an isolated environment using Docker, which prevents conflicts with your system and ensures all dependencies are managed within the container.

- -

Steps:

- -
    -
  1. Install Docker: - -
  2. -
  3. Install VS Code and the Dev Containers extension.
  4. -
  5. Clone your repository: - -
  6. -
  7. Wait for the Dev Containers setup to complete.
  8. -
- - - -

For Unix-like systems, you can set up the environment natively for optimal performance, though you can also use Dev Containers as an alternative.

- -

Steps:

- -
    -
  1. Follow the Jekyll installation guide to install Jekyll and ensure Git is installed.
  2. -
  3. Clone your repository to your local machine.
  4. -
  5. If you forked the theme, install Node.js and run bash tools/init.sh in the root directory to initialize the repository.
  6. -
  7. Run command bundle in the root of your repository to install the dependencies.
  8. -
- -

Usage

- -

Start the Jekyll Server

- -

To run the site locally, use the following command:

- -
- -
1
-
$ bundle exec jekyll s
-
- -
-

If you are using Dev Containers, you must run that command in the VS Code Terminal.

-
- -

After a few seconds, the local server will be available at http://127.0.0.1:4000.

- -

Configuration

- -

Update the variables in _config.yml as needed. Some typical options include:

- -
    -
  • url
  • -
  • avatar
  • -
  • timezone
  • -
  • lang
  • -
- -

Social Contact Options

- -

Social contact options are displayed at the bottom of the sidebar. You can enable or disable specific contacts in the _data/contact.yml file.

- -

Customizing the Stylesheet

- -

To customize the stylesheet, copy the theme’s assets/css/jekyll-theme-chirpy.scss file to the same path in your Jekyll site, and add your custom styles at the end of the file.

- -

Customizing Static Assets

- -

Static assets configuration was introduced in version 5.1.0. The CDN of the static assets is defined in _data/origin/cors.yml. You can replace some of them based on the network conditions in the region where your website is published.

- -

If you prefer to self-host the static assets, refer to the chirpy-static-assets repository.

- -

Deployment

- -

Before deploying, check the _config.yml file and ensure the url is configured correctly. If you prefer a project site and don’t use a custom domain, or if you want to visit your website with a base URL on a web server other than GitHub Pages, remember to set the baseurl to your project name, starting with a slash, e.g., /project-name.

- -

Now you can choose ONE of the following methods to deploy your Jekyll site.

- -

Deploy Using Github Actions

- -

Prepare the following:

- -
    -
  • If you’re on the GitHub Free plan, keep your site repository public.
  • -
  • -

    If you have committed Gemfile.lock to the repository, and your local machine is not running Linux, update the platform list of the lock file:

    - -
    - -
    1
    -
    $ bundle lock --add-platform x86_64-linux
    -
    -
  • -
- -

Next, configure the Pages service:

- -
    -
  1. -

    Go to your repository on GitHub. Select the Settings tab, then click Pages in the left navigation bar. In the Source section (under Build and deployment), select GitHub Actions from the dropdown menu.
    -Build source -Build source

    -
  2. -
  3. -

    Push any commits to GitHub to trigger the Actions workflow. In the Actions tab of your repository, you should see the workflow Build and Deploy running. Once the build is complete and successful, the site will be deployed automatically.

    -
  4. -
- -

You can now visit the URL provided by GitHub to access your site.

- -

Manual Build and Deployment

- -

For self-hosted servers, you will need to build the site on your local machine and then upload the site files to the server.

- -

Navigate to the root of the source project, and build your site with the following command:

- -
- -
1
-
$ JEKYLL_ENV=production bundle exec jekyll b
-
- -

Unless you specified the output path, the generated site files will be placed in the _site folder of the project’s root directory. Upload these files to your target server.

- - -
- -
- - - - - - - - - - -
-
- - - - This post is licensed under - - CC BY 4.0 - - by the author. - -
- - - - - -
- -
- -
- - - -
- - - -
- - - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/_site/posts/index.html b/_site/posts/index.html deleted file mode 100644 index b983321..0000000 --- a/_site/posts/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - Redirecting… - - - - -

Redirecting…

- Click here if you are not redirected. - diff --git a/_site/posts/text-and-typography/index.html b/_site/posts/text-and-typography/index.html deleted file mode 100644 index e073042..0000000 --- a/_site/posts/text-and-typography/index.html +++ /dev/null @@ -1,2629 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Text and Typography | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Post -
- - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Text and Typography

- -

Examples of text, typography, math equations, diagrams, flowcharts, pictures, videos, and more.

- - - -
- - - - - - - -
-
Text and Typography
- -
-
-
- - -
-

Headings

- - - -

H1 — heading

- -

H2 — heading

- -

H3 — heading

- -

H4 — heading

- - -

Paragraph

- -

Quisque egestas convallis ipsum, ut sollicitudin risus tincidunt a. Maecenas interdum malesuada egestas. Duis consectetur porta risus, sit amet vulputate urna facilisis ac. Phasellus semper dui non purus ultrices sodales. Aliquam ante lorem, ornare a feugiat ac, finibus nec mauris. Vivamus ut tristique nisi. Sed vel leo vulputate, efficitur risus non, posuere mi. Nullam tincidunt bibendum rutrum. Proin commodo ornare sapien. Vivamus interdum diam sed sapien blandit, sit amet aliquam risus mattis. Nullam arcu turpis, mollis quis laoreet at, placerat id nibh. Suspendisse venenatis eros eros.

- -

Lists

- -

Ordered list

- -
    -
  1. Firstly
  2. -
  3. Secondly
  4. -
  5. Thirdly
  6. -
- -

Unordered list

- -
    -
  • Chapter -
      -
    • Section -
        -
      • Paragraph
      • -
      -
    • -
    -
  • -
- -

ToDo list

- -
    -
  • Job -
      -
    • Step 1
    • -
    • Step 2
    • -
    • Step 3
    • -
    -
  • -
- -

Description list

- -
-
Sun
-
the star around which the earth orbits
-
Moon
-
the natural satellite of the earth, visible by reflected light from the sun
-
- -

Block Quote

- -
-

This line shows the block quote.

-
- -

Prompts

- - - -
-

An example showing the tip type prompt.

-
- -
-

An example showing the info type prompt.

-
- -
-

An example showing the warning type prompt.

-
- -
-

An example showing the danger type prompt.

-
- - -

Tables

- -
- - - - - - - - - - - - - - - - - - - - - - - - -
CompanyContactCountry
Alfreds FutterkisteMaria AndersGermany
Island TradingHelen BennettUK
Magazzini Alimentari RiunitiGiovanni RovelliItaly
- - - -

http://127.0.0.1:4000

- -

Footnote

- -

Click the hook will locate the footnote1, and here is another footnote2.

- -

Inline code

- -

This is an example of Inline Code.

- -

Filepath

- -

Here is the /path/to/the/file.extend.

- -

Code blocks

- -

Common

- -
- -
1
-
This is a common code snippet, without syntax highlight and line number.
-
- -

Specific Language

- -
- -
1
-2
-3
-4
-
if [ $? -ne 0 ]; then
-  echo "The command was not successful.";
-  #do the needful / exit
-fi;
-
- -

Specific filename

- -
- -
1
-2
-3
-
@import
-  "colors/light-typography",
-  "colors/dark-typography";
-
- -

Mathematics

- -

The mathematics powered by MathJax:

- -\[\begin{equation} - \sum_{n=1}^\infty 1/n^2 = \frac{\pi^2}{6} - \label{eq:series} -\end{equation}\] - -

We can reference the equation as \eqref{eq:series}.

- -

When $a \ne 0$, there are two solutions to $ax^2 + bx + c = 0$ and they are

- -\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}\] - -

Mermaid SVG

- -
 gantt
-  title  Adding GANTT diagram functionality to mermaid
-  apple :a, 2017-07-20, 1w
-  banana :crit, b, 2017-07-23, 1d
-  cherry :active, c, after b a, 1d
-
- -

Images

- -

Default (with caption)

- -

Desktop View -Full screen width and center alignment

- -

Left aligned

- -

Desktop View

- -

Float to left

- -

Desktop View -Praesent maximus aliquam sapien. Sed vel neque in dolor pulvinar auctor. Maecenas pharetra, sem sit amet interdum posuere, tellus lacus eleifend magna, ac lobortis felis ipsum id sapien. Proin ornare rutrum metus, ac convallis diam volutpat sit amet. Phasellus volutpat, elit sit amet tincidunt mollis, felis mi scelerisque mauris, ut facilisis leo magna accumsan sapien. In rutrum vehicula nisl eget tempor. Nullam maximus ullamcorper libero non maximus. Integer ultricies velit id convallis varius. Praesent eu nisl eu urna finibus ultrices id nec ex. Mauris ac mattis quam. Fusce aliquam est nec sapien bibendum, vitae malesuada ligula condimentum.

- -

Float to right

- -

Desktop View -Praesent maximus aliquam sapien. Sed vel neque in dolor pulvinar auctor. Maecenas pharetra, sem sit amet interdum posuere, tellus lacus eleifend magna, ac lobortis felis ipsum id sapien. Proin ornare rutrum metus, ac convallis diam volutpat sit amet. Phasellus volutpat, elit sit amet tincidunt mollis, felis mi scelerisque mauris, ut facilisis leo magna accumsan sapien. In rutrum vehicula nisl eget tempor. Nullam maximus ullamcorper libero non maximus. Integer ultricies velit id convallis varius. Praesent eu nisl eu urna finibus ultrices id nec ex. Mauris ac mattis quam. Fusce aliquam est nec sapien bibendum, vitae malesuada ligula condimentum.

- -

Dark/Light mode & Shadow

- -

The image below will toggle dark/light mode based on theme preference, notice it has shadows.

- -

light mode only -dark mode only

- -

Video

- - - -

Reverse Footnote

- -
-
    -
  1. -

    The footnote source ↩︎

    -
  2. -
  3. -

    The 2nd footnote source ↩︎

    -
  4. -
-
- -
- -
- - - - - - - - - - -
-
- - - - This post is licensed under - - CC BY 4.0 - - by the author. - -
- - - - - -
- -
- -
- - - -
- - - -
- - - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/_site/posts/write-a-new-post/index.html b/_site/posts/write-a-new-post/index.html deleted file mode 100644 index 567266b..0000000 --- a/_site/posts/write-a-new-post/index.html +++ /dev/null @@ -1,2526 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Writing a New Post | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Post -
- - - - - - - - -
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Writing a New Post

- - - -
- - - - - - - -
-
Writing a New Post
- -
-
-
- - -
-

This tutorial will guide you how to write a post in the Chirpy template, and it’s worth reading even if you’ve used Jekyll before, as many features require specific variables to be set.

- -

Naming and Path

- -

Create a new file named YYYY-MM-DD-TITLE.EXTENSION and put it in the _posts of the root directory. Please note that the EXTENSION must be one of md and markdown. If you want to save time of creating files, please consider using the plugin Jekyll-Compose to accomplish this.

- -

Front Matter

- -

Basically, you need to fill the Front Matter as below at the top of the post:

- -
- -
1
-2
-3
-4
-5
-6
-
---
-title: TITLE
-date: YYYY-MM-DD HH:MM:SS +/-TTTT
-categories: [TOP_CATEGORIE, SUB_CATEGORIE]
-tags: [TAG]     # TAG names should always be lowercase
----
-
- -
-

The posts’ layout has been set to post by default, so there is no need to add the variable layout in the Front Matter block.

-
- -

Timezone of Date

- -

To accurately record the release date of a post, you should not only set up the timezone of _config.yml but also provide the post’s timezone in variable date of its Front Matter block. Format: +/-TTTT, e.g. +0800.

- -

Categories and Tags

- -

The categories of each post are designed to contain up to two elements, and the number of elements in tags can be zero to infinity. For instance:

- -
- -
1
-2
-3
-4
-
---
-categories: [Animal, Insect]
-tags: [bee]
----
-
- -

Author Information

- -

The author information of the post usually does not need to be filled in the Front Matter , they will be obtained from variables social.name and the first entry of social.links of the configuration file by default. But you can also override it as follows:

- -

Adding author information in _data/authors.yml (If your website doesn’t have this file, don’t hesitate to create one).

- -
- -
1
-2
-3
-4
-
<author_id>:
-  name: <full name>
-  twitter: <twitter_of_author>
-  url: <homepage_of_author>
-
- -

And then use author to specify a single entry or authors to specify multiple entries:

- -
- -
1
-2
-3
-4
-5
-
---
-author: <author_id>                     # for single entry
-# or
-authors: [<author1_id>, <author2_id>]   # for multiple entries
----
-
- -

Having said that, the key author can also identify multiple entries.

- -
-

The benefit of reading the author information from the file _data/authors.yml is that the page will have the meta tag twitter:creator, which enriches the Twitter Cards and is good for SEO.

-
- -

Post Description

- -

By default, the first words of the post are used to display on the home page for a list of posts, in the Further Reading section, and in the XML of the RSS feed. If you don’t want to display the auto-generated description for the post, you can customize it using the description field in the Front Matter as follows:

- -
- -
1
-2
-3
-
---
-description: Short summary of the post.
----
-
- -

Additionally, the description text will also be displayed under the post title on the post’s page.

- -

Table of Contents

- -

By default, the Table of Contents (TOC) is displayed on the right panel of the post. If you want to turn it off globally, go to _config.yml and set the value of variable toc to false. If you want to turn off TOC for a specific post, add the following to the post’s Front Matter:

- -
- -
1
-2
-3
-
---
-toc: false
----
-
- -

Comments

- -

The global setting for comments is defined by the comments.provider option in the _config.yml file. Once a comment system is selected for this variable, comments will be enabled for all posts.

- -

If you want to close the comment for a specific post, add the following to the Front Matter of the post:

- -
- -
1
-2
-3
-
---
-comments: false
----
-
- -

Media

- -

We refer to images, audio and video as media resources in Chirpy.

- -

URL Prefix

- -

From time to time we have to define duplicate URL prefixes for multiple resources in a post, which is a boring task that you can avoid by setting two parameters.

- -
    -
  • -

    If you are using a CDN to host media files, you can specify the cdn in _config.yml. The URLs of media resources for site avatar and posts are then prefixed with the CDN domain name.

    - -
    - -
    1
    -
    cdn: https://cdn.com
    -
    -
  • -
  • -

    To specify the resource path prefix for the current post/page range, set media_subpath in the front matter of the post:

    - -
    - -
    1
    -2
    -3
    -
    ---
    -media_subpath: /path/to/media/
    ----
    -
    -
  • -
- -

The option site.cdn and page.media_subpath can be used individually or in combination to flexibly compose the final resource URL: [site.cdn/][page.media_subpath/]file.ext

- -

Images

- -

Caption

- -

Add italics to the next line of an image, then it will become the caption and appear at the bottom of the image:

- -
- -
1
-2
-
![img-description](/path/to/image)
-_Image Caption_
-
- -

Size

- -

To prevent the page content layout from shifting when the image is loaded, we should set the width and height for each image.

- -
- -
1
-
![Desktop View](/assets/img/sample/mockup.png){: width="700" height="400" }
-
- -
-

For an SVG, you have to at least specify its width, otherwise it won’t be rendered.

-
- -

Starting from Chirpy v5.0.0, height and width support abbreviations (heighth, widthw). The following example has the same effect as the above:

- -
- -
1
-
![Desktop View](/assets/img/sample/mockup.png){: w="700" h="400" }
-
- -

Position

- -

By default, the image is centered, but you can specify the position by using one of the classes normal, left, and right.

- -
-

Once the position is specified, the image caption should not be added.

-
- -
    -
  • -

    Normal position

    - -

    Image will be left aligned in below sample:

    - -
    - -
    1
    -
    ![Desktop View](/assets/img/sample/mockup.png){: .normal }
    -
    -
  • -
  • -

    Float to the left

    - -
    - -
    1
    -
    ![Desktop View](/assets/img/sample/mockup.png){: .left }
    -
    -
  • -
  • -

    Float to the right

    - -
    - -
    1
    -
    ![Desktop View](/assets/img/sample/mockup.png){: .right }
    -
    -
  • -
- -

Dark/Light mode

- -

You can make images follow theme preferences in dark/light mode. This requires you to prepare two images, one for dark mode and one for light mode, and then assign them a specific class (dark or light):

- -
- -
1
-2
-
![Light mode only](/path/to/light-mode.png){: .light }
-![Dark mode only](/path/to/dark-mode.png){: .dark }
-
- -

Shadow

- -

The screenshots of the program window can be considered to show the shadow effect:

- -
- -
1
-
![Desktop View](/assets/img/sample/mockup.png){: .shadow }
-
- -

Preview Image

- -

If you want to add an image at the top of the post, please provide an image with a resolution of 1200 x 630. Please note that if the image aspect ratio does not meet 1.91 : 1, the image will be scaled and cropped.

- -

Knowing these prerequisites, you can start setting the image’s attribute:

- -
- -
1
-2
-3
-4
-5
-
---
-image:
-  path: /path/to/image
-  alt: image alternative text
----
-
- -

Note that the media_subpath can also be passed to the preview image, that is, when it has been set, the attribute path only needs the image file name.

- -

For simple use, you can also just use image to define the path.

- -
- -
1
-2
-3
-
---
-image: /path/to/image
----
-
- -

LQIP

- -

For preview images:

- -
- -
1
-2
-3
-4
-
---
-image:
-  lqip: /path/to/lqip-file # or base64 URI
----
-
- -
-

You can observe LQIP in the preview image of post "Text and Typography".

-
- -

For normal images:

- -
- -
1
-
![Image description](/path/to/image){: lqip="/path/to/lqip-file" }
-
- -

Video

- -

Social Media Platform

- -

You can embed videos from social media platforms with the following syntax:

- -
- -
1
-
{% include embed/{Platform}.html id='{ID}' %}
-
- -

Where Platform is the lowercase of the platform name, and ID is the video ID.

- -

The following table shows how to get the two parameters we need in a given video URL, and you can also know the currently supported video platforms.

- -
- - - - - - - - - - - - - - - - - - - - - - - - -
Video URLPlatformID
https://www.youtube.com/watch?v=H-B46URT4mgyoutubeH-B46URT4mg
https://www.twitch.tv/videos/1634779211twitch1634779211
https://www.bilibili.com/video/BV1Q44y1B7WfbilibiliBV1Q44y1B7Wf
- -

Video Files

- -

If you want to embed a video file directly, use the following syntax:

- -
- -
1
-
{% include embed/video.html src='{URL}' %}
-
- -

Where URL is a URL to a video file e.g. /path/to/sample/video.mp4.

- -

You can also specify additional attributes for the embedded video file. Here is a full list of attributes allowed.

- -
    -
  • poster='/path/to/poster.png' — poster image for a video that is shown while video is downloading
  • -
  • title='Text' — title for a video that appears below the video and looks same as for images
  • -
  • autoplay=true — video automatically begins to play back as soon as it can
  • -
  • loop=true — automatically seek back to the start upon reaching the end of the video
  • -
  • muted=true — audio will be initially silenced
  • -
  • types — specify the extensions of additional video formats separated by |. Ensure these files exist in the same directory as your primary video file.
  • -
- -

Consider an example using all of the above:

- -
- -
1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-
{%
-  include embed/video.html
-  src='/path/to/video.mp4'
-  types='ogg|mov'
-  poster='poster.png'
-  title='Demo video'
-  autoplay=true
-  loop=true
-  muted=true
-%}
-
- -

Audios

- -

If you want to embed an audio file directly, use the following syntax:

- -
- -
1
-
{% include embed/audio.html src='{URL}' %}
-
- -

Where URL is a URL to an audio file e.g. /path/to/audio.mp3.

- -

You can also specify additional attributes for the embedded audio file. Here is a full list of attributes allowed.

- -
    -
  • title='Text' — title for an audio that appears below the audio and looks same as for images
  • -
  • types — specify the extensions of additional audio formats separated by |. Ensure these files exist in the same directory as your primary audio file.
  • -
- -

Consider an example using all of the above:

- -
- -
1
-2
-3
-4
-5
-6
-
{%
-  include embed/audio.html
-  src='/path/to/audio.mp3'
-  types='ogg|wav|aac'
-  title='Demo audio'
-%}
-
- -

Pinned Posts

- -

You can pin one or more posts to the top of the home page, and the fixed posts are sorted in reverse order according to their release date. Enable by:

- -
- -
1
-2
-3
-
---
-pin: true
----
-
- -

Prompts

- -

There are several types of prompts: tip, info, warning, and danger. They can be generated by adding the class prompt-{type} to the blockquote. For example, define a prompt of type info as follows:

- -
- -
1
-2
-
> Example line for prompt.
-{: .prompt-info }
-
- -

Syntax

- -

Inline Code

- -
- -
1
-
`inline code part`
-
- -

Filepath Highlight

- -
- -
1
-
`/path/to/a/file.extend`{: .filepath}
-
- -

Code Block

- -

Markdown symbols ``` can easily create a code block as follows:

- -
- -
1
-2
-3
-
```
-This is a plaintext code snippet.
-```
-
- -

Specifying Language

- -

Using ```{language} you will get a code block with syntax highlight:

- -
- -
1
-2
-3
-
```yaml
-key: value
-```
-
- -
-

The Jekyll tag {% highlight %} is not compatible with this theme.

-
- -

Line Number

- -

By default, all languages except plaintext, console, and terminal will display line numbers. When you want to hide the line number of a code block, add the class nolineno to it:

- -
- -
1
-2
-3
-4
-
```shell
-echo 'No more line numbers!'
-```
-{: .nolineno }
-
- -

Specifying the Filename

- -

You may have noticed that the code language will be displayed at the top of the code block. If you want to replace it with the file name, you can add the attribute file to achieve this:

- -
- -
1
-2
-3
-4
-
```shell
-# content
-```
-{: file="path/to/file" }
-
- -

Liquid Codes

- -

If you want to display the Liquid snippet, surround the liquid code with {% raw %} and {% endraw %}:

- -
- -
1
-2
-3
-4
-5
-6
-7
-
{% raw %}
-```liquid
-{% if product.title contains 'Pack' %}
-  This product's title contains the word Pack.
-{% endif %}
-```
-{% endraw %}
-
- -

Or adding render_with_liquid: false (Requires Jekyll 4.0 or higher) to the post’s YAML block.

- -

Mathematics

- -

We use MathJax to generate mathematics. For website performance reasons, the mathematical feature won’t be loaded by default. But it can be enabled by:

- -
- -
1
-2
-3
-
---
-math: true
----
-
- -

After enabling the mathematical feature, you can add math equations with the following syntax:

- -
    -
  • Block math should be added with $$ math $$ with mandatory blank lines before and after $$ -
      -
    • Inserting equation numbering should be added with $$\begin{equation} math \end{equation}$$
    • -
    • Referencing equation numbering should be done with \label{eq:label_name} in the equation block and \eqref{eq:label_name} inline with text (see example below)
    • -
    -
  • -
  • Inline math (in lines) should be added with $$ math $$ without any blank line before or after $$
  • -
  • Inline math (in lists) should be added with \$$ math $$
  • -
- -
- -
1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-
<!-- Block math, keep all blank lines -->
-
-$$
-LaTeX_math_expression
-$$
-
-<!-- Equation numbering, keep all blank lines  -->
-
-$$
-\begin{equation}
-  LaTeX_math_expression
-  \label{eq:label_name}
-\end{equation}
-$$
-
-Can be referenced as \eqref{eq:label_name}.
-
-<!-- Inline math in lines, NO blank lines -->
-
-"Lorem ipsum dolor sit amet, $$ LaTeX_math_expression $$ consectetur adipiscing elit."
-
-<!-- Inline math in lists, escape the first `$` -->
-
-1. \$$ LaTeX_math_expression $$
-2. \$$ LaTeX_math_expression $$
-3. \$$ LaTeX_math_expression $$
-
- -
-

Starting with v7.0.0, configuration options for MathJax have been moved to file assets/js/data/mathjax.js, and you can change the options as needed, such as adding extensions.
-If you are building the site via chirpy-starter, copy that file from the gem installation directory (check with command bundle info --path jekyll-theme-chirpy) to the same directory in your repository.

-
- -

Mermaid

- -

Mermaid is a great diagram generation tool. To enable it on your post, add the following to the YAML block:

- -
- -
1
-2
-3
-
---
-mermaid: true
----
-
- -

Then you can use it like other markdown languages: surround the graph code with ```mermaid and ```.

- -

Learn More

- -

For more knowledge about Jekyll posts, visit the Jekyll Docs: Posts.

- -
- -
- - - - - - - - - - -
-
- - - - This post is licensed under - - CC BY 4.0 - - by the author. - -
- - - - - -
- -
- -
- - - -
- - - -
- - - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/_site/redirects.json b/_site/redirects.json deleted file mode 100644 index 3d7a81c..0000000 --- a/_site/redirects.json +++ /dev/null @@ -1 +0,0 @@ -{"/norobots/":"http://localhost:4000/404.html","/assets/":"http://localhost:4000/404.html","/posts/":"http://localhost:4000/404.html"} \ No newline at end of file diff --git a/_site/robots.txt b/_site/robots.txt deleted file mode 100644 index b865347..0000000 --- a/_site/robots.txt +++ /dev/null @@ -1,5 +0,0 @@ -User-agent: * - -Disallow: /norobots/ - -Sitemap: http://localhost:4000/sitemap.xml diff --git a/_site/sitemap.xml b/_site/sitemap.xml deleted file mode 100644 index 56d09ea..0000000 --- a/_site/sitemap.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - -http://localhost:4000/posts/text-and-typography/ -2019-08-08T12:33:00+09:00 - - -http://localhost:4000/posts/write-a-new-post/ -2019-08-08T15:10:00+09:00 - - -http://localhost:4000/posts/getting-started/ -2019-08-09T21:55:00+09:00 - - -http://localhost:4000/posts/customize-the-favicon/ -2019-08-11T01:34:00+09:00 - - -http://localhost:4000/categories/ -2025-01-03T14:51:06+09:00 - - -http://localhost:4000/tags/ -2025-01-03T14:51:06+09:00 - - -http://localhost:4000/archives/ -2025-01-03T14:51:06+09:00 - - -http://localhost:4000/about/ -2025-01-03T14:51:06+09:00 - - -http://localhost:4000/ - - -http://localhost:4000/tags/typography/ - - -http://localhost:4000/tags/writing/ - - -http://localhost:4000/tags/getting-started/ - - -http://localhost:4000/tags/favicon/ - - -http://localhost:4000/categories/blogging/ - - -http://localhost:4000/categories/demo/ - - -http://localhost:4000/categories/tutorial/ - - diff --git a/_site/tags/favicon/index.html b/_site/tags/favicon/index.html deleted file mode 100644 index bf43cd0..0000000 --- a/_site/tags/favicon/index.html +++ /dev/null @@ -1,914 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - favicon | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Tag -
- - - - - - - - -
-
- - -
-
- - - - - -
- - - - - -
-

- - favicon - 1 -

- -
- - -
- - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/tags/getting-started/index.html b/_site/tags/getting-started/index.html deleted file mode 100644 index a89b4a1..0000000 --- a/_site/tags/getting-started/index.html +++ /dev/null @@ -1,914 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - getting started | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Tag -
- - - - - - - - -
-
- - -
-
- - - - - -
- - - - - -
-

- - getting started - 1 -

- -
- - -
- - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/tags/index.html b/_site/tags/index.html deleted file mode 100644 index cdeef6f..0000000 --- a/_site/tags/index.html +++ /dev/null @@ -1,882 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tags | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Tags -
- - - - - - - - -
-
- - -
-
- - - - - - - - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/tags/typography/index.html b/_site/tags/typography/index.html deleted file mode 100644 index aa6a1aa..0000000 --- a/_site/tags/typography/index.html +++ /dev/null @@ -1,914 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - typography | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Tag -
- - - - - - - - -
-
- - -
-
- - - - - -
- - - - - -
-

- - typography - 1 -

- -
- - -
- - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_site/tags/writing/index.html b/_site/tags/writing/index.html deleted file mode 100644 index a3d63be..0000000 --- a/_site/tags/writing/index.html +++ /dev/null @@ -1,914 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - writing | Jungwoo Kim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
- - - - - -
- Tag -
- - - - - - - - -
-
- - -
-
- - - - - -
- - - - - -
-

- - writing - 1 -

- -
- - -
- - -
- - - -
- -
- -
- - - - - - -
-
- - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Trending Tags

-
- - - - - - - - - - - - - -
-
- - -
-
-
-
- -
- - -
- -
- - - - - - - - - - - - - - - - - - - - - diff --git a/_tabs/about.md b/_tabs/about.md deleted file mode 100644 index ddb2bc4..0000000 --- a/_tabs/about.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -# the default layout is 'page' -icon: fas fa-info-circle -order: 4 ---- - -> Add Markdown syntax content to file `_tabs/about.md`{: .filepath } and it will show up on this page. -{: .prompt-tip } diff --git a/_tabs/archives.md b/_tabs/archives.md deleted file mode 100644 index c3abc59..0000000 --- a/_tabs/archives.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: archives -icon: fas fa-archive -order: 3 ---- diff --git a/_tabs/categories.md b/_tabs/categories.md deleted file mode 100644 index 2d241be..0000000 --- a/_tabs/categories.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: categories -icon: fas fa-stream -order: 1 ---- diff --git a/_tabs/tags.md b/_tabs/tags.md deleted file mode 100644 index ded3adc..0000000 --- a/_tabs/tags.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: tags -icon: fas fa-tags -order: 2 ---- diff --git a/assets/.DS_Store b/assets/.DS_Store deleted file mode 100644 index 893b7fd..0000000 Binary files a/assets/.DS_Store and /dev/null differ diff --git a/assets/404.html b/assets/404.html deleted file mode 100644 index af89d6d..0000000 --- a/assets/404.html +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: page -title: "404: Page not found" -permalink: /404.html - -redirect_from: - - /norobots/ - - /assets/ - - /posts/ ---- - -{% include lang.html %} - -

{{ site.data.locales[lang].not_found.statement }}

diff --git a/assets/css/jekyll-theme-chirpy.scss b/assets/css/jekyll-theme-chirpy.scss deleted file mode 100644 index 7ff89bf..0000000 --- a/assets/css/jekyll-theme-chirpy.scss +++ /dev/null @@ -1,10 +0,0 @@ ---- ---- - -@use 'main -{%- if jekyll.environment == 'production' -%} - .bundle -{%- endif -%} -'; - -/* append your custom style below */ diff --git a/assets/feed.xml b/assets/feed.xml deleted file mode 100644 index d2aad4d..0000000 --- a/assets/feed.xml +++ /dev/null @@ -1,54 +0,0 @@ ---- -layout: compress -permalink: /feed.xml -# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html ---- - -{% capture source %} - - {{ "/" | absolute_url }} - {{ site.title }} - {{ site.description }} - {{ site.time | date_to_xmlschema }} - - {{ site.social.name }} - {{ "/" | absolute_url }} - - - - Jekyll - © {{ 'now' | date: '%Y' }} {{ site.social.name }} - {{ site.baseurl }}/assets/img/favicons/favicon.ico - {{ site.baseurl }}/assets/img/favicons/favicon-96x96.png - -{% for post in site.posts limit: 5 %} - {% assign post_absolute_url = post.url | absolute_url %} - - {{ post.title }} - - {{ post.date | date_to_xmlschema }} - {% if post.last_modified_at %} - {{ post.last_modified_at | date_to_xmlschema }} - {% else %} - {{ post.date | date_to_xmlschema }} - {% endif %} - {{ post_absolute_url }} - - - {{ post.author | default: site.social.name }} - - - {% if post.categories %} - {% for category in post.categories %} - - {% endfor %} - {% endif %} - - {% include post-description.html max_length=400 %} - - -{% endfor %} - -{% endcapture %} -{{ source | replace: '&', '&' }} diff --git a/assets/img/favicons/android-chrome-192x192.png b/assets/img/favicons/android-chrome-192x192.png deleted file mode 100644 index a949d2f..0000000 Binary files a/assets/img/favicons/android-chrome-192x192.png and /dev/null differ diff --git a/assets/img/favicons/android-chrome-512x512.png b/assets/img/favicons/android-chrome-512x512.png deleted file mode 100644 index a0cdd95..0000000 Binary files a/assets/img/favicons/android-chrome-512x512.png and /dev/null differ diff --git a/assets/img/favicons/apple-touch-icon.png b/assets/img/favicons/apple-touch-icon.png deleted file mode 100644 index 648097f..0000000 Binary files a/assets/img/favicons/apple-touch-icon.png and /dev/null differ diff --git a/assets/img/favicons/browserconfig.xml b/assets/img/favicons/browserconfig.xml deleted file mode 100644 index a02a5c7..0000000 --- a/assets/img/favicons/browserconfig.xml +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: compress ---- - - - - - - - #da532c - - - diff --git a/assets/img/favicons/favicon-16x16.png b/assets/img/favicons/favicon-16x16.png deleted file mode 100644 index f44237a..0000000 Binary files a/assets/img/favicons/favicon-16x16.png and /dev/null differ diff --git a/assets/img/favicons/favicon-32x32.png b/assets/img/favicons/favicon-32x32.png deleted file mode 100644 index d5d021d..0000000 Binary files a/assets/img/favicons/favicon-32x32.png and /dev/null differ diff --git a/assets/img/favicons/favicon.ico b/assets/img/favicons/favicon.ico deleted file mode 100644 index 5611568..0000000 Binary files a/assets/img/favicons/favicon.ico and /dev/null differ diff --git a/assets/img/favicons/mstile-150x150.png b/assets/img/favicons/mstile-150x150.png deleted file mode 100644 index c0d045e..0000000 Binary files a/assets/img/favicons/mstile-150x150.png and /dev/null differ diff --git a/assets/img/favicons/site.webmanifest b/assets/img/favicons/site.webmanifest deleted file mode 100644 index 03c6113..0000000 --- a/assets/img/favicons/site.webmanifest +++ /dev/null @@ -1,26 +0,0 @@ ---- -layout: compress ---- - -{% assign favicon_path = "/assets/img/favicons" | relative_url %} - -{ - "name": "{{ site.title }}", - "short_name": "{{ site.title }}", - "description": "{{ site.description }}", - "icons": [ - { - "src": "{{ favicon_path }}/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "{{ favicon_path }}/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - }], - "start_url": "{{ '/index.html' | relative_url }}", - "theme_color": "#2a1e6b", - "background_color": "#ffffff", - "display": "fullscreen" -} diff --git a/assets/img/kjungwoo.png b/assets/img/kjungwoo.png deleted file mode 100644 index 2cab42e..0000000 Binary files a/assets/img/kjungwoo.png and /dev/null differ diff --git a/assets/js/data/mathjax.js b/assets/js/data/mathjax.js deleted file mode 100644 index ca3d0de..0000000 --- a/assets/js/data/mathjax.js +++ /dev/null @@ -1,25 +0,0 @@ ---- -layout: compress -# WARNING: Don't use '//' to comment out code, use '{% comment %}' and '{% endcomment %}' instead. ---- - -{%- comment -%} - See: -{%- endcomment -%} - -MathJax = { - tex: { - {%- comment -%} start/end delimiter pairs for in-line math {%- endcomment -%} - inlineMath: [ - ['$', '$'], - ['\\(', '\\)'] - ], - {%- comment -%} start/end delimiter pairs for display math {%- endcomment -%} - displayMath: [ - ['$$', '$$'], - ['\\[', '\\]'] - ], - {%- comment -%} equation numbering {%- endcomment -%} - tags: 'ams' - } -}; diff --git a/assets/js/data/search.json b/assets/js/data/search.json deleted file mode 100644 index 2601ed0..0000000 --- a/assets/js/data/search.json +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: compress -swcache: true ---- - -[ - {% for post in site.posts %} - { - "title": {{ post.title | jsonify }}, - "url": {{ post.url | relative_url | jsonify }}, - "categories": {{ post.categories | join: ', ' | jsonify }}, - "tags": {{ post.tags | join: ', ' | jsonify }}, - "date": "{{ post.date }}", - {% include no-linenos.html content=post.content %} - {% assign _content = content | strip_html | strip_newlines %} - "snippet": {{ _content | truncate: 200 | jsonify }}, - "content": {{ _content | jsonify }} - }{% unless forloop.last %},{% endunless %} - {% endfor %} -] diff --git a/assets/js/data/swconf.js b/assets/js/data/swconf.js deleted file mode 100644 index 798888a..0000000 --- a/assets/js/data/swconf.js +++ /dev/null @@ -1,47 +0,0 @@ ---- -layout: compress -permalink: '/:path/swconf.js' -# Note that this file will be fetched by the ServiceWorker, so it will not be cached. ---- - -const swconf = { - {% if site.pwa.cache.enabled %} - cacheName: 'chirpy-{{ "now" | date: "%s" }}', - - {%- comment -%} Resources added to the cache during PWA installation. {%- endcomment -%} - resources: [ - '{{ "/assets/css/:THEME.css" | replace: ':THEME', site.theme | relative_url }}', - '{{ "/" | relative_url }}', - {% for tab in site.tabs %} - '{{- tab.url | relative_url -}}', - {% endfor %} - - {% assign cache_list = site.static_files | where: 'swcache', true %} - {% for file in cache_list %} - '{{ file.path | relative_url }}'{%- unless forloop.last -%},{%- endunless -%} - {% endfor %} - ], - - interceptor: { - {%- comment -%} URLs containing the following paths will not be cached. {%- endcomment -%} - paths: [ - {% for path in site.pwa.cache.deny_paths %} - {% unless path == empty %} - '{{ path | relative_url }}'{%- unless forloop.last -%},{%- endunless -%} - {% endunless %} - {% endfor %} - ], - - {%- comment -%} URLs containing the following prefixes will not be cached. {%- endcomment -%} - urlPrefixes: [ - {% if site.analytics.goatcounter.id != nil and site.pageviews.provider == 'goatcounter' %} - 'https://{{ site.analytics.goatcounter.id }}.goatcounter.com/counter/' - {% endif %} - ] - }, - - purge: false - {% else %} - purge: true - {% endif %} -}; diff --git a/assets/robots.txt b/assets/robots.txt deleted file mode 100644 index 45c34e0..0000000 --- a/assets/robots.txt +++ /dev/null @@ -1,10 +0,0 @@ ---- -permalink: /robots.txt -# The robots rules ---- - -User-agent: * - -Disallow: /norobots/ - -Sitemap: {{ '/sitemap.xml' | absolute_url }} diff --git a/_javascript/.DS_Store b/data/.DS_Store similarity index 89% rename from _javascript/.DS_Store rename to data/.DS_Store index bc21fd4..5008ddf 100644 Binary files a/_javascript/.DS_Store and b/data/.DS_Store differ diff --git a/data/Curriculum_Vitae_1011.pdf b/data/Curriculum_Vitae_1011.pdf new file mode 100644 index 0000000..ce52657 Binary files /dev/null and b/data/Curriculum_Vitae_1011.pdf differ diff --git a/data/ecg_final_template.pdf b/data/ecg_final_template.pdf new file mode 100644 index 0000000..a191b55 Binary files /dev/null and b/data/ecg_final_template.pdf differ diff --git a/data/scholarship_1011.pdf b/data/scholarship_1011.pdf new file mode 100644 index 0000000..e286168 Binary files /dev/null and b/data/scholarship_1011.pdf differ diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md deleted file mode 100644 index 0cfa89b..0000000 --- a/docs/CHANGELOG.md +++ /dev/null @@ -1,511 +0,0 @@ -# Changelog - -## [7.2.4](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.2.3...v7.2.4) (2024-12-21) - -### Bug Fixes - -* toc not visible when switching from mobile to desktop mode ([#2139](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2139)) ([32051da](https://github.com/cotes2020/jekyll-theme-chirpy/commit/32051dad03cb8f60fa4206969377b9674f9a3f0c)) -* **ui:** left borderline of TOC is notched ([#2140](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2140)) ([8a4d0bc](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8a4d0bc4ee9e142a11401cad80bc9605878f121d)) - -## [7.2.3](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.2.2...v7.2.3) (2024-12-15) - -### Bug Fixes - -* refreshing mermaid theme may fail ([#2113](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2113)) ([2f00d41](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2f00d41861f1b06c2ff7fa4e67e14e647c3c34b0)) -* **ui:** gap between TOC entries is inconsistent ([#2119](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2119)) ([1b4e318](https://github.com/cotes2020/jekyll-theme-chirpy/commit/1b4e318dc1cd57da812e11bf69ebb06083c213fc)) -* **ui:** slow script loading hides TOC fade-up effect in desktop ([#2120](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2120)) ([e0c3faf](https://github.com/cotes2020/jekyll-theme-chirpy/commit/e0c3fafa470eb12bd04ffdf198018bc28b6de20d)) - -## [7.2.2](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.2.1...v7.2.2) (2024-12-06) - -### Bug Fixes - -* js files in subdirectories are excluded from the site output ([#2101](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2101)) ([f55cc31](https://github.com/cotes2020/jekyll-theme-chirpy/commit/f55cc31dbd0e7455328c80c7ef38186ad8e54099)) - -## [7.2.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.2.0...v7.2.1) (2024-12-05) - -### Bug Fixes - -* **build:** exclude `purgecss.js` from output files ([#2090](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2090)) ([976e1a1](https://github.com/cotes2020/jekyll-theme-chirpy/commit/976e1a184b3dbe08991e8a50db4d5d7f8a0b7090)) -* correct the import condition for theme script ([#2075](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2075)) ([a16aa7d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/a16aa7d41e3c3cb28649bfa1361e8bcb91b9ca47)) -* ensure pageviews are fetched after DOM is loaded ([#2071](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2071)) ([b4019f3](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b4019f3517e4a3284df51567d29938cb12bf3acc)) -* **toc:** resume fade up animation in desktop mode ([#2085](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2085)) ([8280adb](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8280adb901b9d15cc1bc18009553aae8746121d8)) - -## [7.2.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.1.1...v7.2.0) (2024-11-28) - -### Features - -* show toc on mobile screens ([#1964](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1964)) ([8a064a5](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8a064a5e5a95cd22aa654f7c80da09d107262508)) -* support vertical scrolling for toc in desktop mode ([#2064](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2064)) ([5265b03](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5265b039741555943f9a6f0451287aefb6810f28)) - -### Bug Fixes - -* pagination error when pinned posts exceed the page size ([#1965](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1965)) ([93f616b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/93f616b25d7ed6c4f090c50c8663f8c1f59947f4)) - -### Improvements - -* modular sass architecture ([#2052](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2052)) ([35c794c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/35c794cf5896565430389f35c660b88a93cebb17)) -* speed up page rendering and jekyll build process ([#2034](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2034)) ([65f960c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/65f960c31a734b5306a8b919040c3aae9b783efd)) - -## [7.1.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.1.0...v7.1.1) (2024-09-23) - -### Bug Fixes - -* **i18n:** correct fr-FR translations ([#1949](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1949)) ([367262e](https://github.com/cotes2020/jekyll-theme-chirpy/commit/367262e74d1005bddf1328bb2b3a2b9e152c0086)) -* **pwa:** site baseurl not passed to `app.js` ([#1955](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1955)) ([5a63244](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5a63244721d21b1ad3a0ae83420723a2f0379e8b)) - -## [7.1.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.0.1...v7.1.0) (2024-08-27) - -### Features - -* add Bluesky social links ([#1759](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1759)) ([0102aba](https://github.com/cotes2020/jekyll-theme-chirpy/commit/0102abae062be24ec289fb7facb11950aca79e3f)) -* add Reddit social option ([#1836](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1836)) ([8673e13](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8673e1335f0771eac364d0a2866f27476d61a58b)) -* add Threads social links ([#1837](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1837)) ([e3a78b6](https://github.com/cotes2020/jekyll-theme-chirpy/commit/e3a78b6243f7056105d72185bb6e94b436834e5b)) -* **analytics:** add fathom analytics ([#1913](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1913)) ([befc4ce](https://github.com/cotes2020/jekyll-theme-chirpy/commit/befc4ce9c5026f67f99bce66e223d056229f0bdb)) -* **dev:** add vscode tasks ([#1843](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1843)) ([e4db1a1](https://github.com/cotes2020/jekyll-theme-chirpy/commit/e4db1a176f3f69f676cbc0bf27b1d5a657ece05e)) -* **dev:** support vscode dev-container ([#1781](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1781)) ([1e3d4a6](https://github.com/cotes2020/jekyll-theme-chirpy/commit/1e3d4a6323ba3eed06a57f8bf1b2edefd890b127)) -* **ui:** improve block quote layout ([80bd792](https://github.com/cotes2020/jekyll-theme-chirpy/commit/80bd7928a02c75c843a550bd377d11b574e8bfda)) -* **ui:** improve visibility of inline code ([#1831](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1831)) ([c876731](https://github.com/cotes2020/jekyll-theme-chirpy/commit/c876731901784a72ef9d2e9e2936df65ddff5f61)) -* **ui:** make `info-prompt` icon looks like the letter "i" ([#1835](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1835)) ([a07a57e](https://github.com/cotes2020/jekyll-theme-chirpy/commit/a07a57ec922249d3a22da56fbcb30d83eadef728)) -* **ui:** set `` font to 'Lato' ([64c7262](https://github.com/cotes2020/jekyll-theme-chirpy/commit/64c7262245e878534971a2e3a2630b614daf72f3)) - -### Bug Fixes - -* adapt the giscus localization parameter ([#1810](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1810)) ([0709854](https://github.com/cotes2020/jekyll-theme-chirpy/commit/0709854dc8f6099d38c2578967a02f73b4be0dc8)) -* avoid caching pageviews data ([#1849](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1849)) ([979f86c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/979f86cf64e1fcace4231fb070c7e6398fd4e5ec)) -* remove extra dual-mode images from lightbox ([#1883](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1883)) ([5c5910f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5c5910f1fc661ec3dce203ac961c7f64f1991895)) - -## [7.0.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.0.0...v7.0.1) (2024-05-18) - -### Bug Fixes - -* **analytics:** goatcounter pv greater than 1K cannot be converted to numbers ([#1762](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1762)) ([33a1fa7](https://github.com/cotes2020/jekyll-theme-chirpy/commit/33a1fa7cae2181625e2f335708d59de4dd20ee7d)) -* audio/video path apply variable `media_subpath` ([#1745](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1745)) ([00a27a1](https://github.com/cotes2020/jekyll-theme-chirpy/commit/00a27a1b85f665d0642b77babd54c6903fbdeb22)) - -## [7.0.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.5.5...v7.0.0) (2024-05-11) - -### ⚠ BREAKING CHANGES - -* optimize the resource hints (#1717) -* rename media-url file and related parameters (#1651) -* rename comment setting parameter (#1563) -* **analytics:** add post pageviews for GoatCounter (#1543) - -### Features - -* add cloudflare web analytics ([#1723](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1723)) ([c17fba4](https://github.com/cotes2020/jekyll-theme-chirpy/commit/c17fba44f53767c9dfaa8d92cfc6e275e5977f8a)) -* add support for embed video files ([#1558](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1558)) ([9592146](https://github.com/cotes2020/jekyll-theme-chirpy/commit/9592146ca392236e69ee358412ecc32ef1662127)) -* add support for giscus strict title matching ([#1614](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1614)) ([700fd5b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/700fd5bad7272dd950f861e8550215cd8fafb413)) -* **analytics:** add post pageviews for GoatCounter ([#1543](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1543)) ([b641b3f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b641b3f1f2e54bcfe96d8dff46d4f94186492d98)) -* **analytics:** add Umami and Matomo tracking codes ([#1658](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1658)) ([61bdca2](https://github.com/cotes2020/jekyll-theme-chirpy/commit/61bdca2db45179cd0d1b4b885a4c4864e3ffa3c1)) -* change site verification settings ([#1561](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1561)) ([e436387](https://github.com/cotes2020/jekyll-theme-chirpy/commit/e4363871b5be0608d2b92b8aff482825a8044c1b)) -* **deps:** move `MathJax` configuration to a separate file ([#1670](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1670)) ([44f552c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/44f552cbcee83d037de0e59496bf6bb19eea2691)) -* display theme version in footer ([#1611](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1611)) ([8349314](https://github.com/cotes2020/jekyll-theme-chirpy/commit/834931486dc3e5ed544ce4ff47cd1b2bc45f42fd)) -* **i18n:** allow `page.lang` to override `site.lang` ([#1586](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1586)) ([547b95c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/547b95cc7ae35018dadcc01b6eb1dc8c8943e67e)) -* make post description customizable ([#1602](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1602)) ([f865336](https://github.com/cotes2020/jekyll-theme-chirpy/commit/f865336c896e0db34edf8482a53e0e5d8f07ff95)) -* **media:** support audio and video tag with multi sources ([#1618](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1618)) ([23be416](https://github.com/cotes2020/jekyll-theme-chirpy/commit/23be4162b3f8598db14dc5b39726932ccf2cdc23)) - -### Bug Fixes - -* make TOC title and entries visible at the same time ([#1711](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1711)) ([e0950fc](https://github.com/cotes2020/jekyll-theme-chirpy/commit/e0950fc973d029dc65d0bc1bd68f3d11242527c8)) -* mode toggle not outlined when receiving keyboard focus ([#1690](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1690)) ([cd37f63](https://github.com/cotes2020/jekyll-theme-chirpy/commit/cd37f63a0144e0499ea991d3309da064ad5eccea)) -* prevent footnote back arrow from becoming an emoji ([#1716](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1716)) ([8608147](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8608147fb5037804695d93496c62f96b9c41e9cd)) -* **pwa:** skip range requests in service worker ([#1672](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1672)) ([76d58fe](https://github.com/cotes2020/jekyll-theme-chirpy/commit/76d58fe0ffdc4bd1df35b60815e97560c3564700)) -* search result prompt is empty ([#1583](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1583)) ([8a2afae](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8a2afae6cab8fc9639be0a866b71699c8a80084c)) -* use `https` for Weibo sharing URL ([#1612](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1612)) ([8e5fbb7](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8e5fbb7a74d04a4b3cdde69bcc821f8ccd1a3bc0)) - -### Improvements - -* improve \
visibility in dark mode ([#1565](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1565)) ([4ddd5c4](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4ddd5c437046a1e70cf396113e2351c452a25493)) -* lean bootstrap javascript ([#1734](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1734)) ([ddb48ed](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ddb48eda52827aae16aff720212d7b6d2d8647f9)) -* rename comment setting parameter ([#1563](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1563)) ([f8390d4](https://github.com/cotes2020/jekyll-theme-chirpy/commit/f8390d4384600fb015728b1b186570fa58ca216f)) -* replace jQuery with Vanilla JS ([#1681](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1681)) ([fe7afa3](https://github.com/cotes2020/jekyll-theme-chirpy/commit/fe7afa379f0af0ca98a207f85bdc0fa98575b1ad)) -* simplify mode toggle script ([#1692](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1692)) ([d4a6d64](https://github.com/cotes2020/jekyll-theme-chirpy/commit/d4a6d640bd6d4ab185faf96c0255369a9903ee1d)) -* tree shaking Bootstrap CSS ([#1736](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1736)) ([363a3d9](https://github.com/cotes2020/jekyll-theme-chirpy/commit/363a3d936bbd688fa4f28527e85ef7dd3fe3a79b)) - -### Changes - -* optimize the resource hints ([#1717](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1717)) ([dcb0add](https://github.com/cotes2020/jekyll-theme-chirpy/commit/dcb0add47bf1adf92215514f1ccfa4661d5215be)) -* rename media-url file and related parameters ([#1651](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1651)) ([9f8aeaa](https://github.com/cotes2020/jekyll-theme-chirpy/commit/9f8aeaadbfef9967a9b0a9dd323d8bed46e14d9f)) - -## [6.5.5](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.5.4...v6.5.5) (2024-03-23) - -### Bug Fixes - -* **post:** correct the image URLs ([#1627](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1627)) ([2d649aa](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2d649aae0e40a24db1ab0d46fa474294e96cb135)) - -## [6.5.4](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.5.3...v6.5.4) (2024-03-22) - -### Bug Fixes - -* correct the attribute for the Twitter social image ([#1615](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1615)) ([cfe44f2](https://github.com/cotes2020/jekyll-theme-chirpy/commit/cfe44f204bcec8e05f498512ec50878e626a124f)) -* **seo:** correct social preview image path inside `` tag ([#1623](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1623)) ([74cf57a](https://github.com/cotes2020/jekyll-theme-chirpy/commit/74cf57aaacf6674057e6f33240a22f4888cfe88f)) - -## [6.5.3](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.5.2...v6.5.3) (2024-03-07) - -### Changes - -* replace `polyfill.io` with `cdnjs` hosted link ([#1598](https://github.com/cotes2020/jekyll-theme-chirpy/pull/1598)) ([75a3d73](https://github.com/cotes2020/jekyll-theme-chirpy/commit/75a3d7399b257256a09d602cbe01062fe1cdf68d)) - -## [6.5.2](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.5.1...v6.5.2) (2024-02-29) - -### Bug Fixes - -* correct the base URL parameter name ([#1576](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1576)) ([19d6baf](https://github.com/cotes2020/jekyll-theme-chirpy/commit/19d6bafbe1a60614e0d63b961bc73c342a9f6f33)), closes [#1553](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1553) - -## [6.5.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.5.0...v6.5.1) (2024-02-26) - -### Bug Fixes - -* correct the generation of relative resource paths ([#1553](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1553)) ([89b9625](https://github.com/cotes2020/jekyll-theme-chirpy/commit/89b962557a56ccc13eba3c9c20b4270ee9d30042)) - -## [6.5.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.4.2...v6.5.0) (2024-02-14) - -### Features - -* add `pwa.cache.*` option to precisely control caching ([#1501](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1501)) ([1127c43](https://github.com/cotes2020/jekyll-theme-chirpy/commit/1127c43823aac4db7fd80d5bb706ae7b1e129dc6)) -* add analytics support for GoatCounter ([#1526](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1526)) ([90693ff](https://github.com/cotes2020/jekyll-theme-chirpy/commit/90693ff95e72ca4b5135a7b454a6ab521b995b3e)) - -### Bug Fixes - -* correct the Twitter Card in social share preview ([#1498](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1498)) ([74f1662](https://github.com/cotes2020/jekyll-theme-chirpy/commit/74f16623c9c4877ef36ac52e8b69c19d1d9a82ba)) -* missing "/" at the end of URLs for categories and tags in breadcrumb ([#1495](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1495)) ([02e296e](https://github.com/cotes2020/jekyll-theme-chirpy/commit/02e296ed75b7906b2d112c67f9054f5d71919de9)) - -### Improvements - -* allow no social links to be configured ([#1494](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1494)) ([4facf5b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4facf5b390eeba612ca439f3354c5d2d881aac56)) -* allow TOC to start at heading 3 ([#1512](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1512)) ([bbbb66b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/bbbb66b489a3bf2b878947336fe894e8ea2ae3f5)) -* enable equation numbering in MathJax ([#1520](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1520)) ([c13ec31](https://github.com/cotes2020/jekyll-theme-chirpy/commit/c13ec311636d5e057c6895e353e1c1a4e570f582)) - -## [6.4.2](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.4.1...v6.4.2) (2024-01-13) - -### Bug Fixes - -* resume the `blockquote` display type ([#1480](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1480)) ([c7cfde0](https://github.com/cotes2020/jekyll-theme-chirpy/commit/c7cfde093020c73ca9a1b83437eb600379e05918)), closes [#1449](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1449) - -## [6.4.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.4.0...v6.4.1) (2024-01-10) - -### Bug Fixes - -* `og:image` URL is incorrect ([#1468](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1468)) ([b2d1cb6](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b2d1cb68db659270aac537d2aa8d4b806fa6991d)), closes [#1463](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1463) - -## [6.4.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.3.1...v6.4.0) (2024-01-10) - -### Features - -* add bilibili embed video support ([#1406](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1406)) ([4a2b89d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4a2b89d0b698d672486349131a89025fa47afcb6)) -* add site-wide social preview image settings ([#1463](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1463)) ([241bb4d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/241bb4df7878cff7f82014df660874a1dcddba76)) - -### Bug Fixes - -* image float breaks quotes and prompts ([#1449](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1449)) ([ea2d238](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ea2d238bd8adc018256862e05a5092311c87a671)), closes [#1441](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1441) -* url-less authors should not have empty links ([#1410](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1410)) ([2a4fbf6](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2a4fbf6a7925da610a75c498116da7cf9ba857d7)), closes [#1403](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1403) - -### Improvements - -* include the latest posts in the "Recently Updated" list ([#1456](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1456)) ([82d8f2d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/82d8f2db984711f334f55b6af5098ec16770e824)) - -## [6.3.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.3.0...v6.3.1) (2023-11-12) - -### Bug Fixes - -* **home:** responsive gap at the bottom of preview image ([1a977a8](https://github.com/cotes2020/jekyll-theme-chirpy/commit/1a977a87a0da1cff35d0896cf9265c31034841a6)) - -## [6.3.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.2.3...v6.3.0) (2023-11-10) - -### Features - -* add Mastodon sharing link ([#1344](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1344)) ([2bf87e0](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2bf87e0de7928f325811e1bb96cfcaefdf6cf66a)), closes [#1324](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1324) - -### Bug Fixes - -* **home:** crop the preview image that doesn't match 1.91:1 ([#1325](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1325)) ([5810bcd](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5810bcd1d7b83e111017831fa82c368a6b15c7cd)) -* resume lazy loading for Twitch videos ([#1326](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1326)) ([9f174d9](https://github.com/cotes2020/jekyll-theme-chirpy/commit/9f174d9088e5c83a5e0c4630336cea65e199c553)), closes [#1267](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1267) - -## [6.2.3](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.2.2...v6.2.3) (2023-10-10) - -### Bug Fixes - -* avoid `utterances` initialization failure ([#1234](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1234)) ([b34661e](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b34661efd72e8697fd5b30ba7e55c86c7dd10338)) -* **home:** avoid LQIP dirty data passing to the next post ([#1278](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1278)) ([109725d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/109725d2dc56e329c60a876e9ce4094513fd36a5)) -* **posts:** code snippet clipboard tooltip missing title ([#1246](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1246)) ([726085c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/726085c6478e7a9dc2cc57189b2dcbc85d90f048)) -* **posts:** resume target highlighting for superscripts and footnotes ([#1253](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1253)) ([0465a98](https://github.com/cotes2020/jekyll-theme-chirpy/commit/0465a985dc5262fa2043540f4eddafa251f917a3)) - -### Improvements - -* **comments:** lazy load `giscus` ([#1254](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1254)) ([e9c9206](https://github.com/cotes2020/jekyll-theme-chirpy/commit/e9c920641b9c97594fa078ea89747d77eb7e7493)) -* **core:** replace `lazysizes` with browser-level lazy loading ([#1267](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1267)) ([bf3a34d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/bf3a34d0544b49fcf40f57080c4d6b4ff44750c4)) -* **layout:** improve margins for tail block ([#1243](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1243)) ([13a3c3c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/13a3c3c906bb6c5a38314ea27b6cf3767df94b27)) -* **layout:** optimize the main block height calculation ([#1249](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1249)) ([73e171b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/73e171b0fbce4a542e2141d7e2b1144450571ce1)) -* **pwa:** enhance cache privacy protection ([#1275](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1275)) ([2d56597](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2d56597571aaafa92251d192861ea69cce3e83d2)) -* **ui:** standardize metadata text styles ([#1295](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1295)) ([2574118](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2574118f40a956184705f87dea4d88e7c246a055)) -* **ux:** render background color before loading preview image ([#1298](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1298)) ([42bf39e](https://github.com/cotes2020/jekyll-theme-chirpy/commit/42bf39e21c9a497aecc3e9b4549e2fc3ba4a1e4a)) - -## [6.2.2](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.2.1...v6.2.2) (2023-09-10) - -### Bug Fixes - -* **sidebar:** contact icons not stacking ([#1224](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1224)) ([273b389](https://github.com/cotes2020/jekyll-theme-chirpy/commit/273b389c512f13693ed6cdf57d256ac21deae97c)) - -## [6.2.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.2.0...v6.2.1) (2023-09-10) - -### Bug Fixes - -* **pwa:** installation failure caused by outdated cache entries ([4da7406](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4da7406dfea112a4a2b1db5615ecf2672be6694f)) - -## [6.2.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.1.0...v6.2.0) (2023-09-10) - -### Features - -* **layout:** center the footer ([41b8f9f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/41b8f9f519e5f5f69e9a123b38b06bade2271a82)) -* **posts:** render heading 4 in TOC ([#1023](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1023)) ([229c2a2](https://github.com/cotes2020/jekyll-theme-chirpy/commit/229c2a2e2b109fc2eca85be548f1dd97234e44c4)) -* **ui:** redesign the pagination button on home page ([62bcd60](https://github.com/cotes2020/jekyll-theme-chirpy/commit/62bcd601fcadc602c81672b1d4b937231396c3c0)) -* **ui:** update the twitter icon ([#1221](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1221)) ([aff7566](https://github.com/cotes2020/jekyll-theme-chirpy/commit/aff75667749769644f990d3dc9b0720c7d96d14d)) - -### Improvements - -* **core:** speed up the Jekyll build times ([#1163](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1163)) ([0d4103d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/0d4103d47bc9cff93918bb09a2957737cc3c9fe0)) -* refactor using semantic HTML ([#1207](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1207)) ([505e314](https://github.com/cotes2020/jekyll-theme-chirpy/commit/505e314a3142c332e39365fbe2dac23df1bf0abe)), closes [#1196](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1196) -* **ui:** improve code snippet design ([4f86b04](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4f86b04a8487ebbf4a6d0d70b0c3ece79e9269f3)) -* **ui:** improve web accessibility ([#447](https://github.com/cotes2020/jekyll-theme-chirpy/issues/447)) ([37c9764](https://github.com/cotes2020/jekyll-theme-chirpy/commit/37c976499ead51c1d88e8e8213366240a72adebc)) - -## [6.1.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.0.0...v6.1.0) (2023-07-02) - -### Features - -* **i18n:** add Thai locale file ([#1087](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1087)) ([a60e907](https://github.com/cotes2020/jekyll-theme-chirpy/commit/a60e90791d24811caff78e21c71dc85d6a729438)) - -### Bug Fixes - -* missing xml escape for `alt` of preview image ([#1113](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1113)) ([8b0fbf5](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8b0fbf5a834276f273274e4d614edd71e339cbb0)) -* the cached image is covered by shimmer ([#1100](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1100)) ([df8ff54](https://github.com/cotes2020/jekyll-theme-chirpy/commit/df8ff546ec1c8d21a3d25e0124665001fcf756f3)) -* **ui:** min-height of `page` layout exceeds the mobile screen ([73af591](https://github.com/cotes2020/jekyll-theme-chirpy/commit/73af59194ab935d38b89d298fea0e96e13be7cb7)) -* **webfont:** resume semi-bold of font family `Source Sans Pro` ([c4da99c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/c4da99c7ea5d6e32b1f1b815d7d8d6ae7b0f55de)) - -### Improvements - -* **build:** use `jekyll-include-cache` plugin to reduce build time ([#1098](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1098)) ([4fe145e](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4fe145e9809ee1b370d9891135939534751462d0)), closes [#1094](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1094) -* CJK characters of the "Search Cancel" button will wrap ([#1105](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1105)) ([b6d1992](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b6d1992f85ec543220e826087dcc89870e7e2c00)) -* **ui:** avoid blank space at the bottom of the homepage preview image ([ce2f6f5](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ce2f6f5abef7a8b874e08d1f18c1fd002650dbf1)) -* **ui:** improve hover color of sidebar nav items in light mode ([728094d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/728094d1ba67a1e7c0a11e1c6c69bf87af9a767b)) - -## [6.0.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.0.0...v6.0.1) (2023-05-19) - -### Bug Fixes - -* **home:** preview image missing `[alt]` and `img_path` ([#1044](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1044)) ([aba9468](https://github.com/cotes2020/jekyll-theme-chirpy/commit/aba9468b5332802db961166889d4c4a84e404a2c)) -* **layout:** restore the margin bottom of the main area ([#1047](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1047)) ([eb40f51](https://github.com/cotes2020/jekyll-theme-chirpy/commit/eb40f51c84b011a7c301279527f544ad27efd5eb)) -* **post, page:** image link loses shimmer effect ([#1046](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1046)) ([3bd881d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/3bd881da70d685d10659f47bfe0e79cd02e7af92)) -* **typography:** long string for update-list is not truncated ([#1050](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1050)) ([a51d31c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/a51d31c55a37fbe034f0b0f699f4df0b6a14ba8f)), closes [#1049](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1049) - -## [6.0.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.6.1...v6.0.0) (2023-05-16) - -### ⚠ BREAKING CHANGES - -* rename assets origin configuration files - -### Features - -* add a hook to insert custom metadata in `head` tag ([#1015](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1015)) ([fe20341](https://github.com/cotes2020/jekyll-theme-chirpy/commit/fe203417d993508eedf5b9044fe53c4a566e44f9)) -* **i18n:** add sl-SI.yml with slovenian translations ([#989](https://github.com/cotes2020/jekyll-theme-chirpy/issues/989)) ([42a700a](https://github.com/cotes2020/jekyll-theme-chirpy/commit/42a700aa37889faa32d7ec1f6776ce4b9d845dc4)) -* **i18n:** add Traditional Chinese (Taiwan) localization file ([#961](https://github.com/cotes2020/jekyll-theme-chirpy/issues/961)) ([d97f95f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/d97f95fca0bcd450ea50709ffba0217f7e65d339)) -* **i18n:** added Swedish localization file ([#969](https://github.com/cotes2020/jekyll-theme-chirpy/issues/969)) ([fe70479](https://github.com/cotes2020/jekyll-theme-chirpy/commit/fe7047959e3694c6e603e764ded30dacd49e6aa9)) -* support hiding the modification date of a post ([#1020](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1020)) ([8da583d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8da583d403456f6460ec1a6ebcbb0c2ca8127ff6)) -* **ui:** improve code snippet design ([6d99f5c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/6d99f5cc36a69e5ccff51f81ba448c798d92e12e)) -* **ui:** improve the design for top bar ([83f1c34](https://github.com/cotes2020/jekyll-theme-chirpy/commit/83f1c34f92d85f3953ca9c9818be5399962bf1c9)) -* **ui:** new design footer content layout ([3210c59](https://github.com/cotes2020/jekyll-theme-chirpy/commit/3210c59466150dc04b4e4bdfc1ffd0e38adcff43)) -* **ui:** redesign the sidebar ([83bbe4a](https://github.com/cotes2020/jekyll-theme-chirpy/commit/83bbe4ac939edfd1706e68c080562e3462f83519)) -* **ui:** show preview image in home page ([97b8dfe](https://github.com/cotes2020/jekyll-theme-chirpy/commit/97b8dfeed6ce7677f6472e28dc3b03f3c2968b12)) - -### Bug Fixes - -* parameter parsing error in image URL ([#1022](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1022)) ([ee88cec](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ee88cec270ea5938f98913a3edf28a684cfbd6c0)) -* **rss:** double quotes in the post title will break the XML structure ([#965](https://github.com/cotes2020/jekyll-theme-chirpy/issues/965)) ([1719d81](https://github.com/cotes2020/jekyll-theme-chirpy/commit/1719d81d00b32b107c35b3903089be84a9b28a6c)) - -### refactor - -* rename assets origin configuration files ([c283e77](https://github.com/cotes2020/jekyll-theme-chirpy/commit/c283e7782fa9562d82d9855fd280a573fd58c75f)) - -### Improvements - -* **assets:** reduce HTTP requests to CDN ([9d97120](https://github.com/cotes2020/jekyll-theme-chirpy/commit/9d971201978e993a9af337d9cd5396a1ea225f00)) -* calculate heading font size dynamically ([#983](https://github.com/cotes2020/jekyll-theme-chirpy/issues/983)) ([52f5ee9](https://github.com/cotes2020/jekyll-theme-chirpy/commit/52f5ee9cd3f92a6e8f25eaa203831546cda85db6)) -* **i18n:** set the global default locales to "en" ([#979](https://github.com/cotes2020/jekyll-theme-chirpy/issues/979)) ([61fdbcb](https://github.com/cotes2020/jekyll-theme-chirpy/commit/61fdbcb83a3601ecae62ec230602b94a5eb832e1)) -* **tools:** avoid initialization interruption in single branch forks ([#992](https://github.com/cotes2020/jekyll-theme-chirpy/issues/992)) ([e90461a](https://github.com/cotes2020/jekyll-theme-chirpy/commit/e90461aa3c81633863db6a12c5924ddba33bd08e)) -* **ui:** improve categories color in dark mode ([414dd13](https://github.com/cotes2020/jekyll-theme-chirpy/commit/414dd132aed70f4bd96cb712d00eacc82d2753e9)) -* **ui:** improve hover effect for post preview cards ([7626e4d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/7626e4d00544346a46b6e5ff2f3a99d234defe09)) -* **ui:** improve hover effect of trending tags ([34499f0](https://github.com/cotes2020/jekyll-theme-chirpy/commit/34499f0c927ce8fea3705dc2f0f0e6805cabda43)) -* **ui:** improve inline code in light mode ([e38309f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/e38309f3bd1302ffe60b682136b6efaf96f4d9ae)) -* **ui:** improve related posts design ([2918da9](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2918da9f29465618d557c082ff3a2f23d7519049)) -* **ui:** improve the color of prompts in dark mode ([8cbbcfa](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8cbbcfa26da0addd88affada23a65770250f2404)) -* **ui:** lighten the link color in light-mode ([7c23a4e](https://github.com/cotes2020/jekyll-theme-chirpy/commit/7c23a4ebc53b9e231c214e04f8ac0803cbcdb720)) -* **ui:** mute the marker in lists ([0c80552](https://github.com/cotes2020/jekyll-theme-chirpy/commit/0c80552d772b874e2a161f1270294faa3af18d4a)) -* **ui:** uniform the muted text color ([aadf939](https://github.com/cotes2020/jekyll-theme-chirpy/commit/aadf9393d5c7f7528d453c4e68eba4f5cbb85bd9)) -* **ux:** improve LQIP fade in effect ([003e7b6](https://github.com/cotes2020/jekyll-theme-chirpy/commit/003e7b60c93988a7bfae4c03a8346d4f8a5f0bb6)) - -## [5.6.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.6.0...v5.6.1) (2023-03-30) - -### Bug Fixes - -* **deps:** `tocbot` has no initialization detection ([#957](https://github.com/cotes2020/jekyll-theme-chirpy/issues/957)) ([8225174](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8225174cb5e02fda7b3cc548ec821c876b0a5139)) -* mode-toggle leads to Disqus loading failure ([#945](https://github.com/cotes2020/jekyll-theme-chirpy/issues/945)) ([6fec411](https://github.com/cotes2020/jekyll-theme-chirpy/commit/6fec411c18ca5689c467c7b216ddeda02df23623)) -* pageviews not updated immediately ([8b4f99c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8b4f99c87f9a9227f47e84fb39d7b0f551d6f4dd)) - -## [5.6.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.5.2...v5.6.0) (2023-03-17) - -### Features - -* change TOC plugin to `tocbot` ([#774](https://github.com/cotes2020/jekyll-theme-chirpy/issues/774)) ([02b7bd5](https://github.com/cotes2020/jekyll-theme-chirpy/commit/02b7bd5095a2affe5b4c5ed7b5b182baaf642ff3)) -* **i18n:** add Greek Language Support. ([#903](https://github.com/cotes2020/jekyll-theme-chirpy/issues/903)) ([712a9b2](https://github.com/cotes2020/jekyll-theme-chirpy/commit/712a9b22401ce591cf4c0bb03fbdd1693fee30bb)) -* **ux:** turn home page posts into clickable cards ([#895](https://github.com/cotes2020/jekyll-theme-chirpy/issues/895)) ([b85f633](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b85f6330dea666350631c4461b742cdb54c5f052)) - -### Bug Fixes - -* css selector string escaping vulnerability ([#888](https://github.com/cotes2020/jekyll-theme-chirpy/issues/888)) ([5c6ec9d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5c6ec9d06b6571e2c0efe6652078442dca8af477)) -* mathematics cannot scroll horizontally ([#760](https://github.com/cotes2020/jekyll-theme-chirpy/issues/760)) ([4681df7](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4681df715118a37ae1e91b588de0adb67f4e331a)) -* notch status bar doesn't match theme color ([#918](https://github.com/cotes2020/jekyll-theme-chirpy/issues/918)) ([820ba62](https://github.com/cotes2020/jekyll-theme-chirpy/commit/820ba62e9e939090523a7077d01d01bd78ec84eb)) -* some console snippets will be incompletely copied ([e8e4901](https://github.com/cotes2020/jekyll-theme-chirpy/commit/e8e4901e340dd7e5fc5f656dd3c7bcd6c97b886a)) - -## [5.5.2](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.5.1...v5.5.2) (2023-01-30) - -### Bug Fixes - -* position of prompt icon is incorrect in paragraph on mobile ([5df953f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5df953f6c877e2aa3f1f4981c97a0b8007abe6d4)) - -## [5.5.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.5.0...v5.5.1) (2023-01-29) - -### Bug Fixes - -* the icon position of the prompts in the list is incorrect ([0c9558d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/0c9558de8a01e9ab795778f351a8bbf4d6b21763)) - -## [5.5.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.4.0...v5.5.0) (2023-01-29) - -### Features - -* **i18n:** add Arabic translation ([#857](https://github.com/cotes2020/jekyll-theme-chirpy/issues/857)) ([765af53](https://github.com/cotes2020/jekyll-theme-chirpy/commit/765af53b77e5c63804784d5728f5970ae274c2c7)) -* **i18n:** add Czech language ([#833](https://github.com/cotes2020/jekyll-theme-chirpy/issues/833)) ([98d48f5](https://github.com/cotes2020/jekyll-theme-chirpy/commit/98d48f5da412276d4a0c99cd01a87b19349bc6bc)) -* **i18n:** add Finnish translations ([#843](https://github.com/cotes2020/jekyll-theme-chirpy/issues/843)) ([d6d0318](https://github.com/cotes2020/jekyll-theme-chirpy/commit/d6d03183eaf94b44e037cc48b6e1c47cee183f6e)) -* **i18n:** add Italian translation ([#850](https://github.com/cotes2020/jekyll-theme-chirpy/issues/850)) ([9a011e1](https://github.com/cotes2020/jekyll-theme-chirpy/commit/9a011e14d66195d8b2fb9ec62f3e60a3e56cd032)) - -### Bug Fixes - -* copy command line incomplete(`.gp` part) ([41ed331](https://github.com/cotes2020/jekyll-theme-chirpy/commit/41ed33145639415148aec8e85edc7a6fd0de0ca3)) -* correct encoding of spaces in share URLs ([#835](https://github.com/cotes2020/jekyll-theme-chirpy/issues/835)) ([f2d2858](https://github.com/cotes2020/jekyll-theme-chirpy/commit/f2d285844e6e2979f2b0eec1d20073d3c05b6c0c)) -* post's image would cover the PWA update alert ([bd374dd](https://github.com/cotes2020/jekyll-theme-chirpy/commit/bd374dd383c50f89c8f018ecb4e25772eeb8f6d8)) -* prompt with nested blockquotes renders incorrectly ([#846](https://github.com/cotes2020/jekyll-theme-chirpy/issues/846)) ([babb4a0](https://github.com/cotes2020/jekyll-theme-chirpy/commit/babb4a0c5a58ceb2e4093bc465670accdd526c18)) - -## [5.4.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.3.2...v5.4.0) (2022-12-27) - -### Features - -* add `rel="me"` to Mastodon sidebar contact links for verification ([#807](https://github.com/cotes2020/jekyll-theme-chirpy/issues/807)) ([d2190c7](https://github.com/cotes2020/jekyll-theme-chirpy/commit/d2190c726f61c8c9732b88b4aecf699dc8bc7deb)) -* add embed video support ([ed6dc53](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ed6dc539eff7003a3765bcd8c31ae5e91a863d65)) -* add shimmer background when image loads ([ab16fdc](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ab16fdc7fc26811130b98a1773beb62bff6182e8)) -* set preview image ratio to 1.91 : 1 ([4b6ccbc](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4b6ccbcbccce27b9fcb035812efefe4eb69301cf)) -* support dark and light mode images ([#481](https://github.com/cotes2020/jekyll-theme-chirpy/issues/481)) ([9306c7b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/9306c7b39ecf9d9146bc1a25eebedc38eb2c3dd6)) -* support LQIP for images ([bffaf63](https://github.com/cotes2020/jekyll-theme-chirpy/commit/bffaf6374f265cec96ef743d42b46fbec3b59797)) - -### Bug Fixes - -* `hreflang` tag attribute of feed misses `site.alt_lang` ([7651d28](https://github.com/cotes2020/jekyll-theme-chirpy/commit/7651d2851b4bb7d8f0d068b62c036c89a1089bbc)) -* `og:image` will be incorrect if the image uses a cross-domain URL ([8de1abd](https://github.com/cotes2020/jekyll-theme-chirpy/commit/8de1abda6be3633982392178731431b0ddb1b52b)) -* refactoring error when the image URL contains parameters ([ec98f07](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ec98f07aca0b80a9c07fbcdc8e0d7d66dba98ed2)) -* spaces in post title are encoded when sharing ([7efd2f8](https://github.com/cotes2020/jekyll-theme-chirpy/commit/7efd2f8aa2ea1c3aeb7d740bf9a018881c26fe65)) - -### Improvements - -* **cdn:** optimize cache policy for static assets ([7fb0ee0](https://github.com/cotes2020/jekyll-theme-chirpy/commit/7fb0ee0bedb63eee3f90a49c6d7fb8b5d78c9830)) - -## [5.3.2](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.3.1...v5.3.2) (2022-11-22) - -### Bug Fixes - -* `mermaid` occasionally fails to initialize ([#536](https://github.com/cotes2020/jekyll-theme-chirpy/issues/536)) ([48f14e3](https://github.com/cotes2020/jekyll-theme-chirpy/commit/48f14e39ac81bbfb3b9913ea3ee789d775b2d1ae)) -* **comment:** disqus doesn't follow theme mode switching ([b0d5956](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b0d5956f5a0ed894984d6b1754efeba04d8bc966)) -* restore full-text search ([#741](https://github.com/cotes2020/jekyll-theme-chirpy/issues/741)) ([6774e0e](https://github.com/cotes2020/jekyll-theme-chirpy/commit/6774e0e1fb37cf467b14be481347412713763f05)) -* the image URL in the SEO-related tags is incomplete ([#754](https://github.com/cotes2020/jekyll-theme-chirpy/issues/754)) ([f6e9a3f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/f6e9a3fccf7ab34db71f8aefaf86fdcc05861076)) - -## [5.3.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.3.0...v5.3.1) (2022-10-25) - -### Bug Fixes - -* 404 page missing title in tablet/desktop view ([5511b28](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5511b2883fd5a395fddfb642588d00c122f18da7)) -* prompt content overflows horizontally ([#705](https://github.com/cotes2020/jekyll-theme-chirpy/issues/705)) ([fb13e32](https://github.com/cotes2020/jekyll-theme-chirpy/commit/fb13e3219b5eca0d2e4f86a1ecabfab75240369f)) -* **tools:** multiple configuration files will fail the test ([80cb0b3](https://github.com/cotes2020/jekyll-theme-chirpy/commit/80cb0b371754e96772a7907877a8ce196398ba3d)) - -### Improvements - -* **layout:** improve the min-height of main content ([#674](https://github.com/cotes2020/jekyll-theme-chirpy/issues/674)) ([49bb93c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/49bb93cc0c89ad9cfaad5edcf9cb28c3d5134575)) -* modify checkbox icon with `Liquid` ([1fd665b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/1fd665bf4990c26ae23635c511c5abc9640184d1)) -* optimize the extra padding in lists ([#703](https://github.com/cotes2020/jekyll-theme-chirpy/issues/703)) ([39da11e](https://github.com/cotes2020/jekyll-theme-chirpy/commit/39da11e3f3685f49321757576d2b87a48bf25db5)), closes [#702](https://github.com/cotes2020/jekyll-theme-chirpy/issues/702) -* **posts:** improve core block bottom padding ([d2fb98b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/d2fb98b3e57f2f6c3fc3816551cd0721731adf40)) -* truncate post content for search results ([647eea8](https://github.com/cotes2020/jekyll-theme-chirpy/commit/647eea8dbd716f9d3cb8330c3139fa753903f51d)) -* **typography:** optimize the line height of post content ([eac3f9b](https://github.com/cotes2020/jekyll-theme-chirpy/commit/eac3f9b434ca77e3dc64eea9cedea7b93e7b306b)) - -### Others - -* **giscus:** add `reactions-enabled` option ([#712](https://github.com/cotes2020/jekyll-theme-chirpy/issues/712)) ([70662a0](https://github.com/cotes2020/jekyll-theme-chirpy/commit/70662a0365e6b9378602dc0a57462ddad5aebcf5)) -* **locale:** restore options for changing date format ([#716](https://github.com/cotes2020/jekyll-theme-chirpy/issues/716)) ([f904e8c](https://github.com/cotes2020/jekyll-theme-chirpy/commit/f904e8cd48c343cc31e25859d9d50bfe2c056f41)) -* remove site config option `prefer_datetime_locale` ([6852ceb](https://github.com/cotes2020/jekyll-theme-chirpy/commit/6852ceb280927ff4e753a3e1131f2b396d9807d0)) - -## [5.3.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.2.1...v5.3.0) (2022-09-23) - -### Features - -* add multiple authors to a post ([#677](https://github.com/cotes2020/jekyll-theme-chirpy/issues/677)) ([f1d9e99](https://github.com/cotes2020/jekyll-theme-chirpy/commit/f1d9e99bc02d3cd0a6b0cd1beac545f0cc7a24f8)), closes [#675](https://github.com/cotes2020/jekyll-theme-chirpy/issues/675) -* **i18n:** add Bulgarian support ([#612](https://github.com/cotes2020/jekyll-theme-chirpy/issues/612)) ([2fed338](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2fed338ce6d078bf528c9717201fbc475f88cd22)) -* **i18n:** add German locale file ([#663](https://github.com/cotes2020/jekyll-theme-chirpy/issues/663)) ([940b281](https://github.com/cotes2020/jekyll-theme-chirpy/commit/940b2810e95065e30600ae8d5e4612e7183da60e)) -* **i18n:** add Hungarian locale file ([#597](https://github.com/cotes2020/jekyll-theme-chirpy/issues/597), [#598](https://github.com/cotes2020/jekyll-theme-chirpy/issues/598)) ([b032977](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b0329775fc24d0323e5cc04cda46ece8b4531802)) -* **i18n:** add Turkish language ([#631](https://github.com/cotes2020/jekyll-theme-chirpy/issues/631)) ([ad137fa](https://github.com/cotes2020/jekyll-theme-chirpy/commit/ad137fa2945b1870b9c1dd5e9212a5f4af7c3580)) - -### Bug Fixes - -* add missing color to linkedin icon for share list ([#683](https://github.com/cotes2020/jekyll-theme-chirpy/issues/683)) ([0dcd39d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/0dcd39d491c9c49e4acf7f75f83fe6e1d1839e37)) -* code contains spaces in headings ([#644](https://github.com/cotes2020/jekyll-theme-chirpy/issues/644)) ([3fa1bf3](https://github.com/cotes2020/jekyll-theme-chirpy/commit/3fa1bf305451f645a7f3aa93863b076463c8f165)) -* correct spelling of `panel` ([#686](https://github.com/cotes2020/jekyll-theme-chirpy/issues/686)) ([b288587](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b288587c1c3d113a1c52c2d25fb46cddda348961)) -* correct the i18n for tab titles ([0c5b697](https://github.com/cotes2020/jekyll-theme-chirpy/commit/0c5b697fd3b283b6a5c926742b61ed49d8688c18)) -* the `code` doesn't wrap inside the prompt ([#626](https://github.com/cotes2020/jekyll-theme-chirpy/issues/626)) ([378b65a](https://github.com/cotes2020/jekyll-theme-chirpy/commit/378b65a0617787813519dde74d6f741f255eff3d)) - -## [5.2.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.2.0...v5.2.1) (2022-06-17) - -### Bug Fixes - -* exclude CHANGELOG from output ([971fe03](https://github.com/cotes2020/jekyll-theme-chirpy/commit/971fe03ec329ae49e7d60fe3af6101cfbd1acd6c)) -* **PWA:** sometimes update notification is not triggered ([96af729](https://github.com/cotes2020/jekyll-theme-chirpy/commit/96af7291ea5b2c5ed6372e7b6f7725e67c69f1ba)) - -## [5.2.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v5.1.0...v5.2.0) (2022-06-09) - -### Features - -* add es-ES support to locales ([#533](https://github.com/cotes2020/jekyll-theme-chirpy/issues/533)) ([efe75ad](https://github.com/cotes2020/jekyll-theme-chirpy/commit/efe75adf2784956afb7a0b67f6634b146d9cb03b)) -* add fr-FR support to locales ([#582](https://github.com/cotes2020/jekyll-theme-chirpy/issues/582)) ([94e8144](https://github.com/cotes2020/jekyll-theme-chirpy/commit/94e81447afa457b1a6b7e8f487c47502803556d7)) -* add Vietnamese locale ([#517](https://github.com/cotes2020/jekyll-theme-chirpy/issues/517)) ([171463d](https://github.com/cotes2020/jekyll-theme-chirpy/commit/171463d76da9b7bc25dd327b8f0a868ea79e388b)) -* add pt-BR support to locales ([c2c503f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/c2c503f63336884282b6bda4ec0703d6ae76771b)) -* add option to turn off PWA ([#527](https://github.com/cotes2020/jekyll-theme-chirpy/issues/527)) ([106c981](https://github.com/cotes2020/jekyll-theme-chirpy/commit/106c981bac71e7434204a77e1f0c9c61d6eb1509)) -* **PWA:** add Service Worker update notification ([d127183](https://github.com/cotes2020/jekyll-theme-chirpy/commit/d127183b9774f6321e409acdb66bf8a85d8814be)) -* support showing description of preview image ([2bd6efa](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2bd6efa95a174ac44e30a3af1e57e6f40d6e0e3a)) - -### Bug Fixes - -* alt is not a valid attribute for 'a' tag ([58928db](https://github.com/cotes2020/jekyll-theme-chirpy/commit/58928dbc9068db4e4cda4371eeae1865920dce6a)) -* assets URL is missing `baseurl` in self-hosted mode ([#591](https://github.com/cotes2020/jekyll-theme-chirpy/issues/591)) ([54124d5](https://github.com/cotes2020/jekyll-theme-chirpy/commit/54124d5134995fce52e4c2fc0a5d4d1743d6264d)) -* correct the `twitter:creator` of Twitter summary card ([96a16c8](https://github.com/cotes2020/jekyll-theme-chirpy/commit/96a16c868ede51e7dfa412de63ffa1e5a49add7f)) -* correctly URL encode share links ([4c1c8d8](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4c1c8d8b0eacecbbaa2d522bbdd6430f350ff760)), closes [#496](https://github.com/cotes2020/jekyll-theme-chirpy/issues/496) -* follow paginate_path config for pagination ([6900d9f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/6900d9f2bc9380cbda4babf611c6eeff345291af)) -* force checkout of `gh-pages` branch ([#544](https://github.com/cotes2020/jekyll-theme-chirpy/issues/544)) ([5402523](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5402523ae52a3740bcc15df0b226b2612644945d)) -* horizontal scroll for long equations ([#545](https://github.com/cotes2020/jekyll-theme-chirpy/issues/545)) ([30787fc](https://github.com/cotes2020/jekyll-theme-chirpy/commit/30787fc4cf151e955bb7afc26dfd859f1a06fce6)) -* p is not allowed in span ([4f590e2](https://github.com/cotes2020/jekyll-theme-chirpy/commit/4f590e2bba0639751771211bc0d357828ae70404)) -* remove whitespace from avatar URL ([#537](https://github.com/cotes2020/jekyll-theme-chirpy/issues/537)) ([0542b51](https://github.com/cotes2020/jekyll-theme-chirpy/commit/0542b5149c8287dca60e37f46ee36f31b43455e4)) -* resume the preview image SEO tag ([#529](https://github.com/cotes2020/jekyll-theme-chirpy/issues/529)) ([b8d1bcd](https://github.com/cotes2020/jekyll-theme-chirpy/commit/b8d1bcd3dea0abd1afef7ef154a4501fbb18938d)) -* script code should be in head or body, not in between ([2103191](https://github.com/cotes2020/jekyll-theme-chirpy/commit/2103191b2faf714a8e4418c7c347a1f942b51af8)) -* spurious header closing tags ([59e9557](https://github.com/cotes2020/jekyll-theme-chirpy/commit/59e955745f02f9b57c65af70b0979cd4a98bf53f)) -* table bypass refactoring when it contains IAL ([#519](https://github.com/cotes2020/jekyll-theme-chirpy/issues/519)) ([5d85ccb](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5d85ccb9943aac88dbbefebe1c2234cdcbae5c53)) -* **theme mode:** `SCSS` syntax error ([#588](https://github.com/cotes2020/jekyll-theme-chirpy/issues/588)) ([76a1b6a](https://github.com/cotes2020/jekyll-theme-chirpy/commit/76a1b6a068c369138422dcd18ba08ec8cc3749a6)) -* use `jsonify` to generate valid json ([#521](https://github.com/cotes2020/jekyll-theme-chirpy/issues/521)) ([dd9d5a7](https://github.com/cotes2020/jekyll-theme-chirpy/commit/dd9d5a7207b746342d07176d8969dc4f2c380bf2)) -* when the `site.img_cdn` is set to the local path, the preview-image path loses the `baseurl` ([9cefe58](https://github.com/cotes2020/jekyll-theme-chirpy/commit/9cefe58993d9ea3a3a28424e7ffd8e0911567c5c)) - -### Improvements - -* avoid post pageviews from shifting while loading ([135a16f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/135a16f13ee783d9308669ff9a824847a73c951c)) -* avoid the layout shift for post datetime ([6d35f5f](https://github.com/cotes2020/jekyll-theme-chirpy/commit/6d35f5f8da044cfad071628bb53776de03efaae4)) -* **categories:** support singular and plural forms of locale ([#595](https://github.com/cotes2020/jekyll-theme-chirpy/issues/595)) ([35cadf9](https://github.com/cotes2020/jekyll-theme-chirpy/commit/35cadf969dd0161ee62503e242c545f006f7072b)) -* improve the responsive design for ultrawide screens ([#540](https://github.com/cotes2020/jekyll-theme-chirpy/issues/540)) ([5d6e8c5](https://github.com/cotes2020/jekyll-theme-chirpy/commit/5d6e8c5ef6aa71b4d2600c5305f6e8ba540557f7)) diff --git a/docs/CODE_OF_CONDUCT.md b/docs/CODE_OF_CONDUCT.md deleted file mode 100644 index 0bf4a9e..0000000 --- a/docs/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,73 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at `cotes.chung@gmail.com`. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at - -For answers to common questions about this code of conduct, see - - -[homepage]: https://www.contributor-covenant.org diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md deleted file mode 100644 index 63024c3..0000000 --- a/docs/CONTRIBUTING.md +++ /dev/null @@ -1,109 +0,0 @@ -# Contributing Guidelines - -_First of all, thank you for considering contributing to this project_ ! :tada: - -There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug -reports and feature requests, or writing code that can be incorporated into the project. In order to make a good -experience for both contributors and maintainers, please start with the "[General Rules](#general-rules)" -before taking further action. - -## Table of Contents - -- [General Rules](#general-rules) -- [Questions and Requests for Help](#questions-and-requests-for-help) -- [Reporting a Bug](#reporting-a-bug) -- [Suggesting a New Feature](#suggesting-a-new-feature) -- [Contributing Code/Documentation](#contributing-codedocumentation) -- [Helpful Resources](#helpful-resources) - -## General Rules - -All types of contributions (_pull requests_, _issues_, and _discussions_) should follow these rules: - -- You should read through the [Wiki][wiki] to understand the project features and how to use it properly. This is to -respect the time of the project's developers and -maintainers and to save their energy for other problems that really need to be resolved. - -- Use the [latest release version][latest-ver]. If your contribution involves code/documentation changes, update to the -latest version of the default (`master`) branch. - -- Avoid making duplicate contributions by searching for existing [issues][issues] / [discussions][discus] / -[pull requests][pr], but don't leave any unhelpful comments such as "I have the same problem". Prefer using -[reactions][gh-reactions] if you simply want to "+1" an existing issue. - -- DO NOT email or tweet the -project developers and maintainers directly, everything about the project should be left on GitHub. - -**Tip**: If you are new to the open-source community, then please read through -"[How To Ask Questions The Smart Way][ext-reading]" before contributing. - -## Questions and Requests for Help - -We expect every reasonable question you ask to be answered appropriately. If you want a quick and timely response, -please ask questions at [Jekyll Talk][jekyll-talk] and [StackOverflow][stack-overflow], where there are tons of -enthusiastic geeks who will positively answer your challenging questions. - -If you can't get an answer in any of the above ways, then create a new [discussion][discus]. As long as it is not a -duplicate and [RTFM][rtfm] / [STFW][stfw] issue, we will respond as soon as possible. - -## Reporting a Bug - -A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate -a well-written, thorough bug report. - -1. Please figure out why the bug occurred, or locate the module in the project that caused this bug. Otherwise, there is -a high probability that you are using/setting it incorrectly. - -2. If the issue is caused by you modifying the project code or some configuration of Jekyll, then please DO NOT -report such "bugs". -Chirpy is an open-source project, but that doesn't mean we will maintain other specific forks (such as yours). -You can learn about Jekyll and modern Web development to solve problems caused by custom modifications. - -3. Make good use of your browser's incognito mode to troubleshoot if the problem is caused by caching. - -4. As a last option, you can create a new [Bug Report][bug-report] following the template to describe the details. -If possible, providing a demo that reproduces the error will help us troubleshoot faster. - -## Suggesting a New Feature - -Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. -We want to avoid chaos in the UI design and therefore do not accept requests for changes like color schemes, -fontfamilies, typography, and so on. We want to avoid [feature creep][feat-creep] and focus only on the core features. -If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are -welcome to submit a pull request to help! - -## Contributing Code/Documentation - -If your request is about an enhancement, it is recommended to first submit a -[Feature Request][feat-request] to discuss whether your idea fits the project. -See also: "[Suggesting a New Feature](#suggesting-a-new-feature)". Other than that, you can start the PR process. - -1. Fork this project on GitHub and clone your repository locally. -2. Setting up the [development & test environments][dev-env]. -3. Creating a new branch from the default branch and give it a descriptive name (e.g. `add-a-new-feat` or `fix-a-bug`). -When development is complete, create a [Conventional Commit][cc] with Git. -4. Submitting a [Pull Request][gh-pr]. - -## Helpful Resources - -- [Code of conduct](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/CODE_OF_CONDUCT.md) -- [Security policy](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/docs/SECURITY.md) -- [How To Ask Questions The Smart Way][ext-reading] - -[latest-ver]: https://github.com/cotes2020/jekyll-theme-chirpy/releases/latest -[wiki]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki -[issues]: https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue -[pr]: https://github.com/cotes2020/jekyll-theme-chirpy/pulls -[discus]: https://github.com/cotes2020/jekyll-theme-chirpy/discussions -[ext-reading]: http://www.catb.org/~esr/faqs/smart-questions.html -[jekyll-talk]: https://talk.jekyllrb.com/ -[stack-overflow]: https://stackoverflow.com/questions/tagged/jekyll -[rtfm]: https://en.wikipedia.org/wiki/RTFM -[stfw]: https://www.webster-dictionary.org/definition/STFW -[gh-reactions]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/ -[bug-report]: https://github.com/cotes2020/jekyll-theme-chirpy/issues/new?assignees=&labels=&projects=&template=bug_report.yml -[feat-request]: https://github.com/cotes2020/jekyll-theme-chirpy/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.yml -[feat-creep]: https://en.wikipedia.org/wiki/Feature_creep -[dev-env]: https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Development-&-Test-Environments -[cc]: https://www.conventionalcommits.org/ -[gh-pr]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests diff --git a/docs/SECURITY.md b/docs/SECURITY.md deleted file mode 100644 index 8d357fe..0000000 --- a/docs/SECURITY.md +++ /dev/null @@ -1,13 +0,0 @@ -# Security Policy - -## Supported Versions - -| Version | Supported | -| :--------- | :-------: | -| >= `7.0.0` | ✓ | -| <= `6.0.0` | ✗ | - -## Reporting a Vulnerability - -If you find a vulnerability, please report it to `cotes.chung@gmail.com`. -We will try our best to respond within a week. Thank you for your time! diff --git a/_site/assets/.DS_Store b/images/.DS_Store similarity index 80% rename from _site/assets/.DS_Store rename to images/.DS_Store index 893b7fd..5008ddf 100644 Binary files a/_site/assets/.DS_Store and b/images/.DS_Store differ diff --git a/images/audio-sentiment.png b/images/audio-sentiment.png new file mode 100644 index 0000000..32be8c6 Binary files /dev/null and b/images/audio-sentiment.png differ diff --git a/images/choreography.png b/images/choreography.png new file mode 100644 index 0000000..2b870cd Binary files /dev/null and b/images/choreography.png differ diff --git a/images/coronary.png b/images/coronary.png new file mode 100644 index 0000000..4b7b134 Binary files /dev/null and b/images/coronary.png differ diff --git a/images/favicon.ico b/images/favicon.ico new file mode 100644 index 0000000..fd99182 Binary files /dev/null and b/images/favicon.ico differ diff --git a/images/hae-rae.png b/images/hae-rae.png new file mode 100644 index 0000000..f1318a3 Binary files /dev/null and b/images/hae-rae.png differ diff --git a/images/k2-eval.png b/images/k2-eval.png new file mode 100644 index 0000000..71a1261 Binary files /dev/null and b/images/k2-eval.png differ diff --git a/images/kjungwoo.png b/images/kjungwoo.png new file mode 100644 index 0000000..ea341a7 Binary files /dev/null and b/images/kjungwoo.png differ diff --git a/_site/assets/img/kjungwoo.png b/images/kjungwoo2.png similarity index 100% rename from _site/assets/img/kjungwoo.png rename to images/kjungwoo2.png diff --git a/images/next-level.png b/images/next-level.png new file mode 100644 index 0000000..4a16fd2 Binary files /dev/null and b/images/next-level.png differ diff --git a/images/petnow.gif b/images/petnow.gif new file mode 100644 index 0000000..0fc8fc6 Binary files /dev/null and b/images/petnow.gif differ diff --git a/images/petnow.png b/images/petnow.png new file mode 100644 index 0000000..05d40ec Binary files /dev/null and b/images/petnow.png differ diff --git a/images/petnow2.mp4 b/images/petnow2.mp4 new file mode 100644 index 0000000..3ccd96d Binary files /dev/null and b/images/petnow2.mp4 differ diff --git a/images/prompt.png b/images/prompt.png new file mode 100644 index 0000000..3ca0884 Binary files /dev/null and b/images/prompt.png differ diff --git a/images/red-cnn.png b/images/red-cnn.png new file mode 100644 index 0000000..4ec755a Binary files /dev/null and b/images/red-cnn.png differ diff --git a/index.html b/index.html index 1357b08..83ba07b 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,406 @@ ---- -layout: home -# Index page ---- + + + + + + + Jungwoo Kim + + + + + + + + + + +
+ + + + + +
+

Jungwoo Kim

+
+

+ I am an undergraduate student at the School of Integrated Technology, + Yonsei University. Currently, I am working as a research intern at + MCML Group, advised by Prof. + Jong-Seok Lee. +

+

+ In the past, I also worked as a research intern at + Medisys Lab, focusing on medical image + super-resolution and segmentation using deep learning models. I have a broad interest in various research + areas that utilize machine learning and computer vision. +

+

+ Email  /  + CV  /  + Google Scholar  /  + LinkedIn  /  + Github +

+
+

+ Open to any collaboration opportunities across related research topics! +

+
+ + profile photo + +
+ + + + + + +
+

Education

+

+ Yonsei University, Seoul, Republic of Korea
+ B.S. in School of Integrated Technology (GPA: 3.96 / 4.30)
+ Mar. 2022 – Feb. 2025 (Expected)
+ * One year early graduation. +

+
+ + + + + + +
+

Research Interests

+

+ My primary research goal is to fully understand how deep learning models work and to fully utilize them in various research areas, especially in computer vision. + So My primary research interest just lies in various topics about machine learning and computer vision, covering my goal.

+ Currently, I'm interested in Explainable AI, Generative Models, Efficient Machine Learning, etc. In the past, I have also studied Graph Neural Network (GNN), Reinforcement Learning (RL) and Natural Language Processing (NLP), especially about evaluating the performance of large language models. +

+
+ + + + + + +
+

Publications

+ + + + + + + + + +
+ HAE-RAE Bench + + + HAE-RAE Bench: Evaluation of Korean Knowledge in Language Models + +
+ Guijin Son, + Hanwool Lee, + Suwan Kim, Huiseo Kim, Jaecheol Lee, + Je Won Yeom, + Jihyu Jung, + Jungwoo Kim, Songseong Kim +
+ Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024) +

+ HAE-RAE Bench evaluates large language models' understanding of Korean culture, offering a challenge beyond traditional English-based benchmarks. +

+

+ Our Dataset is available at HAERAE-HUB. +

+
+ K2-EVAL + + + K2-EVAL: Harnessing the Evaluation of Linguistic Fluency and Ethnolinguistic Knowledge in Korean + +
+ Guijin Son, Hyunwoo Ko, Hoyoung Lee, Seunghyeok Hong, Yewon Kim, Jungwoo Kim +
+ ACL 2024 Workshop, The 2nd Workshop on Cross-Cultural Considerations in NLP (C3NLP 2024) +

+ K2-EVAL introduces a benchmark with 90 handwritten instructions that test knowledge of Korean language and culture, including 5400 human annotations to evaluate 32 LLMs. It also examines if GPT-4 can replace human evaluations. +

+
+
+ + + + + + +
+

Projects

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 3D Length Estimation with Dog Data + + + 3D Length Estimation with Dog Data + +

+ This work is part of 24-2 Yonsei DSL Corporate Project with PetNow. +

+

+ Improving a dog body length estimation model. Based on pose estimation and depth estimation models, we improve 2d-to-3d transformation with camera intrinsic parameters. Also, we utilize 3D Reconstruction-based method for length estimation. +

+

+ Due to security issues, the materials cannot be disclosed. Please contact me if needed. +

+
+ Audio Sentiment Classification + + + Group Choreography Data Crawling Framework + +

+ This work, NextLevel2: Neural Extraction and Tracking Framework for K-POP Group Choreography is part of 24-2 Yonsei DSL Modeling Project. +

+

+ We focus on the research gap that existing group choreography dataset collection methods require manual intervention, and propse a fully-automatic data collection framework. + This approach is expected to contribute to the scalability of group choreography dataset creation. +

+

+ Our presentation video is available here. Code and Github will be fully released soon. +

+
+ Audio Sentiment Classification + + + Audio Sentiment Classification + +

+ This work is part of 24-1 Yonsei DSL Corporate Project with WesomE. +

+

+ Developed a lightweight model (under 500MB) for recognizing emotions from speaker's voice data, focusing on feature augmentation through analyzing high-frequency details of Fast Fourier Transform. +

+

+ Due to security issues, the materials cannot be disclosed. Please contact me if needed. +

+
+ Prompt Engineering + + Prompt Engineering in Image Generation Model +

+ This work, InferPrompt: Reframing Prompt Engineering with BLIP-2, is part of 24-1 Yonsei DSL Modeling Project. +

+

+ Prompt engineering in text-to-image generation model. We tried to improve the quality of generated image, by style transferring the inferred prompt. By adding re-questioning block, we could improve the detail quality of generated image. +

+ Our presentation video is available here. Code and Github will be released soon. +

+
+ Prompt Engineering + + NextLevel: A Choreography Generation Model with Lyric Understanding +

+ This work is part of 23-2 Software Project (IIT4204) with Jaeho Jin, Sangjoon Yeo, and advised by Prof. JeongGil Ko. +

+

+ We tried to represent lyrics into group choreography generation model. By incorporating text embedding into previous model, we could generate lyric-aware dance motions. +

+

+ Our materials aren't disclosed now. Please contact me if needed. +

+
+ Medical Image Super Resolution + + + Medical Image Super Resolution + +

+ Implementation of Low-Dose CT with a Residual Encoder-Decoder Convolutional Neural Network. This work is a part of the project in Medisys Lab, advised by Prof. Jongduk Baek. +

+

+ The research focus on enhancing low-dose CT images by super-resolving them to match the quality of normal-dose images. Additionally, as a follow-up study, we replaced the original architecture with a U-Net model to further evaluate the effectiveness in preserving image details. +

+
+ Acute Coronary Syndrome Detection + + + Acute Coronary Syndrome Detection on Wearable Device + +

+ Won an Award for Excellence at the 2023 Yonsei Medical Convergence Challenge (with ChangeDae Lee, Hyelim Kim, YoungJun Na) +

+

+ Developed a ResNet-based deep learning model for diagnosing acute coronary syndrome using wearable devices, focusing on detecting the condition using ECG signals from a limited number of leads, optimized for real-world application on wearable platforms. +

+

+ Our presentation template is available here. +

+
+
+ + + + + + + +
+

Honors and Awards

+

+ Excellence Award, 2023 Yonsei Medical Convergence Challenge
+ Yonsei Medical Convergence Challenge (2023.01.30. ~ 2023.01.31.) held by The Medical Scientist Training Program(Undergraduate Course) +

+

+ Multiple Academic Scholarships
+ Detailed information about specific scholarships can be found here. +

+
+ + + + + + + +
+

Academic Services

+

+ TBD +

+
+ + + + + + + +
+

Talks

+

+ Normalizing Flow and Energy Based Model
+ 24-2 Regular Session Speech in Yonsei DSL (video available here) - Sep 03, 2024
+

+

+ Mamba Review: Linear-Time Sequence Modeling with Selective State Spaces
+ 24-2 Regular Session Speech in Yonsei DSL (video available here) - Aug 22, 2024
+

+

+ Life as a Undergraduate Student in Engineering Field
+ (Invited) Yeungnam High School, Daegu, Republic of Korea - Mar 16, 2024
+

+
+ + + + + + + +
+

Teaching Experiences

+

+ Computational Thinking and SW Programming (YCS1001)
+ Winter 2024, Fall 2024, Summer 2024, Spring 2024, Spring 2023
+

+

+ Mechatronics Project (IIT4312)*
+ Spring 2024
+ * Via tutoring program hosted by Yonsei University. +

+
+ + + + + + + +
+

Miscellanea

+

+ Yonsei Data ScienceLab
+ 11th Regular Member (Dec. 2023 - Dec. 2024)
+ Head of Academic Team (Jun. 2024 - Dec. 2024)
+ Yonsei Data Science Lab (DSL) is a student community under the Department of Applied Statistics at Yonsei University, advised by Prof. Taeyoung Park. + Yonsei DSL focus on studying and applying various theories related to Data Science and Machine Learning, based on a statistical theory. +

+ +

+ ElutherAI
+ Project Member (Sep. 2023 - Nov. 2023)
+ Eluther AI is a non-profit AI research lab founded in 2020. ElutherAI focuses on the interpretability and alignment of Large Language Models. +

+ +

+ Yonsei Computer Club
+ Regular Member (Sep. 2022 - Now)
+ Member of Friendship Team (Jul. 2024 - Now)
+ Yonsei Computer Club (YCC), founded in 1970, is the only central computer club at Yonsei University. YCC brings together students with a shared interest in computers and supports a variety of activities. + +

+

+ Yonsei Engineering Student Council
+ Executive Member (Apr. 2022 - Nov. 2023)
+ Freshman Vice Representative (Mar. 2022 - Feb. 2023)
+

+
+ + + + + + + +
+

+ Last updated on Dec 16, 2024.

+ © 2024 Jungwoo Kim. All rights reserved. Design and source code adapted from + Jon Barron's website. +

+
+ +
+ + diff --git a/jekyll-theme-chirpy.gemspec b/jekyll-theme-chirpy.gemspec deleted file mode 100644 index e3ad5d6..0000000 --- a/jekyll-theme-chirpy.gemspec +++ /dev/null @@ -1,36 +0,0 @@ -# frozen_string_literal: true - -Gem::Specification.new do |spec| - spec.name = "jekyll-theme-chirpy" - spec.version = "7.2.4" - spec.authors = ["Cotes Chung"] - spec.email = ["cotes.chung@gmail.com"] - - spec.summary = "A minimal, responsive, and feature-rich Jekyll theme for technical writing." - spec.homepage = "https://github.com/cotes2020/jekyll-theme-chirpy" - spec.license = "MIT" - - spec.files = `git ls-files -z`.split("\x0").select { |f| - f.match(%r!^((_(includes|layouts|sass|(data\/(locales|origin)))|assets)\/|README|LICENSE)!i) - } - - spec.metadata = { - "bug_tracker_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy/issues", - "documentation_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy/#readme", - "homepage_uri" => "https://cotes2020.github.io/chirpy-demo", - "source_code_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy", - "wiki_uri" => "https://github.com/cotes2020/jekyll-theme-chirpy/wiki", - "plugin_type" => "theme" - } - - spec.required_ruby_version = "~> 3.1" - - spec.add_runtime_dependency "jekyll", "~> 4.3" - spec.add_runtime_dependency "jekyll-paginate", "~> 1.1" - spec.add_runtime_dependency "jekyll-redirect-from", "~> 0.16" - spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.8" - spec.add_runtime_dependency "jekyll-archives", "~> 2.2" - spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4" - spec.add_runtime_dependency "jekyll-include-cache", "~> 0.2" - -end diff --git a/package.json b/package.json deleted file mode 100644 index 3fc089c..0000000 --- a/package.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "name": "jekyll-theme-chirpy", - "version": "7.2.4", - "description": "A minimal, responsive, and feature-rich Jekyll theme for technical writing.", - "repository": { - "type": "git", - "url": "git+https://github.com/cotes2020/jekyll-theme-chirpy.git" - }, - "author": "Cotes Chung", - "license": "MIT", - "since": 2019, - "bugs": { - "url": "https://github.com/cotes2020/jekyll-theme-chirpy/issues" - }, - "homepage": "https://github.com/cotes2020/jekyll-theme-chirpy/", - "scripts": { - "build": "concurrently npm:build:*", - "build:css": "node purgecss.js", - "build:js": "rollup -c --bundleConfigAsCjs --environment BUILD:production", - "watch:js": "rollup -c --bundleConfigAsCjs -w", - "lint:scss": "stylelint _sass/**/*.scss", - "lint:fix:scss": "npm run lint:scss -- --fix", - "test": "npm run lint:scss", - "prepare": "husky" - }, - "dependencies": { - "@popperjs/core": "^2.11.8", - "bootstrap": "^5.3.3" - }, - "devDependencies": { - "@babel/core": "^7.26.0", - "@babel/plugin-transform-class-properties": "^7.25.9", - "@babel/plugin-transform-private-methods": "^7.25.9", - "@babel/preset-env": "^7.26.0", - "@commitlint/cli": "^19.6.0", - "@commitlint/config-conventional": "^19.6.0", - "@rollup/plugin-babel": "^6.0.4", - "@rollup/plugin-node-resolve": "^15.3.0", - "@rollup/plugin-terser": "^0.4.4", - "@semantic-release/changelog": "^6.0.3", - "@semantic-release/exec": "^6.0.3", - "@semantic-release/git": "^10.0.1", - "concurrently": "^9.1.0", - "conventional-changelog-conventionalcommits": "^8.0.0", - "husky": "^9.1.7", - "purgecss": "^7.0.2", - "rollup": "^4.27.4", - "semantic-release": "^24.2.0", - "stylelint": "^16.10.0", - "stylelint-config-standard-scss": "^13.1.0" - }, - "prettier": { - "trailingComma": "none" - }, - "browserslist": [ - "last 2 versions", - "> 0.2%", - "not dead" - ], - "commitlint": { - "extends": [ - "@commitlint/config-conventional" - ], - "rules": { - "body-max-line-length": [ - 0, - "always" - ] - } - }, - "release": { - "branches": [ - "production" - ], - "plugins": [ - [ - "@semantic-release/commit-analyzer", - { - "preset": "conventionalcommits" - } - ], - [ - "@semantic-release/release-notes-generator", - { - "preset": "conventionalcommits", - "presetConfig": { - "types": [ - { - "type": "feat", - "section": "Features" - }, - { - "type": "fix", - "section": "Bug Fixes" - }, - { - "type": "perf", - "section": "Improvements" - }, - { - "type": "refactor", - "section": "Changes", - "hidden": true - } - ] - } - } - ], - [ - "@semantic-release/changelog", - { - "changelogFile": "docs/CHANGELOG.md", - "changelogTitle": "# Changelog" - } - ], - [ - "@semantic-release/npm", - { - "npmPublish": false - } - ], - [ - "@semantic-release/exec", - { - "prepareCmd": "bash tools/release.sh --prepare", - "publishCmd": "bash tools/release.sh" - } - ], - [ - "@semantic-release/git", - { - "assets": [ - "docs", - "package.json", - "*.gemspec" - ], - "message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}" - } - ], - "@semantic-release/github" - ] - } -} diff --git a/purgecss.js b/purgecss.js deleted file mode 100644 index ad42db2..0000000 --- a/purgecss.js +++ /dev/null @@ -1,30 +0,0 @@ -const fs = require('fs').promises; -const { PurgeCSS } = require('purgecss'); -const DIST_PATH = '_sass/vendors'; -const output = `${DIST_PATH}/_bootstrap.scss`; - -const config = { - content: ['_includes/**/*.html', '_layouts/**/*.html', '_javascript/**/*.js'], - css: ['node_modules/bootstrap/dist/css/bootstrap.min.css'], - keyframes: true, - variables: true, - // The `safelist` should be changed appropriately for future development - safelist: { - standard: [/^collaps/, /^w-/, 'shadow', 'border', 'kbd'], - greedy: [/^col-/, /tooltip/] - } -}; - -function main() { - fs.rm(DIST_PATH, { recursive: true, force: true }) - .then(() => fs.mkdir(DIST_PATH)) - .then(() => new PurgeCSS().purge(config)) - .then((result) => { - return fs.writeFile(output, result[0].css); - }) - .catch((err) => { - console.error('Error during PurgeCSS process:', err); - }); -} - -main(); diff --git a/rollup.config.js b/rollup.config.js deleted file mode 100644 index 0e8a6c7..0000000 --- a/rollup.config.js +++ /dev/null @@ -1,86 +0,0 @@ -import babel from '@rollup/plugin-babel'; -import terser from '@rollup/plugin-terser'; -import { nodeResolve } from '@rollup/plugin-node-resolve'; -import fs from 'fs'; -import pkg from './package.json'; - -const SRC_DEFAULT = '_javascript'; -const SRC_PWA = `${SRC_DEFAULT}/pwa`; -const DIST = 'assets/js/dist'; - -const banner = `/*! - * ${pkg.name} v${pkg.version} | © ${pkg.since} ${pkg.author} | ${pkg.license} Licensed | ${pkg.homepage} - */`; -const frontmatter = `---\npermalink: /:basename\n---\n`; -const isProd = process.env.BUILD === 'production'; - -let hasWatched = false; - -function cleanup() { - fs.rmSync(DIST, { recursive: true, force: true }); - console.log(`> Directory "${DIST}" has been cleaned.`); -} - -function insertFrontmatter() { - return { - name: 'insert-frontmatter', - generateBundle(_, bundle) { - for (const chunkOrAsset of Object.values(bundle)) { - if (chunkOrAsset.type === 'chunk') { - chunkOrAsset.code = frontmatter + chunkOrAsset.code; - } - } - } - }; -} - -function build( - filename, - { src = SRC_DEFAULT, jekyll = false, outputName = null } = {} -) { - const input = `${src}/${filename}.js`; - const shouldWatch = hasWatched ? false : true; - - if (!hasWatched) { - hasWatched = true; - } - - return { - input, - output: { - file: `${DIST}/${filename}.min.js`, - format: 'iife', - ...(outputName !== null && { name: outputName }), - banner, - sourcemap: !isProd && !jekyll - }, - ...(shouldWatch && { watch: { include: `${SRC_DEFAULT}/**/*.js` } }), - plugins: [ - babel({ - babelHelpers: 'bundled', - presets: ['@babel/env'], - plugins: [ - '@babel/plugin-transform-class-properties', - '@babel/plugin-transform-private-methods' - ] - }), - nodeResolve(), - isProd && terser(), - jekyll && insertFrontmatter() - ] - }; -} - -cleanup(); - -export default [ - build('commons'), - build('home'), - build('categories'), - build('page'), - build('post'), - build('misc'), - build('theme', { src: `${SRC_DEFAULT}/modules`, outputName: 'Theme' }), - build('app', { src: SRC_PWA, jekyll: true }), - build('sw', { src: SRC_PWA, jekyll: true }) -]; diff --git a/style.css b/style.css new file mode 100644 index 0000000..8e9144d --- /dev/null +++ b/style.css @@ -0,0 +1,135 @@ +/* latin-ext */ +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 400; + src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 400; + src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + /* latin-ext */ + @font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 700; + src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 700; + src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + /* latin-ext */ + @font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + /* latin-ext */ + @font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 700; + src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; + } + /* latin */ + @font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 700; + src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + } + + a { + color: #1772d0; + text-decoration: none; + } + + a:focus, + a:hover { + color: #f09228; + text-decoration: none; + } + + body, + td, + th, + tr, + p, + a { + font-family: 'Lato', Verdana, Helvetica, sans-serif; + font-size: 14px; + } + + strong { + font-family: 'Lato', Verdana, Helvetica, sans-serif; + font-size: 14px; + } + + h2 { + margin: 0; + font-weight: normal; + font-family: 'Lato', Verdana, Helvetica, sans-serif; + font-size: 22px; + } + + .papertitle { + font-family: 'Lato', Verdana, Helvetica, sans-serif; + font-size: 14px; + font-weight: 700; + } + + .name { + padding-top: 20px; + margin: 0; + font-family: 'Lato', Verdana, Helvetica, sans-serif; + font-size: 32px; + } + + .one { + width: 160px; + height: 160px; + position: relative; + } + + .two { + width: 160px; + height: 160px; + position: absolute; + transition: opacity .2s ease-in-out; + -moz-transition: opacity .2s ease-in-out; + -webkit-transition: opacity .2s ease-in-out; + } + + .fade { + transition: opacity .2s ease-in-out; + -moz-transition: opacity .2s ease-in-out; + -webkit-transition: opacity .2s ease-in-out; + } + + span.highlight { + background-color: #ffffd0; + } \ No newline at end of file diff --git a/tools/init.sh b/tools/init.sh deleted file mode 100755 index d710182..0000000 --- a/tools/init.sh +++ /dev/null @@ -1,131 +0,0 @@ -#!/usr/bin/env bash -# -# Init the environment for new user. - -set -eu - -# CLI Dependencies -CLI=("git" "npm") - -ACTIONS_WORKFLOW=pages-deploy.yml - -RELEASE_HASH=$(git log --grep="chore(release):" -1 --pretty="%H") - -# temporary file suffixes that make `sed -i` compatible with BSD and Linux -TEMP_SUFFIX="to-delete" - -_no_gh=false - -help() { - echo "Usage:" - echo - echo " bash /path/to/init [options]" - echo - echo "Options:" - echo " --no-gh Do not deploy to Github." - echo " -h, --help Print this help information." -} - -# BSD and GNU compatible sed -_sedi() { - regex=$1 - file=$2 - sed -i.$TEMP_SUFFIX -E "$regex" "$file" - rm -f "$file".$TEMP_SUFFIX -} - -_check_cli() { - for i in "${!CLI[@]}"; do - cli="${CLI[$i]}" - if ! command -v "$cli" &>/dev/null; then - echo "Command '$cli' not found! Hint: you should install it." - exit 1 - fi - done -} - -_check_status() { - if [[ -n $(git status . -s) ]]; then - echo "Error: Commit unstaged files first, and then run this tool again." - exit 1 - fi -} - -_check_init() { - if [[ $(git rev-parse HEAD^1) == "$RELEASE_HASH" ]]; then - echo "Already initialized." - exit 0 - fi -} - -check_env() { - _check_cli - _check_status - _check_init -} - -reset_latest() { - git reset --hard "$RELEASE_HASH" - git clean -fd - git submodule update --init --recursive -} - -init_files() { - if $_no_gh; then - rm -rf .github - else - ## Change the files of `.github/` - temp="$(mktemp -d)" - find .github/workflows -type f -name "*$ACTIONS_WORKFLOW*" -exec mv {} "$temp/$ACTIONS_WORKFLOW" \; - rm -rf .github && mkdir -p .github/workflows - mv "$temp/$ACTIONS_WORKFLOW" .github/workflows/"$ACTIONS_WORKFLOW" - rm -rf "$temp" - fi - - # Cleanup image settings in site config - _sedi "s/(^timezone:).*/\1/;s/(^.*cdn:).*/\1/;s/(^avatar:).*/\1/" _config.yml - - # remove the other files - rm -rf tools/init.sh tools/release.sh _posts/* - - # build assets - npm i && npm run build - - # track the CSS/JS output - _sedi "/^_sass\/vendors/d" .gitignore - _sedi "/^assets\/js\/dist/d" .gitignore -} - -commit() { - git add -A - git commit -m "chore: initialize the environment" -q - echo -e "\n> Initialization successful!\n" -} - -main() { - check_env - reset_latest - init_files - commit -} - -while (($#)); do - opt="$1" - case $opt in - --no-gh) - _no_gh=true - shift - ;; - -h | --help) - help - exit 0 - ;; - *) - # unknown option - help - exit 1 - ;; - esac -done - -main diff --git a/tools/release.sh b/tools/release.sh deleted file mode 100755 index 36ca88a..0000000 --- a/tools/release.sh +++ /dev/null @@ -1,186 +0,0 @@ -#!/usr/bin/env bash -# -# Requires: Git, NPM and RubyGems - -set -eu - -opt_pre=false # option for bump gem version -opt_pkg=false # option for building gem package - -MAIN_BRANCH="master" -RELEASE_BRANCH="production" - -GEM_SPEC="jekyll-theme-chirpy.gemspec" -NODE_SPEC="package.json" -CHANGELOG="docs/CHANGELOG.md" -CONFIG="_config.yml" - -CSS_DIST="_sass/vendors" -JS_DIST="assets/js/dist" - -FILES=( - "$GEM_SPEC" - "$NODE_SPEC" - "$CHANGELOG" - "$CONFIG" -) - -TOOLS=( - "git" - "npm" - "gem" -) - -help() { - echo -e "A tool to release new version Chirpy gem.\nThis tool will:" - echo " 1. Build a new gem and publish it to RubyGems.org" - echo " 2. Merge the release branch into the default branch" - echo - echo "Usage:" - echo " bash $0 [options]" - echo - echo "Options:" - echo " --prepare Preparation for release" - echo " -p, --package Build a gem package only, for local packaging in case of auto-publishing failure" - echo " -h, --help Display this help message" -} - -_check_cli() { - for i in "${!TOOLS[@]}"; do - cli="${TOOLS[$i]}" - if ! command -v "$cli" &>/dev/null; then - echo "> Command '$cli' not found!" - exit 1 - fi - done -} - -_check_git() { - $opt_pre || ( - # ensure that changes have been committed - if [[ -n $(git status . -s) ]]; then - echo "> Abort: Commit the staged files first, and then run this tool again." - exit 1 - fi - ) - - $opt_pkg || ( - if [[ "$(git branch --show-current)" != "$RELEASE_BRANCH" ]]; then - echo "> Abort: Please run the tool in the '$RELEASE_BRANCH' branch." - exit 1 - fi - ) -} - -_check_src() { - for i in "${!FILES[@]}"; do - _src="${FILES[$i]}" - if [[ ! -f $_src && ! -d $_src ]]; then - echo -e "> Error: Missing file \"$_src\"!\n" - exit 1 - fi - done -} - -init() { - _check_cli - _check_git - _check_src - echo -e "> npm install\n" - npm i -} - -## Bump new version to gem-spec file -_bump_version() { - _version="$(grep '"version":' "$NODE_SPEC" | sed 's/.*: "//;s/".*//')" - sed -i "s/[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+/$_version/" "$GEM_SPEC" - echo "> Bump gem version to $_version" -} - -_improve_changelog() { - # Replace multiple empty lines with a single empty line - sed -i '/^$/N;/^\n$/D' "$CHANGELOG" - # Escape left angle brackets of HTML tag in the changelog as they break the markdown structure. e.g., '
' - sed -i -E 's/\s(<[a-z])/ \\\1/g' "$CHANGELOG" -} - -prepare() { - _bump_version - _improve_changelog -} - -## Build a Gem package -build_gem() { - # Remove unnecessary theme settings - sed -i -E "s/(^timezone:).*/\1/;s/(^cdn:).*/\1/;s/(^avatar:).*/\1/" $CONFIG - rm -f ./*.gem - - npm run build - # add CSS/JS distribution files to gem package - git add "$CSS_DIST" "$JS_DIST" -f - - echo -e "\n> gem build $GEM_SPEC\n" - gem build "$GEM_SPEC" - - echo -e "\n> Resume file changes ...\n" - git reset - git checkout . -} - -# Push the gem to RubyGems.org (using $GEM_HOST_API_KEY) -push_gem() { - gem push ./*.gem -} - -## Merge the release branch into the default branch -merge() { - git fetch origin "$MAIN_BRANCH" - git checkout -b "$MAIN_BRANCH" origin/"$MAIN_BRANCH" - - git merge --no-ff --no-edit "$RELEASE_BRANCH" || ( - git merge --abort - echo -e "\n> Conflict detected. Aborting merge.\n" - exit 0 - ) - - git push origin "$MAIN_BRANCH" -} - -main() { - init - - if $opt_pre; then - prepare - exit 0 - fi - - build_gem - $opt_pkg && exit 0 - push_gem - merge -} - -while (($#)); do - opt="$1" - case $opt in - --prepare) - opt_pre=true - shift - ;; - -p | --package) - opt_pkg=true - shift - ;; - -h | --help) - help - exit 0 - ;; - *) - # unknown option - help - exit 1 - ;; - esac -done - -main diff --git a/tools/run.sh b/tools/run.sh deleted file mode 100755 index 0efc452..0000000 --- a/tools/run.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash -# -# Run jekyll serve and then launch the site - -prod=false -command="bundle exec jekyll s -l" -host="127.0.0.1" - -help() { - echo "Usage:" - echo - echo " bash /path/to/run [options]" - echo - echo "Options:" - echo " -H, --host [HOST] Host to bind to." - echo " -p, --production Run Jekyll in 'production' mode." - echo " -h, --help Print this help information." -} - -while (($#)); do - opt="$1" - case $opt in - -H | --host) - host="$2" - shift 2 - ;; - -p | --production) - prod=true - shift - ;; - -h | --help) - help - exit 0 - ;; - *) - echo -e "> Unknown option: '$opt'\n" - help - exit 1 - ;; - esac -done - -command="$command -H $host" - -if $prod; then - command="JEKYLL_ENV=production $command" -fi - -if [ -e /proc/1/cgroup ] && grep -q docker /proc/1/cgroup; then - command="$command --force_polling" -fi - -echo -e "\n> $command\n" -eval "$command" diff --git a/tools/test.sh b/tools/test.sh deleted file mode 100755 index 331de1c..0000000 --- a/tools/test.sh +++ /dev/null @@ -1,89 +0,0 @@ -#!/usr/bin/env bash -# -# Build and test the site content -# -# Requirement: html-proofer, jekyll -# -# Usage: See help information - -set -eu - -SITE_DIR="_site" - -_config="_config.yml" - -_baseurl="" - -help() { - echo "Build and test the site content" - echo - echo "Usage:" - echo - echo " bash $0 [options]" - echo - echo "Options:" - echo ' -c, --config "" Specify config file(s)' - echo " -h, --help Print this information." -} - -read_baseurl() { - if [[ $_config == *","* ]]; then - # multiple config - IFS="," - read -ra config_array <<<"$_config" - - # reverse loop the config files - for ((i = ${#config_array[@]} - 1; i >= 0; i--)); do - _tmp_baseurl="$(grep '^baseurl:' "${config_array[i]}" | sed "s/.*: *//;s/['\"]//g;s/#.*//")" - - if [[ -n $_tmp_baseurl ]]; then - _baseurl="$_tmp_baseurl" - break - fi - done - - else - # single config - _baseurl="$(grep '^baseurl:' "$_config" | sed "s/.*: *//;s/['\"]//g;s/#.*//")" - fi -} - -main() { - # clean up - if [[ -d $SITE_DIR ]]; then - rm -rf "$SITE_DIR" - fi - - read_baseurl - - # build - JEKYLL_ENV=production bundle exec jekyll b \ - -d "$SITE_DIR$_baseurl" -c "$_config" - - # test - bundle exec htmlproofer "$SITE_DIR" \ - --disable-external \ - --ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/" -} - -while (($#)); do - opt="$1" - case $opt in - -c | --config) - _config="$2" - shift - shift - ;; - -h | --help) - help - exit 0 - ;; - *) - # unknown option - help - exit 1 - ;; - esac -done - -main