Compare commits

...

57 Commits

Author SHA1 Message Date
dependabot[bot]
7ea2913b68 chore(deps): bump peaceiris/actions-gh-pages from 3.9.2 to 4.0.0 (#89)
Bumps
[peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages)
from 3.9.2 to 4.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peaceiris/actions-gh-pages/releases">peaceiris/actions-gh-pages's
releases</a>.</em></p>
<blockquote>
<h2>actions-github-pages v4.0.0</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v4.0.0/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.9.3</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.9.3/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md">peaceiris/actions-gh-pages's
changelog</a>.</em></p>
<blockquote>
<h1><a
href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.3...v4.0.0">4.0.0</a>
(2024-04-08)</h1>
<h3>build</h3>
<ul>
<li>node 20.11.1 (<a
href="5049354438">5049354</a>)</li>
</ul>
<h3>chore</h3>
<ul>
<li>bump node16 to node20 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1067">#1067</a>)
(<a
href="4eb285e828">4eb285e</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1067">#1067</a></li>
<li>downgrade engines.npm to 8.0.0 (<a
href="87231bc03a">87231bc</a>)</li>
</ul>
<h3>ci</h3>
<ul>
<li>pin node-version to 18 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/981">#981</a>)
(<a
href="65ebf11929">65ebf11</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/981">#981</a></li>
</ul>
<h3>docs</h3>
<ul>
<li>add Release Strategy (<a
href="67f80d94a1">67f80d9</a>)</li>
<li>fix link to Nuxt github-pages (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/980">#980</a>)
(<a
href="88b4d2aa92">88b4d2a</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/980">#980</a></li>
<li>remove braces in if conditions (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/920">#920</a>)
(<a
href="0fbd122442">0fbd122</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/920">#920</a></li>
</ul>
<h2><a
href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.2...v3.9.3">3.9.3</a>
(2023-03-30)</h2>
<h3>docs</h3>
<ul>
<li>fix typo, bump hugo version (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/851">#851</a>)
(<a
href="884a0224fd">884a022</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/851">#851</a></li>
</ul>
<h3>fix</h3>
<ul>
<li>fix error handling (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/841">#841</a>)
(<a
href="32e33dcd3a">32e33dc</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/841">#841</a></li>
<li>update known_hosts (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/871">#871</a>)
(<a
href="31c15f0329">31c15f0</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/871">#871</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4f9cc6602d"><code>4f9cc66</code></a>
chore(release): 4.0.0</li>
<li><a
href="9c75028a53"><code>9c75028</code></a>
chore(release): Add build assets</li>
<li><a
href="5049354438"><code>5049354</code></a>
build: node 20.11.1</li>
<li><a
href="4eb285e828"><code>4eb285e</code></a>
chore: bump node16 to node20 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1067">#1067</a>)</li>
<li><a
href="cdc09a3baa"><code>cdc09a3</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.77
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1065">#1065</a>)</li>
<li><a
href="d830378ec6"><code>d830378</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.76
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1063">#1063</a>)</li>
<li><a
href="80daa1d144"><code>80daa1d</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.75
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1061">#1061</a>)</li>
<li><a
href="108285e909"><code>108285e</code></a>
chore(deps): update dependency ts-jest to v29.1.2 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1060">#1060</a>)</li>
<li><a
href="99c95ff54e"><code>99c95ff</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.74
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1058">#1058</a>)</li>
<li><a
href="1f4653792d"><code>1f46537</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.73
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1057">#1057</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.2...v4.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peaceiris/actions-gh-pages&package-manager=github_actions&previous-version=3.9.2&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 21:05:25 +07:00
dependabot[bot]
b295a58d3d chore(deps): bump peaceiris/actions-hugo from 2.6.0 to 3.0.0 (#88)
Bumps
[peaceiris/actions-hugo](https://github.com/peaceiris/actions-hugo) from
2.6.0 to 3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peaceiris/actions-hugo/releases">peaceiris/actions-hugo's
releases</a>.</em></p>
<blockquote>
<h2>actions-hugo v3.0.0</h2>
<p>See <a
href="https://github.com/peaceiris/actions-hugo/blob/v3.0.0/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/peaceiris/actions-hugo/blob/main/CHANGELOG.md">peaceiris/actions-hugo's
changelog</a>.</em></p>
<blockquote>
<h1><a
href="https://github.com/peaceiris/actions-hugo/compare/v2.6.0...v3.0.0">3.0.0</a>
(2024-04-02)</h1>
<h3>build</h3>
<ul>
<li>node 20.11.1 (<a
href="01bd2b16cc">01bd2b1</a>)</li>
</ul>
<h3>chore</h3>
<ul>
<li>npm audit fix (<a
href="966dfad385">966dfad</a>)</li>
<li>revert version (<a
href="d85452eadf">d85452e</a>)</li>
</ul>
<h3>ci</h3>
<ul>
<li>bump actions/dependency-review-action from 2 to 3 (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/622">#622</a>)
(<a
href="844f8735f6">844f873</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/622">#622</a></li>
<li>bump actions/setup-node from 3.5.1 to 3.6.0 (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/625">#625</a>)
(<a
href="3fa8fd6cee">3fa8fd6</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/625">#625</a></li>
<li>bump checkout to v4 (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/639">#639</a>)
(<a
href="aadc3a98df">aadc3a9</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/639">#639</a></li>
<li>bump peaceiris/actions-hugo from 2.5.0 to 2.6.0 (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/621">#621</a>)
(<a
href="b1822b6abe">b1822b6</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/621">#621</a></li>
</ul>
<h3>docs</h3>
<ul>
<li>bump ruby version to 3.2 (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/629">#629</a>)
(<a
href="7c4b9f1f99">7c4b9f1</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/629">#629</a></li>
<li>bump versions (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/628">#628</a>)
(<a
href="7652d53369">7652d53</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/628">#628</a></li>
<li>remove braces (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/634">#634</a>)
(<a
href="31c46541ce">31c4654</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/634">#634</a></li>
<li>replace set-output with GITHUB_OUTPUT (<a
href="3d92e2fd55">3d92e2f</a>)</li>
<li>update cache usage (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/636">#636</a>)
(<a
href="c0084b0763">c0084b0</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/636">#636</a></li>
</ul>
<h3>feat</h3>
<ul>
<li>bump to use node20 runtime (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/641">#641</a>)
(<a
href="c57490a8b0">c57490a</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/641">#641</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="75d2e84710"><code>75d2e84</code></a>
chore(release): 3.0.0</li>
<li><a
href="e482f7ce0f"><code>e482f7c</code></a>
chore(release): Add build assets</li>
<li><a
href="d85452eadf"><code>d85452e</code></a>
chore: revert version</li>
<li><a
href="01bd2b16cc"><code>01bd2b1</code></a>
build: node 20.11.1</li>
<li><a
href="966dfad385"><code>966dfad</code></a>
chore: npm audit fix</li>
<li><a
href="c57490a8b0"><code>c57490a</code></a>
feat: bump to use node20 runtime (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/641">#641</a>)</li>
<li><a
href="aadc3a98df"><code>aadc3a9</code></a>
ci: bump checkout to v4 (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/639">#639</a>)</li>
<li><a
href="c0084b0763"><code>c0084b0</code></a>
docs: update cache usage (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/636">#636</a>)</li>
<li><a
href="31c46541ce"><code>31c4654</code></a>
docs: remove braces (<a
href="https://redirect.github.com/peaceiris/actions-hugo/issues/634">#634</a>)</li>
<li><a
href="3d92e2fd55"><code>3d92e2f</code></a>
docs: replace set-output with GITHUB_OUTPUT</li>
<li>Additional commits viewable in <a
href="https://github.com/peaceiris/actions-hugo/compare/v2.6.0...v3.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peaceiris/actions-hugo&package-manager=github_actions&previous-version=2.6.0&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 21:05:25 +07:00
2f7c70e846
enhance: DOMContentLoaded instead of line 2024-05-02 21:21:29 +07:00
4d591adbb5 Merge https://github.com/janraasch/hugo-bearblog 2024-04-02 00:43:42 +07:00
dependabot[bot]
deb6530bbb
chore(deps): bump dependabot/fetch-metadata from 1 to 2 (#87)
Bumps
[dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata)
from 1 to 2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dependabot/fetch-metadata/releases">dependabot/fetch-metadata's
releases</a>.</em></p>
<blockquote>
<h2>v2.0.0 - Switch to <code>node20</code></h2>
<h2>What's Changed</h2>
<ul>
<li>Upgrade from node16 to node20 by <a
href="https://github.com/Nishnha"><code>@​Nishnha</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/443">dependabot/fetch-metadata#443</a>
👈 this is a potentially breaking change for some workflows</li>
<li><code>v2</code> is the new tracking tag by <a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/506">dependabot/fetch-metadata#506</a></li>
<li>v2.0.0 by <a
href="https://github.com/fetch-metadata-action-automation"><code>@​fetch-metadata-action-automation</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/508">dependabot/fetch-metadata#508</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/dependabot/fetch-metadata/compare/v1.7.0...v2.0.0">https://github.com/dependabot/fetch-metadata/compare/v1.7.0...v2.0.0</a></p>
<h2>v1.7.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump dotenv from 16.0.3 to 16.3.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/404">dependabot/fetch-metadata#404</a></li>
<li>Bump <code>@​types/node</code> from 20.2.3 to 20.3.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/407">dependabot/fetch-metadata#407</a></li>
<li>Bump the eslint-dependencies group with 4 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/409">dependabot/fetch-metadata#409</a></li>
<li>Update dependabot.yml by <a
href="https://github.com/bdragon"><code>@​bdragon</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/410">dependabot/fetch-metadata#410</a></li>
<li>Bump <code>@​types/node</code> from 20.3.3 to 20.4.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/411">dependabot/fetch-metadata#411</a></li>
<li>Bump yaml from 2.2.1 to 2.3.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/390">dependabot/fetch-metadata#390</a></li>
<li>Bump tough-cookie from 4.0.0 to 4.1.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/412">dependabot/fetch-metadata#412</a></li>
<li>Bump <code>@​types/node</code> from 20.4.0 to 20.4.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/413">dependabot/fetch-metadata#413</a></li>
<li>Generate Dependabot PRs on Sundays weekly by <a
href="https://github.com/abdulapopoola"><code>@​abdulapopoola</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/417">dependabot/fetch-metadata#417</a></li>
<li>Aggressively group prod and dev dependencies for NPM by <a
href="https://github.com/abdulapopoola"><code>@​abdulapopoola</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/420">dependabot/fetch-metadata#420</a></li>
<li>Update .nvmrc to latest node 16 LTS version by <a
href="https://github.com/abdulapopoola"><code>@​abdulapopoola</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/422">dependabot/fetch-metadata#422</a></li>
<li>Bump the dev-dependencies group with 9 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/421">dependabot/fetch-metadata#421</a></li>
<li>Bump the dev-dependencies group with 1 update by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/423">dependabot/fetch-metadata#423</a></li>
<li>Check for uncommitted files beyond the <code>diff</code> directory
by <a href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/278">dependabot/fetch-metadata#278</a></li>
<li>Bump the dev-dependencies group with 6 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/424">dependabot/fetch-metadata#424</a></li>
<li>Bump the dev-dependencies group with 3 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/425">dependabot/fetch-metadata#425</a></li>
<li>Bump the dev-dependencies group with 6 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/428">dependabot/fetch-metadata#428</a></li>
<li>Bump the dev-dependencies group with 7 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/429">dependabot/fetch-metadata#429</a></li>
<li>Bump tibdex/github-app-token from 1.8.0 to 1.8.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/430">dependabot/fetch-metadata#430</a></li>
<li>Bump the dev-dependencies group with 4 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/432">dependabot/fetch-metadata#432</a></li>
<li>Bump actions/checkout from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/436">dependabot/fetch-metadata#436</a></li>
<li>Bump the dev-dependencies group with 6 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/440">dependabot/fetch-metadata#440</a></li>
<li>Change actions/checkout@v3 to v4 in readme by <a
href="https://github.com/Nishnha"><code>@​Nishnha</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/444">dependabot/fetch-metadata#444</a></li>
<li>Bump the dev-dependencies group with 4 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/445">dependabot/fetch-metadata#445</a></li>
<li>Bump <code>@​vercel/ncc</code> from 0.36.1 to 0.38.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/435">dependabot/fetch-metadata#435</a></li>
<li>Bump the dev-dependencies group with 4 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/447">dependabot/fetch-metadata#447</a></li>
<li>Bump the dev-dependencies group with 3 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/448">dependabot/fetch-metadata#448</a></li>
<li>Bump <code>@​babel/traverse</code> from 7.22.8 to 7.23.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/457">dependabot/fetch-metadata#457</a></li>
<li>Add blurbs about using a PAT to the readme by <a
href="https://github.com/Nishnha"><code>@​Nishnha</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/466">dependabot/fetch-metadata#466</a></li>
<li>Bump <code>@​vercel/ncc</code> from 0.38.0 to 0.38.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/462">dependabot/fetch-metadata#462</a></li>
<li>Bump actions/setup-node from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/461">dependabot/fetch-metadata#461</a></li>
<li>Bump the dev-dependencies group with 13 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/497">dependabot/fetch-metadata#497</a></li>
<li>Bump tibdex/github-app-token from 1.8.2 to 2.1.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/442">dependabot/fetch-metadata#442</a></li>
<li>Scope app token to only this repo for security by <a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/501">dependabot/fetch-metadata#501</a></li>
<li>Switch to the official action for managing app tokens by <a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/504">dependabot/fetch-metadata#504</a></li>
<li>v1.7.0 by <a
href="https://github.com/fetch-metadata-action-automation"><code>@​fetch-metadata-action-automation</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/505">dependabot/fetch-metadata#505</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/bdragon"><code>@​bdragon</code></a> made
their first contribution in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/410">dependabot/fetch-metadata#410</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0fb21704c1"><code>0fb2170</code></a>
v2.0.0 (<a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/508">#508</a>)</li>
<li><a
href="dc2c459ae6"><code>dc2c459</code></a>
<code>v2</code> is the new tracking tag (<a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/506">#506</a>)</li>
<li><a
href="f2f0ad1522"><code>f2f0ad1</code></a>
Upgrade from node16 to node20 (<a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/443">#443</a>)</li>
<li>See full diff in <a
href="https://github.com/dependabot/fetch-metadata/compare/v1...v2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dependabot/fetch-metadata&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-27 13:00:31 +01:00
324a1e12a3
hugo-bearblog : add comment for stylesheet, script 2024-03-14 14:08:35 +07:00
0ee42d6223
hugo-bearblog : avoid onclick inline script 2024-03-14 12:10:38 +07:00
2615349a7d
hugo-bearblog : combine darkmode script 2024-03-14 03:26:50 +07:00
1b7f3ec2dc
hugo-bearblog : remove special status when linking external script 2024-03-14 03:09:44 +07:00
21292ae509
hugo-bearblog : only get required stylesheet 2024-03-14 02:46:45 +07:00
63e45137af Revert "hugo-bearblog : add smarter way to handle flickering on page load"
This reverts commit 00113c9222.
2024-03-14 02:39:42 +07:00
00113c9222
hugo-bearblog : add smarter way to handle flickering on page load 2024-03-14 02:15:40 +07:00
134c3a0015
hugo-bearblog : add more comment to archetypes/blog.md 2024-03-11 18:19:13 +07:00
762b4e04b9
hugo-bearblog : redact lastmod 2024-03-11 18:09:01 +07:00
5c7b6a77d9
hugo-bearblog : match *.css 2024-03-10 23:37:32 +07:00
d734281a6a
hugo-bearblog : add custom footer 2024-03-10 14:33:56 +07:00
4fdb98d0ce
hugo-bearblog : script load order fix 2024-03-10 13:22:30 +07:00
1c1dd34eb2
hugo-bearblog : add option to diable integrity using papermod's solution 2024-03-10 13:18:57 +07:00
b46dab5ba6
hugo-bearblog : loading javascript,stylesheet out of HTML page (no unsafe CSP) 2024-03-10 11:47:53 +07:00
f2052084ea
hugo-bearblog : javascript indentation lookup 2024-03-09 19:06:39 +07:00
afc4681a01
hugo-bearblog : add _index.md for blog and add random color gimmick 2024-03-09 17:59:51 +07:00
e437c66e80
hugo-bear-blog : support 'lastmod' and add darkmode toggle 2024-03-09 13:27:57 +07:00
cbfa056a96
hugo-bearblog : add rawhtml shortcode 2024-03-08 23:26:15 +07:00
Jan Raasch
139ff34809 Auto-merge minor updates 🎸 2024-02-20 16:07:38 +01:00
Jan Raasch
fab37cf385 Add »Development«-section on README.md
This is mostly a note to self 📝😁😇
2024-02-20 15:47:14 +01:00
Jan Raasch
ea7bb396cc Fill og:title on home page
See #84
2024-02-20 11:57:49 +01:00
dependabot[bot]
a7819218f7
chore(deps-dev): bump js-beautify from 1.14.11 to 1.15.1 (#85)
Bumps [js-beautify](https://github.com/beautifier/js-beautify) from
1.14.11 to 1.15.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/beautifier/js-beautify/blob/main/CHANGELOG.md">js-beautify's
changelog</a>.</em></p>
<blockquote>
<h2>v1.15.1</h2>
<ul>
<li>Turn new angular templating off by default in html (<a
href="https://redirect.github.com/beautifier/js-beautify/pull/2247">#2247</a>)</li>
<li>Perf regression in latest release (1.15.0) (<a
href="https://redirect.github.com/beautifier/js-beautify/issues/2246">#2246</a>)</li>
</ul>
<h2>v1.15.0</h2>
<ul>
<li>Fixed <a
href="https://redirect.github.com/beautifier/js-beautify/issues/2219">#2219</a>
- formatting of new Angular control flow syntax (<a
href="https://redirect.github.com/beautifier/js-beautify/pull/2221">#2221</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8ebec7e81a"><code>8ebec7e</code></a>
Release: 1.15.1</li>
<li><a
href="f11af53db1"><code>f11af53</code></a>
Merge remote-tracking branch 'origin/staging/main' into
staging/release</li>
<li><a
href="9d4b333b69"><code>9d4b333</code></a>
Merge remote-tracking branch 'origin/release' into staging/release</li>
<li><a
href="f53ce3a5ff"><code>f53ce3a</code></a>
Bump version numbers for 1.15.1</li>
<li><a
href="5b41158f2e"><code>5b41158</code></a>
Update Changelog</li>
<li><a
href="5150015660"><code>5150015</code></a>
Merge pull request <a
href="https://redirect.github.com/beautifier/js-beautify/issues/2247">#2247</a>
from bitwiseman/feat/angular-off-default</li>
<li><a
href="5233c8f5f4"><code>5233c8f</code></a>
Add test for angular css conflict</li>
<li><a
href="96340d5d43"><code>96340d5</code></a>
Turn off new angular templating by default in html</li>
<li><a
href="b4775c33a1"><code>b4775c3</code></a>
Merge pull request <a
href="https://redirect.github.com/beautifier/js-beautify/issues/2235">#2235</a>
from beautifier/dependabot/github_actions/actions/ca...</li>
<li><a
href="87d3796bbc"><code>87d3796</code></a>
Merge pull request <a
href="https://redirect.github.com/beautifier/js-beautify/issues/2245">#2245</a>
from beautifier/dependabot/npm_and_yarn/webpack-5.90.2</li>
<li>Additional commits viewable in <a
href="https://github.com/beautifier/js-beautify/compare/v1.14.11...v1.15.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=js-beautify&package-manager=npm_and_yarn&previous-version=1.14.11&new-version=1.15.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 17:32:13 +00:00
dependabot[bot]
0b64d5ad10
chore(deps-dev): bump js-beautify from 1.14.6 to 1.14.11 (#78)
Bumps [js-beautify](https://github.com/beautify-web/js-beautify) from 1.14.6 to 1.14.11.
- [Release notes](https://github.com/beautify-web/js-beautify/releases)
- [Changelog](https://github.com/beautify-web/js-beautify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/beautify-web/js-beautify/compare/v1.14.6...v1.14.11)

---
updated-dependencies:
- dependency-name: js-beautify
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 11:12:21 +00:00
Jan Raasch
2e4a4c2424 Add more permissions to auto-merge workflow 🔓
Still trying to fix

```
GraphQL: Resource not accessible by integration (mergePullRequest)
```

See https://github.com/janraasch/hugo-bearblog/actions/runs/7624250504/job/20766236838

and https://github.com/cli/cli/discussions/7617
2024-01-23 12:08:55 +01:00
Jan Raasch
d255667dfb Move auto-merge to separate workflow 2024-01-23 11:46:13 +01:00
Jan Raasch
993dcdbc45 Add permissions to »Auto-Merge«-job 2024-01-23 11:17:51 +01:00
Jan Raasch
4ce692eb8c Approve & squash merge dependabot prs
See https://dev.to/lkurzyniec/github-auto-merge-dependabot-prs-26dj
2024-01-23 11:07:09 +01:00
dependabot[bot]
fe522cefe3
chore(deps): bump actions/upload-artifact from 3 to 4 (#77)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 10:36:08 +01:00
dependabot[bot]
e42cc214a3
chore(deps): bump actions/download-artifact from 3 to 4 (#76)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 10:33:33 +01:00
Martijn Engler
dec11203de
Use hugo.toml instead of config.toml (#74)
* Use hugo.toml instead of config.toml

Use the file hugo.toml in both the README.md and the exampleSite, since
Hugo will look for this file first.

The current instructions (using config.toml) in a new Hugo site
(that has a hugo.toml-file) means that the site doesn't work, or the
theme is not activated.

Note that this is a breaking change for sites running on older versions.
(But v0.110.0 was released almost a year ago.)

Relevant Hugo commit:

f38a2fbd2e

* Require `hugo v0.110.0`

> Make hugo.toml the new config.toml

see https://github.com/gohugoio/hugo/releases/tag/v0.110.0

---------

Co-authored-by: Jan Raasch <425211+janraasch@users.noreply.github.com>
2024-01-23 10:28:44 +01:00
dependabot[bot]
939a4e9e00
chore(deps): bump actions/checkout from 3 to 4 (#72)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 10:05:23 +01:00
Jan Raasch
5fc1e03a7a
docs: no email support 😅😁 2023-03-15 16:26:38 +01:00
Jan Raasch
6c922477c1 chore(ci): oh the lols :)) aka fix the fix 2023-03-15 13:32:22 +01:00
Jan Raasch
96a3934c6d chore(ci): try try try 2023-03-15 13:25:45 +01:00
Jan Raasch
d986e38325 chore(ci): try ignoring cache 2023-03-15 13:22:40 +01:00
Jan Raasch
5fb7b33256 fix: remove trailing slashes
Guess what, on https://gohugo.io/functions/relurl/ it says

> As a best practice, never include a leading slash when using this function.

Fixes https://github.com/janraasch/hugo-bearblog/issues/65
2023-03-15 13:01:49 +01:00
Jan Raasch
63484fa54a chore(ci): auto-merge patch and minor updates of deps 2023-03-08 19:03:20 +01:00
Jan Raasch
7620f8d1f7 chore(ci): fix deploy condition - for real! :) 2023-03-08 18:45:36 +01:00
Jan Raasch
bbb374cb15 chore(ci): fix deploy condition - hopefully 2023-03-08 18:44:15 +01:00
Jan Raasch
f2cc09bbdd chore(ci): split build into build and deploy jobs 2023-03-08 18:36:16 +01:00
dependabot[bot]
2078d95600
chore(deps): bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.2 (#61)
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.9.0 to 3.9.2.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.0...v3.9.2)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 16:14:44 +01:00
Jan Raasch
d524ebeba7
Delete FUNDING.yml 2022-12-27 17:35:49 +01:00
Jan Raasch
e328177798
Remove »Sponsoring« 2022-12-27 17:34:44 +01:00
dependabot[bot]
c50cd1b173
chore(deps): bump peaceiris/actions-hugo from 2.5.0 to 2.6.0 (#58)
Bumps [peaceiris/actions-hugo](https://github.com/peaceiris/actions-hugo) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/peaceiris/actions-hugo/releases)
- [Changelog](https://github.com/peaceiris/actions-hugo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-hugo/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: peaceiris/actions-hugo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 08:42:05 +02:00
dependabot[bot]
cfc44879d9
chore(deps): bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 (#57)
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3.8.0...v3.9.0)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 08:41:48 +02:00
Jan Raasch
90982df8c9 Revert "Fix link to »Blog« on demo page"
This reverts commit 9863ab4f50.

Whoops. I should update my local version of `hugo` 😊.

This broke the build, see https://github.com/janraasch/hugo-bearblog/actions/runs/3057300422/jobs/4932310672
2022-09-15 04:04:45 +02:00
Jan Raasch
9863ab4f50 Fix link to »Blog« on demo page
The demo is hosted at https://janraasch.github.io/hugo-bearblog/, but currently the link is »/blog«, so we end up at https://janraasch.github.io/blog with a `404` 🥹.
2022-09-15 04:00:41 +02:00
dependabot[bot]
f8bde64964
chore(deps-dev): bump js-beautify from 1.14.2 to 1.14.6 (#53)
Bumps [js-beautify](https://github.com/beautify-web/js-beautify) from 1.14.2 to 1.14.6.
- [Release notes](https://github.com/beautify-web/js-beautify/releases)
- [Changelog](https://github.com/beautify-web/js-beautify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/beautify-web/js-beautify/compare/v1.14.2...v1.14.6)

---
updated-dependencies:
- dependency-name: js-beautify
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-15 03:28:47 +02:00
Andrew Jorgensen
fc2635f25d
Use overflow-x: auto to avoid spilling long lines (#49) 2022-09-15 03:26:34 +02:00
dependabot[bot]
f70b720c7e
chore(deps-dev): bump js-beautify from 1.14.0 to 1.14.2 (#46)
Bumps [js-beautify](https://github.com/beautify-web/js-beautify) from 1.14.0 to 1.14.2.
- [Release notes](https://github.com/beautify-web/js-beautify/releases)
- [Commits](https://github.com/beautify-web/js-beautify/compare/v1.14.0...v1.14.2)

---
updated-dependencies:
- dependency-name: js-beautify
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 19:32:51 +02:00
dependabot[bot]
c9b3461ce6
chore(deps): bump actions/checkout from 2.3.4 to 3 (#43)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 18:40:29 +01:00
Timothy Vieregge
b1ebca14a6
Update config.toml (#41) 2022-01-24 08:08:18 +01:00
21 changed files with 651 additions and 239 deletions

2
.github/FUNDING.yml vendored
View File

@ -1,2 +0,0 @@
custom: ['https://www.paypal.me/janraasch/7,00']
github: ['janraasch']

41
.github/workflows/auto-merge.yml vendored Normal file
View File

@ -0,0 +1,41 @@
# see https://gist.github.com/xt0rted/46475099dc0a70ba63e16e3177407872
name: Dependabot auto-merge
on:
pull_request:
branches:
- master
permissions:
contents: read
pull-requests: read
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Create token
id: create_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.BIG_MERGER_APP_ID }}
private_key: ${{ secrets.BIG_MERGER_PRIVATE_KEY }}
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Authenticate cli
run: echo "${{ steps.create_token.outputs.token }}" | gh auth login --with-token
- name: Enable auto-merge for Dependabot PRs
if: contains(fromJSON('["version-update:semver-patch", "version-update:semver-minor"]'), steps.dependabot-metadata.outputs.update-type)
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}

View File

@ -10,23 +10,39 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 name: Build
runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.4 uses: actions/checkout@v4
- name: Setup Hugo - name: Setup Hugo
uses: peaceiris/actions-hugo@v2.5.0 uses: peaceiris/actions-hugo@v3.0.0
with: with:
hugo-version: latest hugo-version: latest
- name: Build local ./exampleSite - name: Build local ./exampleSite
run: hugo --minify --gc --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://janraasch.github.io/hugo-bearblog/ run: hugo --minify --gc --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://janraasch.github.io/hugo-bearblog/
- name: Deploy to GitHub Pages - name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: build
path: ./public
deploy:
needs: build
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
if: github.event_name == 'push' if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3.8.0 steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: build
path: ./public
- uses: peaceiris/actions-gh-pages@v4.0.0
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public publish_dir: ./public

View File

@ -1,4 +1,4 @@
# Hugo ʕ•ᴥ•ʔ Bear Blog ![Test](https://github.com/janraasch/hugo-bearblog/workflows/CI/badge.svg?branch=master&event=push) [![Pay me][paypal-svg]][paypal-dot-me] [![Sponsor me][github-sponsors-svg]][github-sponsors] # Hugo ʕ•ᴥ•ʔ Bear Blog ![Test](https://github.com/janraasch/hugo-bearblog/workflows/CI/badge.svg?branch=master&event=push)
🧸 A [Hugo](https://gohugo.io/)-theme based on [Bear Blog](https://bearblog.dev). 🧸 A [Hugo](https://gohugo.io/)-theme based on [Bear Blog](https://bearblog.dev).
@ -16,27 +16,21 @@ For a current & working demo of this theme, please check out https://janraasch.g
When the user's browser is running »dark mode«, the dark color scheme will be used automatically. The default is the light/white color scheme. Check out the [`style.html`](https://github.com/janraasch/hugo-bearblog/blob/master/layouts/partials/style.html)-file for the implementation. When the user's browser is running »dark mode«, the dark color scheme will be used automatically. The default is the light/white color scheme. Check out the [`style.html`](https://github.com/janraasch/hugo-bearblog/blob/master/layouts/partials/style.html)-file for the implementation.
## Sponsor 💟
Support my work on this theme via [GitHub Sponsors][github-sponsors] (recurring) or [PayPal][paypal-dot-me] (one-time).
[![GitHub Stats](https://github-readme-stats.vercel.app/api/?username=janraasch)][github-sponsors]
## Installation ## Installation
If you already have a Hugo site on your machine, you can simply add this theme via If you already have a Hugo site on your machine, you can simply add this theme via
``` ```bash
git submodule add https://github.com/janraasch/hugo-bearblog.git themes/hugo-bearblog git submodule add https://github.com/janraasch/hugo-bearblog.git themes/hugo-bearblog
``` ```
Then, adjust the `config.toml` as detailed below. Then, adjust the `hugo.toml` as detailed below.
For more information, read the official [setup guide][hugo-setup-guide] of Hugo. For more information, read the official [setup guide][hugo-setup-guide] of Hugo.
## Adjust configuration / config.toml ## Adjust configuration / hugo.toml
Please check out the [config.toml](https://github.com/janraasch/hugo-bearblog/blob/master/exampleSite/config.toml) included in the [exampleSite](https://github.com/janraasch/hugo-bearblog/tree/master/exampleSite) of this theme. Please check out the [hugo.toml](https://github.com/janraasch/hugo-bearblog/blob/master/exampleSite/hugo.toml) included in the [exampleSite](https://github.com/janraasch/hugo-bearblog/tree/master/exampleSite) of this theme.
## Content & structure ## Content & structure
@ -54,7 +48,7 @@ The contents of the `index`-page may be changed by editing your `content/_index.
You can add **a new page** via running You can add **a new page** via running
``` ```bash
hugo new my-new-page.md hugo new my-new-page.md
``` ```
@ -62,7 +56,7 @@ hugo new my-new-page.md
You can add **a new blog-post** via running You can add **a new blog-post** via running
``` ```bash
hugo new blog/my-new-post.md hugo new blog/my-new-post.md
``` ```
@ -73,7 +67,12 @@ Add a `custom_head.html`-file to your `layouts/partials`-directory. In there you
## Issues / Feedback / Contributing ## Issues / Feedback / Contributing
Please use [GitHub issues](https://github.com/janraasch/hugo-bearblog/issues) and [Pull Requests](https://github.com/janraasch/hugo-bearblog/pulls). Please use [GitHub issues](https://github.com/janraasch/hugo-bearblog/issues) and [Pull Requests](https://github.com/janraasch/hugo-bearblog/pulls).
If you do not have a GitHub-account, please hit me up via e-mail (see [janraasch.com](https://www.janraasch.com)). ## Development
Run the `exampleSite` locally via
```bash
hugo server --source ./exampleSite --themesDir ../..
```
## Special Thanks 🎁 ## Special Thanks 🎁
@ -82,10 +81,6 @@ A special thank you goes out to [Herman](https://herman.bearblog.dev), for creat
## License ## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License) © [Jan Raasch](https://www.janraasch.com) [MIT License](http://en.wikipedia.org/wiki/MIT_License) © [Jan Raasch](https://www.janraasch.com)
[paypal-dot-me]: https://www.paypal.me/janraasch/7,00
[github-sponsors]: https://github.com/sponsors/janraasch
[paypal-svg]: https://img.shields.io/badge/onetime-donation-11dde2.svg?logo=paypal
[github-sponsors-svg]: https://img.shields.io/badge/recurring-sponsorship-ee4aaa.svg?logo=github
[hugo-setup-guide]: https://gohugo.io/getting-started/installing [hugo-setup-guide]: https://gohugo.io/getting-started/installing
[light-screenshot]: https://raw.githubusercontent.com/janraasch/hugo-bearblog/master/images/screenshot.png [light-screenshot]: https://raw.githubusercontent.com/janraasch/hugo-bearblog/master/images/screenshot.png
[dark-screenshot]: https://raw.githubusercontent.com/janraasch/hugo-bearblog/master/images/screenshot-dark.png [dark-screenshot]: https://raw.githubusercontent.com/janraasch/hugo-bearblog/master/images/screenshot-dark.png

View File

@ -2,6 +2,11 @@
title = "{{ replace .Name "-" " " | title }}" title = "{{ replace .Name "-" " " | title }}"
date = "{{ .Date }}" date = "{{ .Date }}"
#
# lastmod is optional
#
# lastmod = "Timestamp that you edit this blog"
# #
# description is optional # description is optional
# #

View File

@ -1,4 +1,3 @@
<style>
body { body {
font-family: Verdana, sans-serif; font-family: Verdana, sans-serif;
margin: auto; margin: auto;
@ -73,6 +72,7 @@
padding: 20px; padding: 20px;
white-space: pre-wrap; white-space: pre-wrap;
font-size: 14px; font-size: 14px;
overflow-x: auto;
} }
div.highlight pre { div.highlight pre {
@ -125,48 +125,49 @@
color: #8b6fcb; color: #8b6fcb;
} }
@media (prefers-color-scheme: dark) { .blog-link {
body { text-decoration: none;
}
.dark-mode {
background-color: #333; background-color: #333;
color: #ddd; color: #ddd;
} }
h1, /* Dark Mode */
h2, .dark-mode h1,
h3, .dark-mode h2,
h4, .dark-mode h3,
h5, .dark-mode h4,
h6, .dark-mode h5,
strong, .dark-mode h6,
b { .dark-mode strong,
.dark-mode b {
color: #eee; color: #eee;
} }
a { .dark-mode a {
color: #8cc2dd; color: #8cc2dd;
} }
code { .dark-mode code {
background-color: #777; background-color: #777;
} }
pre code { .dark-mode pre code {
color: #ddd; color: #ddd;
} }
blockquote { .dark-mode blockquote {
color: #ccc; color: #ccc;
} }
textarea, .dark-mode textarea,
input { .dark-mode input {
background-color: #252525; background-color: #252525;
color: #ddd; color: #ddd;
} }
.helptext { .dark-mode .helptext {
color: #aaa; color: #aaa;
} }
}
</style>

28
assets/js/darkmode.js Normal file
View File

@ -0,0 +1,28 @@
/* Main darkmode script here */
function darkmode() {
if (localStorage.getItem('dark-mode') === 'false') {
darkmode_enable();
} else if (localStorage.getItem('dark-mode') === null) {
darkmode_enable();
} else {
darkmode_disable();
}
}
function darkmode_enable() {
document.body.classList.add("dark-mode");
localStorage.setItem('dark-mode', 'true');
}
function darkmode_disable() {
document.body.classList.remove("dark-mode");
localStorage.setItem('dark-mode', 'false');
}
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches && localStorage.getItem('dark-mode') === null) {
localStorage.setItem('dark-mode', 'true');
}
document.addEventListener("DOMContentLoaded", function() {
document.getElementById("dark-mode-button").addEventListener("click", darkmode);
});

View File

@ -0,0 +1,5 @@
/* darkmode_enable is defined in darkmode.js(should be in the same directory as this file) */
/* Must be executed after document.body is finished, else there would be error :) */
if (localStorage.getItem('dark-mode') === 'true') {
darkmode_enable()
}

26
assets/js/random_color.js Normal file
View File

@ -0,0 +1,26 @@
/* random text color on blog listing */
const links = document.querySelectorAll('.random-color');
// To avoid too bright and too dark color being generated
function getRandomColor(minBrightness = 100, maxBrightness = 230) {
// Generate random color components within a specific brightness range
let red = Math.floor(Math.random() * (maxBrightness - minBrightness) + minBrightness);
let green = Math.floor(Math.random() * (maxBrightness - minBrightness) + minBrightness);
let blue = Math.floor(Math.random() * (maxBrightness - minBrightness) + minBrightness);
// Convert components to hexadecimal string format
red = red.toString(16).padStart(2, '0');
green = green.toString(16).padStart(2, '0');
blue = blue.toString(16).padStart(2, '0');
return `#${red}${green}${blue}`;
}
function setRandomColors() {
links.forEach(link => {
link.style.color = getRandomColor();
});
}
window.onload = setRandomColors;

View File

@ -1,3 +1,10 @@
+++
# This title is used as the og:title on Hugo's internal
# opengraph structured data template on the home page.
# See https://ogp.me/ and https://gohugo.io/templates/internal#open-graph.
title = "Hugo ʕ•ᴥ•ʔ Bear"
+++
# A match made in heaven # A match made in heaven
There is a website obesity crisis. Bloated websites full of scripts, ads, and trackers are slowing your readers down every time they try to read your well-crafted content. There is a website obesity crisis. Bloated websites full of scripts, ads, and trackers are slowing your readers down every time they try to read your well-crafted content.

View File

@ -1,4 +1,5 @@
# Base URL used when generating links to your pages
# Set to the URL for your site
baseURL = "https://example.com" baseURL = "https://example.com"
# The name of this wonderful theme ;-). # The name of this wonderful theme ;-).
@ -49,3 +50,8 @@ ignoreErrors = ["error-disable-taxonomy"]
# for details. An example TOML config that uses [ISO # for details. An example TOML config that uses [ISO
# 8601](https://en.wikipedia.org/wiki/ISO_8601) format: # 8601](https://en.wikipedia.org/wiki/ISO_8601) format:
# dateFormat = "2006-01-02" # dateFormat = "2006-01-02"
# based on solutions by papermod : https://github.com/adityatelange/hugo-PaperMod/issues/89
# disable integrity on script,stylesheet linking
[params.assets]
# disableFingerprinting = true

View File

@ -15,7 +15,15 @@
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}} {{ end -}}
{{- partial "style.html" . -}} <!-- External Script, Stylesheet linking -->
{{- /* CSS stylesheet */}}
{{- $stylesheet := (resources.Get "css/style.css") | resources.Minify }}
{{- if not site.Params.assets.disableFingerprinting }}
{{- $stylesheet := $stylesheet | fingerprint }}
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet" as="style">
{{ else }}
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" rel="preload stylesheet" as="style">
{{ end }}
<!-- A partial to be overwritten by the user. <!-- A partial to be overwritten by the user.
Simply place a custom_head.html into Simply place a custom_head.html into
@ -24,6 +32,18 @@
</head> </head>
<body> <body>
{{- /* Darkmode Javascript */}}
{{- $darkmode_script := (resources.Get "js/darkmode.js") }}
{{- $darkmode_load_script := (resources.Get "js/darkmode_load.js") }}
{{- $darkmode_combined := slice $darkmode_script $darkmode_load_script | resources.Concat "js/darkmode.js" | resources.Minify }}
{{- if not site.Params.assets.disableFingerprinting }}
{{- $darkmode_combined := $darkmode_combined | fingerprint }}
<script crossorigin="anonymous" src="{{ $darkmode_combined.RelPermalink }}" integrity="{{ $darkmode_combined.Data.Integrity }}"></script>
{{ else }}
<script crossorigin="anonymous" src="{{ $darkmode_combined.RelPermalink }}"></script>
{{ end }}
<header> <header>
{{- partial "header.html" . -}} {{- partial "header.html" . -}}
</header> </header>
@ -32,6 +52,11 @@
</main> </main>
<footer> <footer>
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}
<!-- A partial to be overwritten by the user.
Simply place a custom_footer.html into
your local /layouts/partials-directory -->
{{- partial "custom_footer.html" -}}
</footer> </footer>
<!-- A partial to be overwritten by the user. <!-- A partial to be overwritten by the user.

View File

@ -3,9 +3,11 @@
{{ if .Data.Singular }} {{ if .Data.Singular }}
<h3 style="margin-bottom:0">Filtering for "{{ .Title }}"</h3> <h3 style="margin-bottom:0">Filtering for "{{ .Title }}"</h3>
<small> <small>
<a href="{{ "/blog" | relURL }}">Remove filter</a> <a href="{{ "blog" | relURL }}">Remove filter</a>
</small> </small>
{{ end }} {{ end }}
<!-- blog/_index.md content will goes here. -->
{{ .Content }}
<ul class="blog-posts"> <ul class="blog-posts">
{{ range .Pages }} {{ range .Pages }}
<li> <li>
@ -16,7 +18,7 @@
</time> </time>
</i> </i>
</span> </span>
<a href="{{ .Permalink }}">{{ .Title }}</a> <a class="random-color blog-link" href="{{ .Permalink }}">{{ .Title }}</a>
</li> </li>
{{ else }} {{ else }}
<li> <li>
@ -24,6 +26,16 @@
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
{{- /* Random Color Script */}}
{{- $random_color_script := (resources.Get "js/random_color.js") | resources.Minify }}
{{- if not site.Params.assets.disableFingerprinting }}
{{- $random_color_script := $random_color_script | fingerprint }}
<script async crossorigin="anonymous" src="{{ $random_color_script.RelPermalink }}" integrity="{{ $random_color_script.Data.Integrity }}"></script>
{{ else }}
<script async crossorigin="anonymous" src="{{ $random_color_script.RelPermalink }}"></script>
{{ end }}
{{ if .Data.Singular }} {{ if .Data.Singular }}
{{else}} {{else}}
<small> <small>

View File

@ -6,6 +6,12 @@
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate> <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
{{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }} {{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
</time> </time>
{{ if ne .Lastmod .Date }}
/ <b>EDIT :
<time datetime='{{ .Lastmod.Format "2006-01-02" }}'>
{{ .Lastmod.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
</time></b>
{{ end }}
</i> </i>
</p> </p>
{{ end }}{{ end }} {{ end }}{{ end }}

View File

@ -0,0 +1,3 @@
<!-- A partial to be overwritten by the user.
Simply place a custom_footer.html into
your local /layouts/partials-directory -->

View File

@ -1,4 +1,4 @@
<a href="{{ "/" | relURL }}" class="title"> <a href="{{ "" | relURL }}" class="title">
<h2>{{ .Site.Title }}</h2> <h2>{{ .Site.Title }}</h2>
</a> </a>
<nav>{{- partial "nav.html" . -}}</nav> <nav>{{- partial "nav.html" . -}}</nav>

View File

@ -1,7 +1,10 @@
<a href="{{ "/" | relURL }}">Home</a> <a href="{{ "" | relURL }}">Home</a>
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a> <a href="{{ .URL }}">{{ .Name }}</a>
{{ end }} {{ end }}
{{ with .Site.GetPage "/blog" }} {{ with .Site.GetPage "/blog" }}
<a href="{{ "/blog" | relURL }}">Blog</a> <a href="{{ "blog" | relURL }}">Blog</a>
{{ end }} {{ end }}
<a id="dark-mode-button">
<span>Toggle-Dark-Mode</span>
</a>

View File

@ -0,0 +1,2 @@
<!-- raw html -->
{{.Inner}}

453
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@
"description": "🧸 A [Hugo](https://gohugo.io/)-theme based on [Bear Blog](https://bearblog.dev).", "description": "🧸 A [Hugo](https://gohugo.io/)-theme based on [Bear Blog](https://bearblog.dev).",
"main": "index.js", "main": "index.js",
"devDependencies": { "devDependencies": {
"js-beautify": "^1.14.0" "js-beautify": "^1.15.1"
}, },
"scripts": { "scripts": {
"test": "npm run beautify", "test": "npm run beautify",

View File

@ -9,7 +9,7 @@ homepage = "https://github.com/janraasch/hugo-bearblog"
demosite = "https://janraasch.github.io/hugo-bearblog/" demosite = "https://janraasch.github.io/hugo-bearblog/"
tags = ["blog", "responsive", "minimal", "seo", "clean", "simple", "light", "minimalist", "mobile", "fast", "white", "minimalistic", "reading", "dark mode"] tags = ["blog", "responsive", "minimal", "seo", "clean", "simple", "light", "minimalist", "mobile", "fast", "white", "minimalistic", "reading", "dark mode"]
features = ["favicon", "seo", "no stylesheets", "no javascript", "rss", "dark mode"] features = ["favicon", "seo", "no stylesheets", "no javascript", "rss", "dark mode"]
min_version = "0.73.0" min_version = "v0.110.0"
# https://gohugo.io/content-management/taxonomies#default-taxonomies # https://gohugo.io/content-management/taxonomies#default-taxonomies
# https://gohugo.io/templates/taxonomy-templates/#example-list-tags-in-a-single-page-template # https://gohugo.io/templates/taxonomy-templates/#example-list-tags-in-a-single-page-template
# https://gohugo.io/templates/taxonomy-templates/#example-list-all-site-tags # https://gohugo.io/templates/taxonomy-templates/#example-list-all-site-tags