-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Feature: the sidebar can auto scroll when the toc out of the screen
2. Fix: When the picture is loaded, the picture appears black frame
- Loading branch information
Showing
6 changed files
with
87 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
.card_widget.card-categories | ||
.card-content | ||
.item_headline | ||
i.fa.fa-folder-open(aria-hidden="true") | ||
span= _p('aside.card_categories') | ||
ul.aside_category_item | ||
mixin displayCategories(parent = undefined) | ||
- site.categories.find({ parent }).sort("name").each(function(category) { | ||
- var childCount = site.categories.find({ parent: category._id }).count(); | ||
li.aside_category_list | ||
a.aside_category_list_link(href=url_for(category.path)) | ||
span.aside_category_list_name= category.name | ||
span.aside_category_list_length= category.length | ||
if childCount > 0 | ||
ul.aside_category_item.child | ||
+displayCategories(category._id) | ||
- }) | ||
if site.categories.length | ||
.card_widget.card-categories | ||
.card-content | ||
.item_headline | ||
i.fa.fa-folder-open(aria-hidden="true") | ||
span= _p('aside.card_categories') | ||
ul.aside_category_item | ||
mixin displayCategories(parent = undefined) | ||
- site.categories.find({ parent }).sort("name").each(function(category) { | ||
- var childCount = site.categories.find({ parent: category._id }).count(); | ||
li.aside_category_list | ||
a.aside_category_list_link(href=url_for(category.path)) | ||
span.aside_category_list_name= category.name | ||
span.aside_category_list_length= category.length | ||
if childCount > 0 | ||
ul.aside_category_item.child | ||
+displayCategories(category._id) | ||
- }) | ||
|
||
+displayCategories() | ||
+displayCategories() | ||
|
||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.card_widget.card-tags | ||
.card-content | ||
.item_headline | ||
i.fa.fa-tags(aria-hidden="true") | ||
span= _p('aside.card_tags') | ||
.card-tag-cloud!= tagcloud({min_font: 16, max_font: 24, amount: 200, color: true, start_color: '#999', end_color: '#000'}) | ||
if site.tags.length | ||
.card_widget.card-tags | ||
.card-content | ||
.item_headline | ||
i.fa.fa-tags(aria-hidden="true") | ||
span= _p('aside.card_tags') | ||
.card-tag-cloud!= tagcloud({min_font: 16, max_font: 24, amount: 200, color: true, start_color: '#999', end_color: '#000'}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters