Skip to content

Commit

Permalink
fix: #328
Browse files Browse the repository at this point in the history
  • Loading branch information
zkz098 committed Jan 27, 2025
1 parent fe8f6f6 commit ab88d3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions layout/_partials/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ html(lang=page.language?page.language:config.language, style=theme.grayMode ? 'f
else
- audioValue = "undefined"
- var ccIcon = '<i class="ic i-creative-commons"></i>'
- var ccText = theme.creative_commons.license.toUpperCase()
script(data-config type="text/javascript").
var LOCAL = {
ispost: !{is_post()},
Expand All @@ -107,6 +109,8 @@ html(lang=page.language?page.language:config.language, style=theme.grayMode ? 'f
empty: "!{__('search.empty')}",
stats: "!{__('search.stats')}"
},
nocopy: "!{!!page.nocopy}",
copyright: `!{page.copyright !== false ? (page.nocopy === true ? __("tips.nocopy") : __("tips.copyright", ccIcon + ccText)) : undefined}`,
copy_tex: #{!!page.math},
katex: #{!!page.math},
mermaid: #{!!page.mermaid},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-shokax",
"version": "0.4.19",
"version": "0.4.20",
"description": "a hexo theme based on shoka",
"main": "index.js",
"repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",
Expand Down

0 comments on commit ab88d3e

Please sign in to comment.