Commit f3091ed0 authored by caihaifei's avatar caihaifei

更改样式.

parent 94bce30a
Pipeline #15451 canceled with stage
...@@ -110,3 +110,9 @@ mixin postHeader(post) ...@@ -110,3 +110,9 @@ mixin postHeader(post)
id: 'busuanzi_value_page_pv' id: 'busuanzi_value_page_pv'
} }
}) })
span.post-author.post-meta-item
= post.author || __('post.author')
div(class=`${is_post() ? 'post-copyright' : ''}`).copyright div(class=`${is_post() ? 'post-copyright' : ''}`).copyright
div.copyright-author
span.copyright-author__name
= __('post.copyright.author') + ': '
span.copyright-author__value
if config.url && config.author
a(href=config.url)= config.author
div.copyright-link div.copyright-link
span.copyright-link__name span.copyright-link__name
= __('post.copyright.link') + ': ' = __('post.copyright.link') + ': '
......
...@@ -27,5 +27,5 @@ block content ...@@ -27,5 +27,5 @@ block content
if isShowReward if isShowReward
include ./_partials/widgets/reward.pug include ./_partials/widgets/reward.pug
if isShowCC //- if isShowCC
include ./_partials/widgets/copyright.pug //- include ./_partials/widgets/copyright.pug
...@@ -19,8 +19,8 @@ block content ...@@ -19,8 +19,8 @@ block content
div.post-ending.ending div.post-ending.ending
div.ending__text= __('post.end') div.ending__text= __('post.end')
if page.copyright === true || (isShowCC && theme.creative_commons.post) //- if page.copyright === true || (isShowCC && theme.creative_commons.post)
include ./_partials/widgets/copyright.pug //- include ./_partials/widgets/copyright.pug
if theme.post_widget.tags if theme.post_widget.tags
if page.tags && page.tags.length > 0 if page.tags && page.tags.length > 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment