mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Use collections to improve the tabs
This commit is contained in:
@@ -64,7 +64,7 @@ body {
|
||||
|
||||
/*--- sidebar layout ---*/
|
||||
|
||||
$tab-count: {{ site.data.tabs | size }};
|
||||
$tab-count: {{ site.tabs | size | plus: 1 }}; // plus 1 for home tab
|
||||
|
||||
$sidebar-display: "sidebar-display";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user