diff --git a/layout/_partial/main/article/article_footer.ejs b/layout/_partial/main/article/article_footer.ejs index 6006d1e..0b19ea7 100644 --- a/layout/_partial/main/article/article_footer.ejs +++ b/layout/_partial/main/article/article_footer.ejs @@ -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) { diff --git a/source/css/_layout/tag-plugins/mark.styl b/source/css/_layout/tag-plugins/mark.styl index 2248041..9389cd2 100644 --- a/source/css/_layout/tag-plugins/mark.styl +++ b/source/css/_layout/tag-plugins/mark.styl @@ -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)