You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
hexo-theme-yorha/layout/includes/_partials/information_card.pug

35 lines
781 B

include titled_card.pug
include data_row.pug
.information-card
+titled_card("Status")
.information-content
.avatar-box
.avatar-img
img(src=theme.avatar)
.personal-information
span.name= config.author
span.sign= config.description
hr
+data_row("页面创建", page.date)
+data_row("页面更新", page.updated)
hr
+data_row("文章", site.posts.length)
+data_row("页面", site.pages.length)
+data_row("标签", site.tags.length)
+data_row("分类", site.categories.length)
hr
+data_row("文章数", 12)
+data_row("总字数", "16k")
+data_row("全站访问次数", "16k")
hr
span.no-error-declaration NO ERROR