diff --git a/_config.yml b/_config.yml index 9a58cd4..5d66a1f 100755 --- a/_config.yml +++ b/_config.yml @@ -251,6 +251,28 @@ tag_plugins: # {% hashtag %} hashtag: default_color: # red, orange, yellow, green, cyan, blue, purple + # {% okr o1 percent:0.5 status:normal %} + okr: + border: true # 是否显示边框 + status: # 可以自行增加 + # 进行中状态 + in_track: + color: blue # red, orange, yellow, green, cyan, blue, purple + label: 正常 + at_risk: + color: yellow + label: 风险 + off_track: + color: orange + label: 延期 + # 结果状态 + finished: + color: green + label: 已完成 + unfinished: + color: red + label: 未完成 + ######## JS Plugins ######## diff --git a/layout/_partial/main/navbar/breadcrumb.ejs b/layout/_partial/main/navbar/breadcrumb.ejs index 763a6c5..6bca5ee 100644 --- a/layout/_partial/main/navbar/breadcrumb.ejs +++ b/layout/_partial/main/navbar/breadcrumb.ejs @@ -24,7 +24,7 @@ function layoutDiv() { el += ''; // 发布日期 el += '
'; - el += __("meta.created") + ' '; + el += ` + ${__("meta.created")}  + `; + el += ` + ${__("meta.updated")}  + `; el += '
'; + el += ''; el += ''; } else if (page.layout === "wiki" && page.wiki && page.wiki.length > 0) { @@ -72,7 +78,9 @@ function layoutDiv() { el += ''; // 更新日期 el += '
'; - el += __("meta.updated") + ' '; + el += ` + ${__("meta.updated")}  + `; el += '
'; el += ''; diff --git a/layout/_partial/main/navbar/list_post.ejs b/layout/_partial/main/navbar/list_post.ejs index 8dab20c..646692a 100644 --- a/layout/_partial/main/navbar/list_post.ejs +++ b/layout/_partial/main/navbar/list_post.ejs @@ -4,9 +4,9 @@ function layoutDiv() { el += '