[feat] license in wiki
This commit is contained in:
parent
1233bd0f65
commit
02d7a59dd7
|
@ -52,7 +52,11 @@ function layoutDiv() {
|
|||
if (page.license != null) {
|
||||
license = markdown(page.license || theme.article.license)
|
||||
} else if (proj?.license != null) {
|
||||
license = markdown(proj.license || theme.article.license)
|
||||
if (proj.license == true) {
|
||||
license = markdown(theme.article.license)
|
||||
} else {
|
||||
license = markdown(proj.license)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (license.length > 0) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.md-text .tag-plugin.mark
|
||||
padding: 2px
|
||||
padding: 1px 2px
|
||||
border-radius: 2px
|
||||
background: var(--theme-block)
|
||||
color: var(--text-p0)
|
||||
|
|
Loading…
Reference in New Issue