improvement: tags 設定彩色顯示後,字型大小將根據tag的文章數量而變化 close #365

improvement: 調整tags頁和categories頁在寬度小於768時的字體大小
This commit is contained in:
Jerry
2020-09-16 00:12:47 +08:00
Unverified
parent 97bb8313d0
commit 938e7a04c7
6 changed files with 31 additions and 9 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ block content
| -
span.tag-cloud__amount= site.tags.length
.tag-cloud-tags
!=cloudTags({source: site.tags, minfontsize: 1, maxfontsize: 2.1, limit: 0, unit: 'em'})
!=cloudTags({source: site.tags, minfontsize: 1.2, maxfontsize: 2.1, limit: 0, unit: 'em'})
if page.comments !== false && theme.comments && theme.comments.use
- var commentsJsLoad = true
!=partial('includes/third-party/comments/index', {}, {cache:theme.fragment_cache})