File tree Expand file tree Collapse file tree 5 files changed +5
-36
lines changed
Expand file tree Collapse file tree 5 files changed +5
-36
lines changed Original file line number Diff line number Diff line change 7474 <!-- Font Awesome -->
7575 < link rel ="stylesheet " href ="{{ site.data.origin[type].fontawesome.css | relative_url }} ">
7676
77- < link rel ="stylesheet " href ="{{ '/assets/css/style .css' | relative_url }} ">
77+ < link rel ="stylesheet " href ="{{ '/assets/css/:THEME .css' | replace: ':THEME', site.theme | relative_url }} ">
7878
7979 {% if site.toc and page.toc %}
8080 < link rel ="stylesheet " href ="{{ site.data.origin[type].toc.css | relative_url }} ">
Original file line number Diff line number Diff line change 1- Chirpy v<%= pkg.version %> (<%= pkg.homepage %>)
2- © 2019 <%= pkg.author %>
3- <%= pkg.license %> Licensed
1+ Chirpy v<%= pkg.version %> | © 2019 <%= pkg.author %> | <%= pkg.license %> Licensed | <%= pkg.homepage %>
Original file line number Diff line number Diff line change 1- /* !
2- * Chirpy v6.1.0 (https://github.com/cotes2020/jekyll-theme-chirpy)
3- * © 2019 Cotes Chung
4- * MIT Licensed
5- */
6-
71@import ' colors/typography-light' ;
82@import ' colors/typography-dark' ;
93@import ' addon/variables' ;
Original file line number Diff line number Diff line change 11---
22---
33
4- @import ' {{ site.theme }} ' ;
4+ @import ' main ' ;
55
66/* append your custom style below */
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ JS_DIST="assets/js/dist"
3131BACKUP_PATH=" $( mktemp -d) "
3232
3333FILES=(
34- " _sass/jekyll-theme-chirpy.scss"
3534 " $GEM_SPEC "
3635 " $NODE_CONFIG "
3736)
@@ -104,31 +103,9 @@ check() {
104103 _check_node_packages
105104}
106105
107- _bump_files () {
108- for i in " ${! FILES[@]} " ; do
109- if [[ ${FILES[$i]} == " $NODE_CONFIG " ]]; then
110- continue
111- fi
112-
113- sed -i " s/v[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+/v$1 /" " ${FILES[$i]} "
114- done
115- }
116-
117- _bump_gemspec () {
118- sed -i " s/[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+/$1 /" " $GEM_SPEC "
119- }
120-
121- # 1. Bump latest version number to the following files:
122- #
123- # - _sass/jekyll-theme-chirpy.scss
124- # - _javascript/copyright
125- # - assets/js/dist/*.js (will be built by gulp later)
126- # - jekyll-theme-chirpy.gemspec
127- #
128- # 2. Create a commit to save the changes.
106+ # # Bump latest version number and create a commit to save the changes
129107bump () {
130- _bump_files " $1 "
131- _bump_gemspec " $1 "
108+ sed -i " s/[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+/$1 /" " $GEM_SPEC "
132109
133110 if [[ $opt_pre = false && -n $( git status . -s) ]]; then
134111 git add .
You can’t perform that action at this time.
0 commit comments