%
let reprintPolicyEnabled = theme.reprint && theme.reprint.enable;
let reprintPolicy = page.reprintPolicy || theme.reprint.default || 'cc_by';
%>
<% if (reprintPolicyEnabled) { %>
<% if (reprintPolicy === 'cc_by') { %>
<% } else if (reprintPolicy === 'cc_by_nd') { %>
<% } else if (reprintPolicy === 'cc_by_sa') { %>
<% } else if (reprintPolicy === 'cc_by_nc') { %>
<% } else if (reprintPolicy === 'cc_by_nc_nd') { %>
<% } else if (reprintPolicy === 'cc_by_nc_sa') { %>
<% } else if (reprintPolicy === 'cc0') { %>
<%= __('toTheExtentPossibleUnderLaw') %>
<%- page.author || config.author %>
<%= __('hasWaivedAllCopyrightAndRelatedOrNeighboringRightsTo') %>
《<%= page.title %>》
<%= __('workPublishedFrom') %>
<%= __('cc_0_country') %>
<% } else if (reprintPolicy === 'noreprint') { %>
<%= __('noreprint') %>
<% } else if (reprintPolicy === 'pay') { %>
<%= __('paycontact') %>
<%- page.author || config.author %>
<%= __('payreprint') %>
<% } %>
<% } %>