Commit graph

401 commits

Author SHA1 Message Date
Patrick Kollitsch c672ad4299
fix: add FontAwesome brand icons (free) and LICENSE.txt
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-20 12:47:56 +07:00
Patrick Kollitsch 6e465653ec
build(feat): add proper npm run server script
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 16:17:52 +07:00
Patrick Kollitsch 363bd2e656
config(fix): move paginate to pagination.pagerSize (deprecation)
closes #746

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 15:54:45 +07:00
Patrick Kollitsch 0608f9f9fc
chore(config): update workspace configuration
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 14:44:07 +07:00
Patrick Kollitsch 1ff3417339
chore(git): revert last commit
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 14:00:10 +07:00
Patrick Kollitsch 8e89a24514
fix: add FontAwesome brand icons (free) and LICENSE.txt
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 13:55:59 +07:00
Patrick Kollitsch dcc979b66d
chore(deps): update go module configuration
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 12:25:39 +07:00
Patrick Kollitsch c018578ca0
refactor: removed a space
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 12:24:47 +07:00
Patrick Kollitsch d4898fb4cf
docs: update README.md with markup changes (#739)
- adds language code to each highlight markdown
- uses consistent TOML for config samples and YAML for frontmatter
samples

**Closing issues**

closes #735

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 10:12:55 +07:00
dependabot[bot] 37f11f0dbc
build(deps-dev): bump @davidsneighbour/release-config from 2024.3.46 to 2024.4.5 (#742)
Bumps
[@davidsneighbour/release-config](https://github.com/davidsneighbour/configurations)
from 2024.3.46 to 2024.4.5.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="bf705855d0"><code>bf70585</code></a>
chore(release): publish v2024.4.5</li>
<li><a
href="9126d00afe"><code>9126d00</code></a>
chore: rework into commonjs package</li>
<li><a
href="11a1bb80ce"><code>11a1bb8</code></a>
chore(release): publish v2024.4.4</li>
<li><a
href="87bffa8f03"><code>87bffa8</code></a>
chore: rework into commonjs package</li>
<li><a
href="81de5630b0"><code>81de563</code></a>
chore(deps): update dependency eslint-plugin-cypress to v4 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1602">#1602</a>)</li>
<li><a
href="bda4d0e39f"><code>bda4d0e</code></a>
chore(deps): update dependency stylelint to v16.10.0 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1603">#1603</a>)</li>
<li><a
href="df1261f312"><code>df1261f</code></a>
chore(deps): update dependency eslint-plugin-cypress to v3.6.0 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1601">#1601</a>)</li>
<li><a
href="d9e9439f85"><code>d9e9439</code></a>
chore(deps): add and update dependencies</li>
<li><a
href="58c275e4a4"><code>58c275e</code></a>
biome(feat): add biome-config</li>
<li><a
href="47db79f6de"><code>47db79f</code></a>
chore(release): publish v2024.4.3</li>
<li>Additional commits viewable in <a
href="https://github.com/davidsneighbour/configurations/compare/v2024.3.46...v2024.4.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@davidsneighbour/release-config&package-manager=npm_and_yarn&previous-version=2024.3.46&new-version=2024.4.5)](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-10-18 10:10:53 +07:00
dependabot[bot] d240de7419
build(deps): bump postcss-preset-env from 10.0.5 to 10.0.7 (#743)
Bumps
[postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env)
from 10.0.5 to 10.0.7.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md">postcss-preset-env's
changelog</a>.</em></p>
<blockquote>
<h3>10.0.7</h3>
<p><em>October 10, 2024</em></p>
<ul>
<li>Updated <a
href="https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-media"><code>postcss-custom-media</code></a>
to <a
href="https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-media/CHANGELOG.md#1103"><code>11.0.3</code></a>
(patch)</li>
<li>Updated <a
href="https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser"><code>@csstools/media-query-list-parser</code></a>
to <a
href="https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser/CHANGELOG.md#400"><code>4.0.0</code></a>
(major)</li>
<li>Updated <a
href="https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer"><code>@csstools/css-tokenizer</code></a>
to <a
href="https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#302"><code>3.0.2</code></a>
(patch)</li>
</ul>
<h3>10.0.6</h3>
<p><em>October 4, 2024</em></p>
<ul>
<li>Updated <a
href="https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-media"><code>postcss-custom-media</code></a>
to <a
href="https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-media/CHANGELOG.md#1102"><code>11.0.2</code></a>
(patch)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=postcss-preset-env&package-manager=npm_and_yarn&previous-version=10.0.5&new-version=10.0.7)](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-10-18 10:09:16 +07:00
Patrick Kollitsch 73eaa774a6
build(deps-dev): bump @davidsneighbour/tools from 2024.3.46 to 2024.4.5 (#744)
Bumps
[@davidsneighbour/tools](https://github.com/davidsneighbour/configurations)
from 2024.3.46 to 2024.4.5.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="bf705855d0"><code>bf70585</code></a>
chore(release): publish v2024.4.5</li>
<li><a
href="9126d00afe"><code>9126d00</code></a>
chore: rework into commonjs package</li>
<li><a
href="11a1bb80ce"><code>11a1bb8</code></a>
chore(release): publish v2024.4.4</li>
<li><a
href="87bffa8f03"><code>87bffa8</code></a>
chore: rework into commonjs package</li>
<li><a
href="81de5630b0"><code>81de563</code></a>
chore(deps): update dependency eslint-plugin-cypress to v4 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1602">#1602</a>)</li>
<li><a
href="bda4d0e39f"><code>bda4d0e</code></a>
chore(deps): update dependency stylelint to v16.10.0 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1603">#1603</a>)</li>
<li><a
href="df1261f312"><code>df1261f</code></a>
chore(deps): update dependency eslint-plugin-cypress to v3.6.0 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1601">#1601</a>)</li>
<li><a
href="d9e9439f85"><code>d9e9439</code></a>
chore(deps): add and update dependencies</li>
<li><a
href="58c275e4a4"><code>58c275e</code></a>
biome(feat): add biome-config</li>
<li><a
href="47db79f6de"><code>47db79f</code></a>
chore(release): publish v2024.4.3</li>
<li>Additional commits viewable in <a
href="https://github.com/davidsneighbour/configurations/compare/v2024.3.46...v2024.4.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@davidsneighbour/tools&package-manager=npm_and_yarn&previous-version=2024.3.46&new-version=2024.4.5)](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>
2024-10-18 10:08:08 +07:00
dependabot[bot] 46376750cc
build(deps-dev): bump @davidsneighbour/tools from 2024.3.46 to 2024.4.5
Bumps [@davidsneighbour/tools](https://github.com/davidsneighbour/configurations) from 2024.3.46 to 2024.4.5.
- [Commits](https://github.com/davidsneighbour/configurations/compare/v2024.3.46...v2024.4.5)

---
updated-dependencies:
- dependency-name: "@davidsneighbour/tools"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-18 02:43:47 +00:00
Patrick Kollitsch 8e1a6dc213
chore(git): merge pull request #740 from theNewDynamic/fix/netlify-config
build(fix): proper configuration for netlify
2024-10-18 07:28:41 +07:00
Patrick Kollitsch db073d61a0
build(fix): proper configuration for netlify
- move environment from production to general build section
- set HUGO_VERSION to 0.128.0 as per hugo.toml

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-18 07:27:47 +07:00
Patrick Kollitsch 773f06c207
chore(git): merge pull request #738 from jmooring:simplify-lang-attribute
refactor: simplify lang attribute in html element

As of Hugo v0.122.4, these are equivalent:

```
{{ site.LanguageCode | default site.Language.Lang  }}
{{ site.Language.LanguageCode }}
```
See <https://gohugo.io/methods/site/language/#methods>
2024-10-18 07:01:05 +07:00
Joe Mooring 0b0fe2fd45 refactor: Simplify lang attribute in html element 2024-10-17 09:36:37 -07:00
Patrick Kollitsch ad80eb217f
build: add netlify.toml for Netlify deploy
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-10-17 18:16:45 +07:00
Patrick Kollitsch 33178c0d49
docs: changelog fixes
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-28 11:30:59 +07:00
Patrick Kollitsch 6e6e17d663
chore(release): v2.10.0
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-28 11:27:26 +07:00
Patrick Kollitsch 6367ffa829
chore(release): v2.10.0-prerelease.0
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 10:38:37 +07:00
Patrick Kollitsch a889122fbd
build(fix): add release scripts
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 10:33:30 +07:00
Patrick Kollitsch e086aa9f8a
docs(fix): move old changelog
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 10:32:23 +07:00
Patrick Kollitsch dccde1ec30
build(fix): recover build system
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 10:32:05 +07:00
Patrick Kollitsch 4e613a92d0
chore(config): move configuration into config subfolder structure and require 0.128.0
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 10:30:06 +07:00
Patrick Kollitsch c1530b7c0d
docs(fix): add note about powershell environment
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 10:06:08 +07:00
Patrick Kollitsch b1f6a2834f
docs(fix): remove todo note that can't be traced to any issue
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 10:04:27 +07:00
fitrarhm 53463ffaa2
theme(i18n): add indonesian language (#672)
Co-authored-by: fitrarahim <fitrarahim52663@gmail.com>
2024-09-26 10:01:04 +07:00
Patrick Kollitsch 791c4008ac
chore(fix): full URL to discussion forum
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:53:53 +07:00
Patrick Kollitsch 7c5c9c307b
chore(config): add github templates for issues and pull requests
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:51:54 +07:00
Patrick Kollitsch 3c3478addf
chore(config): add dependabot configuration
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:51:01 +07:00
Patrick Kollitsch d0490cba66
chore(config): update dependencies and package.json content
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:17 +07:00
Patrick Kollitsch 76460d7a33
refactor: indentation and file formatting changes
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:17 +07:00
Patrick Kollitsch 549d73576e
chore(config): add resources to ignored files
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:17 +07:00
Patrick Kollitsch 1a4ad28b87
chore(config): add workspace configuration file for vscode
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:16 +07:00
Patrick Kollitsch 8a7847ffc3
chore: add package lockfile
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-26 09:49:16 +07:00
Jack Andrew 554e53e626
fix: update filepaths in README.md (#693)
* fix: update filepaths in README.md
2024-09-20 08:21:14 +07:00
Patrick Kollitsch ca6da4883e
docs(fix): proper TOML format for frontmatter sample (#717)
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-19 16:04:12 +07:00
Patrick Kollitsch 321680f6ee
theme(fix): replace deprecated resources.ToCSS with css.Sass
fixes #712

Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-17 23:31:24 +07:00
Patrick Kollitsch 9a0a974089
chore(fix): being maintained again
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
2024-09-17 22:52:23 +07:00
Bud Parr af9d8e86fc
Update issue templates 2024-09-10 11:02:37 -04:00
Bud Parr 46632a1e1b
Update README.md 2024-09-10 11:00:01 -04:00
Bud Parr ded8960bcb
Update README.md to fix demo site
Fixes #709 and #688
2024-09-09 08:59:19 -04:00
Ramiro Morales 33fbda0e9d
Fix render breakage introduced in #665 (#685)
A bare bones setup of two pages and two posts gets broken because of a
template change missed in #665

Fatal error message in readable form:
```
ERROR render:
failed to render pages:
render of "home" failed: "/themes/ananke/layouts/index.html:48:23":
execute of template failed:
template:
index.html:48:23:
executing "main" at <.Site.GetPage>: can't evaluate field Site in type string
```

Steps to reproduce:

```shell
hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml
echo -e "+++\ntitle='Home'\n+++\n\nMain page" > content/_index.md
echo Foo. > content/page1.md
echo Bar > content/page2.md
mkdir -p content/post
echo "First post." > content/post/post1.md
echo "Second post." > content/post/post2.md
hugo server
Watching for changes in .../quickstart/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in .../quickstart/hugo.toml, ...quickstart/themes/ananke/config.yaml
Start building sites …
hugo v0.125.3-474c4c02212cf97712c6fbf4159c68822ea6e078+extended darwin/amd64 BuildDate=2024-04-22T17:18:35Z VendorInfo=brew

Built in 67 ms
Error: error building site: render: failed to render pages: render of "home" failed: ".../quickstart/themes/ananke/layouts/index.html:48:23": execute of template failed: template: index.html:48:23: executing "main" at <.Site.GetPage>: can't evaluate field Site in type string
```
2024-05-03 13:43:35 -04:00
Blackeye f34c219436
Contribution: fix hard-coded link to section #664 (#665)
* allow_multiple_mainsection

* removed comment

---------

Co-authored-by: Blackeye <>
2024-04-18 11:26:30 -04:00
Johannes Arnold 0d068637cc
Include authors meta tag (#634) 2024-04-18 11:23:24 -04:00
Joe Mooring 91df000ca8
Access Disqus shortname from canonical location (#660) 2023-11-22 11:05:23 -05:00
mathew bd759431a9
Add missing "read more" link to summary.html (#658)
* Add missing "read more" link to summary.html

* Fix layouts/post/summary to add read more link
2023-11-21 15:08:47 -05:00
mathew 64dc2b6dea
Fix capitalization of single header for a11y (#657)
Thank you!
2023-11-21 15:06:16 -05:00
Joris Conijn 221a0d8817
feat: add canonical url support (#650)
When you want to publish content that is already published on a different site. You need to reference a canonical url of the original content.
By defining the `canonicalUrl` in the front matter definition the canonical url is set in the headers.
2023-11-21 14:41:58 -05:00