-
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.
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 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,7 @@ | ||
## Ref | ||
|
||
[如何给 Hugo 博客添加热力图](https://blog.douchi.space/hugo-blog-heatmap/#gsc.tab=0) | ||
|
||
## Use | ||
|
||
这里用的时候是当[shortcodes}(https://gohugo.io/content-management/shortcodes/),还是就是` {{ range ((where .Site.RegularPages "Type" "post")) }}`是判断注意你的 post 的类型,如果文章内容没有指定type的话默认好像是page,所有需要给所有文章加上`type: 'post'` |
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