mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Support reprint (#618)
This commit is contained in:
parent
1501440d8d
commit
ff3f89f53b
@ -41,6 +41,7 @@ post:
|
|||||||
post_link: This article originally appeared on
|
post_link: This article originally appeared on
|
||||||
license_title: Copyright Notice
|
license_title: Copyright Notice
|
||||||
license_content: "All articles in this blog are licensed under %s unless stating additionally."
|
license_content: "All articles in this blog are licensed under %s unless stating additionally."
|
||||||
|
license_content_reprint: "This article is a reprinted article and has been reprinted with permission. Please indicate the source!"
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
powered: "Powered by %s"
|
powered: "Powered by %s"
|
||||||
|
|||||||
@ -22,8 +22,13 @@
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
</li>
|
</li>
|
||||||
<li class="post-copyright-license">
|
<li class="post-copyright-license">
|
||||||
|
{%- if page.copyright_reprint %}
|
||||||
|
<strong>{{ __('post.copyright.license_title') + __('symbol.colon') }} </strong>
|
||||||
|
{{- __('post.copyright.license_content_reprint', next_url(ccURL, ccIcon + ccText)) }}
|
||||||
|
{%- else %}
|
||||||
<strong>{{ __('post.copyright.license_title') + __('symbol.colon') }} </strong>
|
<strong>{{ __('post.copyright.license_title') + __('symbol.colon') }} </strong>
|
||||||
{{- __('post.copyright.license_content', next_url(ccURL, ccIcon + ccText)) }}
|
{{- __('post.copyright.license_content', next_url(ccURL, ccIcon + ccText)) }}
|
||||||
|
{%- endif %}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user