When installing the [Chirpy][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders
_data, _layouts, _includes, _sass and assets, as well as a small part of options of the _config.yml file
from the theme's gem. If you have ever installed this theme gem, you can use the command
bundle info --path jekyll-theme-chirpy to locate these files.
The Jekyll team claims that this is to leave the ball in the userβs court, but this also results in users not being able to enjoy the out-of-the-box experience when using feature-rich themes.
To fully use all the features of Chirpy, you need to copy the other critical files from the theme's gem to your Jekyll site. The following is a list of targets:
.
βββ _config.yml
βββ _plugins
βββ _tabs
βββ index.htmlTo save you time, and also in case you lose some files while copying, we extract those files/configurations of the latest version of the Chirpy theme and the CD workflow to here, so that you can start writing in minutes.
Check out the theme's docs.
This repository is automatically updated with new releases from the theme repository. If you encounter any issues or want to contribute to its improvement, please visit the [theme repository][chirpy] to provide feedback.
This work is published under MIT License.
-
_config.yml-google_site_verification,google_analytics,giscusμ 보 μΆκ°νκΈ° -
atag areaκ°imgλ₯Ό λ²μ΄λλ λ¬Έμ - imageμμ
.left/.right/.normalλ±μ΄ λ¨Ήμ§ μλ λ¬Έμ
starterλ‘ μ€μΉν κ²½μ°, λ€μμ λ§ν¬μ κ°μ΄ νλ©΄ λλ€. (μλ λ³Έλ¬Έμ X)
https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Upgrade-Guide#fetch-updates
If you are using the theme gem (there will be gem "jekyll-theme-chirpy" in the Gemfile), editing the Gemfile and update the version number of the theme gem, for example:
- gem "jekyll-theme-chirpy", "~> 3.2"
+ gem "jekyll-theme-chirpy", "~> 4.0"And then execute the following command:
bundle update jekyll-theme-chirpyAs the version upgrades, the critical files (for details, see the startup template) and configuration options will change. We can use the GitHub API to get the file changes in the version upgrade.
The URL format is as follows:
https://github.com/cotes2020/chirpy-starter/compare/<older_version>...<newer_version>
For instance, to upgrade from v4.0.0 to v5.0.0, visit: https://github.com/cotes2020/chirpy-starter/compare/v4.0.0...v5.0.0
ref:
λ€μκ³Ό κ°μ μλ¬κ° λ°μν λλ
... `materialize': Could not find sass-embedded-1.58.3 in any of the sources (Bundler::GemNotFound)
λ€μμ λͺ
λ Ήμ΄λ‘ gemμ μ 리νλ€.
bundlerλ€μμ λͺ λ Ήμ΄λ‘ μ€ννλ€.
bundle exec jekyll s(23.10.27 μΆκ°) μμ¦μ λ€μκ³Ό κ°μ΄ μ€νν΄λ λλ€...!
jekyll srbenv versions
rbenv local
rbenv local 3.1.0-
_etcλ΄λΆμ sass νμΌλ€μ κΈ°μ‘΄μ λ°°ν¬λ chirpy themeμ νμΌμ΄λ€. ν΄λΉ νμΌλ€μ μ°Έκ³ νλ©΄ λλ€. -
μ€μ custom νμΌμ
_sass/customν΄λ λ°μ μμ±νλ€.- μλ‘ νμΌμ μμ±ν κ²½μ°,
assets/css/style.scssμ@importν΄μ£Όλ©΄ λλ€. - μμΈλ‘, ν¬μ€ν
λ΄ μ½λ λΈλμ μμ νλ νΈ μ€μ μ
_sass/colorsμ μμΉμμΌ λ³λ€λ₯Έ@importμμ μμ΄ & overriding λμ μμ΄ μ μ©λλλ‘ νλ€.
- μλ‘ νμΌμ μμ±ν κ²½μ°,
-
@mixinμ override νκΈ° μν΄ μ½μ§μ μ€λνλλ°,_sass/custom/addon/commons.scss,_sass/custom/addon/syntax.scssνμΌμ μ°Έκ³ νμ¬ μ¬μ©νλ©΄ override λμλ μνν μ μλ€.
version
6.2.0λΆν°λ sass variablesλ₯Ό overwrite νλ λ°©λ²μ΄ λ°λ λ―νλ€. μΆν νμνλ©΄ μ°Έκ³ νμ!https://chirpy.cotes.page/posts/getting-started/#customizing-stylesheet
-
_layouts/categories.htmlνμΌμ μμ±νμ¬ https://seungriyou.github.io/categories/ νμμμ μ΅μμ μΉ΄ν κ³ λ¦¬ μ λ ¬ μμλ₯Ό 컀μ€ν°λ§μ΄μ§ νλ€.μλ³Έ μ½λμμλ λ€μκ³Ό κ°μ΄ μΉ΄ν κ³ λ¦¬ μ΄λ¦μ μ¬μ μ μμλ‘ μ λ ¬νμλ€.
{% assign sort_categories = site.categories | sort %} -
ν΄λΉ html νμΌμ μλ³Έ νμΌμ jekyll-theme-chirpyμ μλ³Έ
categories.htmlνμΌμμ νμΈν μ μλ€. -
post μμ± μ μλ‘μ΄ μΉ΄ν κ³ λ¦¬λ₯Ό λ§λ€ κ²μ΄λΌλ©΄,
_layouts/categories.htmlνμΌμ λ€μκ³Ό κ°μ΄custom_orderλ΄μμ μ μ ν μμΉμ,μ ν¨κ» μΆκ°ν΄μ£Όλ©΄ λλ€. μμλ₯Ό μμ νκ³ μΆμ λλ λ§μ°¬κ°μ§λ‘custom_orderλ₯Ό μμ νλ€.<!-- [START] add custom order of categories in `CATEGORIES` tab --> <!-- ref: https://twpower.github.io/228-make-array-and-add-element-in-jekyll-liquid-en --> {% assign custom_order = 'Python, Dev-Log, MLOps, Problem Solving, Computer Science, Deep Learning, Experience, Daily-Log' | split: ', ' %} {% assign sort_categories = '' | split: ',' %} {% for co in custom_order %} {% for category in site.categories %} {% if category[0] == co %} {% assign sort_categories = sort_categories | push: category %} {% endif %} {% endfor %} {% endfor %} <!-- [END] add custom order of categories in `CATEGORIES` tab -->
-
Jekyll liquid λ¬Έλ²μμ arrayλ₯Ό μμ±νλ λ°©λ²μ Make array and add element in liquidλ₯Ό μ°Έκ³ νλ€.
{: style="max-width: 70%"}νΉμ, λ€μμ μμΉλ€μ λν΄μλ bootstrap μ€μ μ μ¬μ©ν μλ μλ€.
{: .w-25} (width 25%)
{: .w-50} (width 50%)
{: .w-75} (width 75%)
{: .w-100} (width 100%)
{: .w-auto} (default)HTML color nameμ λ§ν¬μμ νμΈνκΈ°!
<span style="color: red">this is **red**</span>ref: https://github.com/orgs/community/discussions/16993#discussioncomment-4056560
curly bracketμ νννκΈ° μν΄ \{, \}λ₯Ό μ¬μ©νλ©΄ μΆλ ₯μ΄ μ λλ€. λμ , \lbraceμ \rbraceλ₯Ό μ¬μ©ν΄μΌ νλ€.
-
{}μΆλ ₯ μ λλ μμ$\mathbf s^0=\{s^0(j)\in [n]\}_{j \in [m]}$
-
{}μΆλ ₯ λλ μμ$\mathbf s^0=\lbrace s^0(j)\in [n]\rbrace_{j \in [m]}$
degree symbolμ λνλ΄λ €λ©΄ \degreeκ° μλ ^{\circ}μ μ¬μ©ν΄μΌ νλ€.
-
Β°μΆλ ₯ μ λλ μμ$70\degree$
-
Β°μΆλ ₯ λλ μμ$70^{\circ}$
<details>
<summary>μ λͺ©</summary>
<div markdown="1">
λ΄μ©
</div>
</details>