Commit Graph

80 Commits

Author SHA1 Message Date
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
Andrew Jorgensen
2fa45b92a2
Fix a remaining issue with b8c8871 (#20) (#25)
It turns out my original proposal for #20 was correct, but not for the
reasons I thought. We need to set both `background-color` and `color` to
`initial` on `div.highlight pre` because that's where Chroma sets those
colors (including the default `color` if configured). Setting to
`initial` there makes it so that if the selected style *doesn't*
configure a default color, we'll use the `initial` color, which is going
to be the right choice because the reason style author left that unset
because they didn't consider dark color schemes messing with their
style. Then we `unset` the colors on `div.highlight code` because
otherwise the `code` colors from the theme will override the colors that
would otherwise be inherited from Chroma's `<pre>` element.

Stricly speaking I can't say that setting `background-color` to
`initial` is required, because I haven't found a Chroma style that
*doesn't* set a `background-color`, but I figure it's possible (at least
for a light theme) and it makes sense to fix it just in case, and causes
no harm otherwise.
2021-08-13 08:42:04 +02:00
Jan Raasch
78c5241a8e Revert "Do not touch div.highlight styles"
This reverts commit d3a86c7c6d.
2021-08-13 08:40:13 +02:00
Jan Raasch
a09bc35d1a chore: add demosite to theme.toml
see https://github.com/gohugoio/hugoThemesSiteBuilder#theme-configuration
2021-08-09 19:28:03 +02:00
Jan Raasch
d3a86c7c6d Do not touch div.highlight styles
Closes #25
2021-08-09 18:56:14 +02:00