From 2a57ea428d7c2bce66870558292d2dc005916653 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Fri, 17 Feb 2023 21:31:10 -0500 Subject: [PATCH 1/3] fix(view): don't render title as

on index pages --- layout/common/article.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/layout/common/article.jsx b/layout/common/article.jsx index 28d48a9..02e4d4c 100644 --- a/layout/common/article.jsx +++ b/layout/common/article.jsx @@ -84,9 +84,8 @@ module.exports = class extends Component { : null} {/* Title */} - {page.title !== '' ?

- {index ? {page.title} : page.title} -

: null} + {page.title !== '' && index ?

{page.title}

: null} + {page.title !== '' && !index ?

{page.title}

: null} {/* Content/Excerpt */}
{/* Licensing block */} From 14be0f2130159aa96fded2a8ce7fd2dad3501d52 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Fri, 17 Feb 2023 21:34:57 -0500 Subject: [PATCH 2/3] fix(ci): fix github release action --- .github/workflows/github-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 7c49340..429e7c5 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -9,7 +9,7 @@ jobs: publish: runs-on: ubuntu-latest permissions: - contents: writes + contents: write steps: - uses: actions/checkout@v3 - uses: ncipollo/release-action@v1 From fabb67bb6099b3bc409a5c033136f6ef97283754 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Fri, 17 Feb 2023 21:35:34 -0500 Subject: [PATCH 3/3] chore(build): bump package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 089cc07..81b65ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-icarus", - "version": "5.1.1", + "version": "5.2.1", "author": "ppoffice ", "license": "MIT", "description": "A simple, delicate, and modern theme for Hexo",