diff --git a/languages/en.yml b/languages/en.yml index 9d322d7..92b65e9 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -41,6 +41,7 @@ post: post_link: This article originally appeared on license_title: Copyright Notice 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: powered: "Powered by %s" diff --git a/layout/_partials/post/post-copyright.njk b/layout/_partials/post/post-copyright.njk index 4efc312..f0e9c97 100644 --- a/layout/_partials/post/post-copyright.njk +++ b/layout/_partials/post/post-copyright.njk @@ -22,8 +22,13 @@ {%- endif %}
  • - {{ __('post.copyright.license_title') + __('symbol.colon') }} - {{- __('post.copyright.license_content', next_url(ccURL, ccIcon + ccText)) }} + {%- if page.copyright_reprint %} + {{ __('post.copyright.license_title') + __('symbol.colon') }} + {{- __('post.copyright.license_content_reprint', next_url(ccURL, ccIcon + ccText)) }} + {%- else %} + {{ __('post.copyright.license_title') + __('symbol.colon') }} + {{- __('post.copyright.license_content', next_url(ccURL, ccIcon + ccText)) }} + {%- endif %}