Skip to content

Commit

Permalink
Merge pull request #359 from terwer/release-please--branches--main--c…
Browse files Browse the repository at this point in the history
…omponents--release-please-action

chore(main): release 1.9.1
  • Loading branch information
terwer committed Apr 22, 2024
2 parents f64097c + 1bc879e commit a4af80f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 10 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog

## [1.9.1](https://github.com/terwer/siyuan-plugin-blog/compare/v1.9.0...v1.9.1) (2024-04-22)
### Bug Fixes
* formulate only parse once ([ea32c03](https://github.com/terwer/siyuan-plugin-blog/commit/ea32c03f14899739bd3c628f1a2d4751f5f29614))
## [1.9.0](https://github.com/terwer/siyuan-plugin-blog/compare/v1.8.5...v1.9.0) (2024-04-22)
### Features
* adapt new theme ([858c08c](https://github.com/terwer/siyuan-plugin-blog/commit/858c08c5a2f493a57246f53f1e4e29e9906bfa46))
Expand All @@ -9,7 +12,6 @@
* allow custom footer ([a5e3c1f](https://github.com/terwer/siyuan-plugin-blog/commit/a5e3c1f719584163bc0475fe46df0fc95b17be60))
* support formulate ([dbe9285](https://github.com/terwer/siyuan-plugin-blog/commit/dbe9285920149eee4c8c3944fed8bf109069327a))
* use global static share, allow select ip ([17aeb51](https://github.com/terwer/siyuan-plugin-blog/commit/17aeb511e85e05a30bf93e49c9e652ff70b4402b))
### Bug Fixes
* auth error ([9fdfe20](https://github.com/terwer/siyuan-plugin-blog/commit/9fdfe20bc5823d1b8a6bfbf9389cffbdd0f85e34))
* color mode not auto set ([5abe90e](https://github.com/terwer/siyuan-plugin-blog/commit/5abe90ebc16397024ca868e2c4f3373e79333046))
## [1.8.5](https://github.com/terwer/siyuan-plugin-blog/compare/v1.8.4...v1.8.5) (2023-08-10)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -40,7 +40,7 @@ The core idea of this plugin is: `Everything is a Page` . You can set a page to
- [X] Unordered list style adaptation
- [ ] Bulk management of shared pages
- [ ] Support single page setting sharing password
- [ ] Integrate popular topics that are currently available
- [X] Integrate popular topics that are currently available
- [ ] Document alias access is supported
- [ ] Support displaying MD originals
- [ ] Support displaying KMD original text
Expand All @@ -49,10 +49,10 @@ The core idea of this plugin is: `Everything is a Page` . You can set a page to
- [ ] tags, summary
- [ ] Custom properties
- [ ] Image enlargement effect
- [ ] Latex formula rendering
- [X] Latex formula rendering
- [ ] plantuml chart support
- [ ] echats chart support
- [ ] Support svg with svOrigin, e.g. '<use xlink:href="#iconMore'>'</use>
- [X] Support svg with svOrigin, e.g. '<use xlink:href="#iconMore'>'</use>

## Changelog

Expand Down
6 changes: 3 additions & 3 deletions README_zh_CN.md
Expand Up @@ -40,7 +40,7 @@
- [X] 无序列表样式适配
- [ ] 已分享页面的批量管理
- [ ] 支持单页面设置分享密码
- [ ] 集成目前已有的热门主题
- [X] 集成目前已有的热门主题
- [ ] 支持文档别名访问
- [ ] 支持显示 MD 原文
- [ ] 支持显示 KMD 原文
Expand All @@ -49,10 +49,10 @@
- [ ] 标签、摘要
- [ ] 自定义属性
- [ ] 图片放大效果
- [ ] Latex 公式渲染
- [X] Latex 公式渲染
- [ ] plantuml 图表支持
- [ ] echats 图表支持
- [ ] 支持思源自带的svg,例如 `<use xlink:href="#iconMore"></use>`
- [X] 支持思源自带的svg,例如 `<use xlink:href="#iconMore"></use>`

## 更新历史

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "siyuan-blog",
"version": "1.9.0",
"version": "1.9.1",
"description": "The notions sharing function you want is here too",
"type": "module",
"scripts": {
Expand Down
7 changes: 6 additions & 1 deletion pages/share.vue
Expand Up @@ -111,7 +111,12 @@ const copyWebLink = () => {
const shareTemplate =
(StrUtil.isEmptyString(setting.shareTemplate) ? formData.shareLink : setting.shareTemplate) ?? formData.shareLink
const copyText = shareTemplate
.replace(/\[expired]/g, StrUtil.isEmptyString(formData.expiredTime) ? "永久" : formData.expiredTime)
.replace(
/\[expired]/g,
StrUtil.isEmptyString(formData.expiredTime) || formData.expiredTime.toString().trim() === "0"
? "永久"
: formData.expiredTime
)
.replace(/\[title]/g, post.title)
.replace(/\[url]/g, formData.shareLink)
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Expand Up @@ -2,7 +2,7 @@
"name": "siyuan-blog",
"author": "terwer",
"url": "https://github.com/terwer/siyuan-plugin-blog",
"version": "1.9.0",
"version": "1.9.1",
"minAppVersion": "2.9.0",
"backends": [
"windows",
Expand Down

0 comments on commit a4af80f

Please sign in to comment.