Skip to content

Commit

Permalink
Update post-copyright.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
okrc authored and MaLuns committed Apr 4, 2023
1 parent fdfbfd9 commit 115a09e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
let ccVersion = (theme.creative_commons.license == 'zero') ? '1.0' : '4.0';
let ccPrefix = (theme.creative_commons.license == 'zero') ? 'publicdomain' : 'licenses';
let ccURL = 'https://creativecommons.org/' + ccPrefix + '/' + theme.creative_commons.license + '/' + ccVersion + '/' + theme.creative_commons.language;
let postURL = page.originalLink || page.permalink;
let postURL = decodeURI(page.originalLink || page.permalink);
%>
<ul class="trm-post-copyright">
Expand All @@ -21,4 +21,4 @@
`<a href="${ccURL}" target="_blank" rel="noopener" title="CC ${theme.creative_commons.license.toUpperCase() + ' ' + ccVersion} ">CC ${theme.creative_commons.license.toUpperCase() + ' ' + ccVersion}</a>`) %>
</li>
</ul>
<% } %>
<% } %>

0 comments on commit 115a09e

Please sign in to comment.