add echart
This commit is contained in:
1 parent
8811e72f1a
commit
266fcb2aed
4 files changed
+452
-2
No files matched your search
@@ -3,6 +3,7 @@ extends includes/layout.pug
|
|||||||
block content
|
block content
|
||||||
include ./includes/mixins/article-sort.pug
|
include ./includes/mixins/article-sort.pug
|
||||||
#archive
|
#archive
|
||||||
|
#posts-chart(data-start="2021-01" style="height: 300px; padding: 10px;")
|
||||||
.article-sort-title= `${_p('page.articles')} - ${getArchiveLength()}`
|
.article-sort-title= `${_p('page.articles')} - ${getArchiveLength()}`
|
||||||
+articleSort(page.posts)
|
+articleSort(page.posts)
|
||||||
include includes/pagination.pug
|
include includes/pagination.pug
|
||||||
@@ -1 +1,3 @@
|
|||||||
.category-lists!= list_categories()
|
<script src="https://npm.elemecdn.com/echarts@4.9.0/dist/echarts.min.js"></script>
|
||||||
|
.category-lists!= list_categories()
|
||||||
|
#categories-chart(data-parent="true" style="height: 300px; padding: 10px;")
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
|
<script src="https://npm.elemecdn.com/echarts@4.9.0/dist/echarts.min.js"></script>
|
||||||
.tag-cloud-list.text-center
|
.tag-cloud-list.text-center
|
||||||
!=cloudTags({source: site.tags, orderby: page.orderby || 'random', order: page.order || 1, minfontsize: 1.2, maxfontsize: 1.5, limit: 0, unit: 'em'})
|
!=cloudTags({source: site.tags, orderby: page.orderby || 'random', order: page.order || 1, minfontsize: 1.2, maxfontsize: 1.5, limit: 0, unit: 'em'})
|
||||||
|
#tags-chart(data-length="10" style="height: 300px; padding: 10px;")
|
||||||
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user