forked from klugjo/hexo-theme-clean-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added widgets on footer (search, categories and tagcloud)
- Loading branch information
1 parent
ccd8093
commit 7d8118e
Showing
4 changed files
with
41 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<% if (site.categories.length){ %> | ||
<div class="widget-wrap"> | ||
<h3 class="widget-title"><%= __('categories') %></h3> | ||
<div class="widget"> | ||
<%- list_categories({show_count: theme.show_count}) %> | ||
</div> | ||
</div> | ||
<% } %> |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<% if (site.tags.length){ %> | ||
<div class="widget-wrap"> | ||
<h3 class="widget-title"><%= __('tagcloud') %></h3> | ||
<div class="widget tagcloud"> | ||
<%- tagcloud() %> | ||
</div> | ||
</div> | ||
<% } %> |
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