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.
38 lines
1.0 KiB
38 lines
1.0 KiB
include titled_card.pug
|
|
include data_row.pug
|
|
include button.pug
|
|
|
|
mixin information_card(...extendData)
|
|
.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("文章", site.posts.length)
|
|
+data_row("页面", site.pages.length)
|
|
+data_row("标签", site.tags.length)
|
|
+data_row("分类", site.categories.length)
|
|
|
|
if theme.social
|
|
hr
|
|
each value, name in theme.social
|
|
- const splitValue = value.split('||')
|
|
- const displayValue = splitValue[0]
|
|
- const link = splitValue[1]
|
|
+data_row(name, displayValue, link)
|
|
|
|
hr
|
|
if extendData
|
|
each data in extendData
|
|
+data_row(data.name, data.value)
|
|
|
|
+data_row("运行时间", "421天")
|
|
|
|
hr
|
|
span.no-error-declaration NO ERROR
|
|
|