Skip to content

Commit

Permalink
Merge pull request #224 from jiewenhuang/dev
Browse files Browse the repository at this point in the history
Update to v1.2.0
  • Loading branch information
jiewenhuang committed Mar 7, 2024
2 parents 3018877 + f653817 commit cad2e8f
Show file tree
Hide file tree
Showing 14 changed files with 236 additions and 186 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version: 16
- name: Compress zip
run: |
PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
PACKAGE_VERSION=$(sed -nE 's/^ *version: "([^"]+)"$/\1/p' theme.yaml)
PRE_ZIP_FOLDER=halo-theme-Joe3-${PACKAGE_VERSION}
ARTIFACT_NAME=${PRE_ZIP_FOLDER}.zip
ARTIFACT_PATHNAME=dist/${ARTIFACT_NAME}
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
node-version: 16
- name: Compress zip
run: |
PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
PACKAGE_VERSION=$(sed -nE 's/^ *version: "([^"]+)"$/\1/p' theme.yaml)
PRE_ZIP_FOLDER=halo-theme-Joe3-${PACKAGE_VERSION}
ARTIFACT_NAME=${PRE_ZIP_FOLDER}.zip
ARTIFACT_PATHNAME=dist/${ARTIFACT_NAME}
Expand Down
Binary file added templates/assets/img/photo_loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/assets/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const commonContext = {
}
// 代码复制
if (ThemeConfig.enable_code_copy) {
const text = $item.find("code[class='language-none'], code[class*='language-']").text();
const text = $item.find('code[class*="language-"]').text();
const span = $(
"<span class=\"copy-button\"><i class=\"joe-font joe-icon-copy\" title=\"复制代码\"></i></span>"
);
Expand Down
2 changes: 1 addition & 1 deletion templates/assets/js/min/common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion templates/assets/js/min/photos.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cad2e8f

Please sign in to comment.