mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Add a hook for custom variables (fix #355)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
---
|
||||
---
|
||||
|
||||
// see: /_sass/addon/commons.scss
|
||||
$tab-count: {{ site.tabs | size | plus: 1 }}; // plus 1 for home tab
|
||||
{% include_relative variables-hook.scss %}
|
||||
|
||||
@import "jekyll-theme-chirpy";
|
||||
|
||||
5
assets/css/variables-hook.scss
Normal file
5
assets/css/variables-hook.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
/*
|
||||
Appending custom SCSS variables will override the default ones in `_sass/addon/variables.scsss`
|
||||
*/
|
||||
|
||||
$tab-count: {{ site.tabs | size | plus: 1 }}; // plus 1 for home tab
|
||||
Reference in New Issue
Block a user