mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Ignore the variables hook in the site file
This commit is contained in:
@@ -1,16 +1,12 @@
|
||||
---
|
||||
---
|
||||
|
||||
{% comment %} include the variables-hook if it exists {% endcomment %}
|
||||
|
||||
{% assign hook = 'variables-hook.scss' %}
|
||||
{% assign _hook_path = hook | prepend: '/assets/css/' %}
|
||||
{% assign _hook_obj = site.static_files | where: 'path', _hook_path | first %}
|
||||
|
||||
{% if _hook_obj %}
|
||||
{% include_relative {{ hook }} %}
|
||||
{% endif %}
|
||||
/*
|
||||
If the number of TAB files has changed, the following variable is required.
|
||||
And it must be defined before `@import`.
|
||||
*/
|
||||
$tab-count: {{ site.tabs | size | plus: 1 }}; // plus 1 for home tab
|
||||
|
||||
@import "{{ site.theme }}";
|
||||
|
||||
// append your custom style below
|
||||
/* append your custom style below */
|
||||
|
||||
Reference in New Issue
Block a user