Compare commits

...

167 Commits

Author SHA1 Message Date
Mark Dumay
9c71856e49 Merge pull request #915 from gethinode/develop
Improve image set rendering
2024-05-06 09:25:09 +02:00
Mark Dumay
9300a794b1 Improve image set rendering 2024-05-06 08:14:15 +02:00
Mark Dumay
6d57058d9e Merge pull request #913 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-05-05 09:59:41 +02:00
markdumay
b6e5b24514 fix: update Hugo module dependencies 2024-05-05 07:54:06 +00:00
Mark Dumay
f1d99aa191 Merge pull request #912 from gethinode/develop
Introduce pagination parameter for card groups
2024-05-04 06:47:24 +02:00
Mark Dumay
5597ad8c7d Merge branch 'main' into develop 2024-05-04 06:39:46 +02:00
github-actions[bot]
cce1a68c0b Merge pull request #907 from gethinode/dependabot/npm_and_yarn/stylelint-16.5.0
Bump stylelint from 16.4.0 to 16.5.0
2024-05-04 04:36:50 +00:00
Mark Dumay
b3116d0c86 Merge branch 'main' into dependabot/npm_and_yarn/stylelint-16.5.0 2024-05-04 06:32:05 +02:00
Mark Dumay
0540f4f0ae Introduce pagination parameter for card groups
Fixes #910
2024-05-04 06:31:47 +02:00
Mark Dumay
172fbcfbfb Merge pull request #911 from gethinode/develop
Fix linting issues
2024-05-04 06:30:13 +02:00
Mark Dumay
2cfb171f9e Merge branch 'main' into develop 2024-05-04 05:50:58 +02:00
Mark Dumay
d1e589f60c Fix linting issues 2024-05-04 05:50:26 +02:00
Mark Dumay
e866263fd0 Merge pull request #909 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-05-04 05:46:51 +02:00
markdumay
f749f7311c fix: update Hugo module dependencies 2024-05-03 03:06:25 +00:00
dependabot[bot]
29f0caf070 Bump stylelint from 16.4.0 to 16.5.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.4.0 to 16.5.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.4.0...16.5.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 13:33:09 +00:00
github-actions[bot]
b3a16435f8 Merge pull request #908 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.122.5
Bump hugo-bin from 0.122.4 to 0.122.5
2024-05-02 13:32:24 +00:00
dependabot[bot]
2a17b0faa1 Bump hugo-bin from 0.122.4 to 0.122.5
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.122.4 to 0.122.5.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.122.4...v0.122.5)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 13:27:20 +00:00
github-actions[bot]
b29206df52 Merge pull request #905 from gethinode/dependabot/npm_and_yarn/cssnano-7.0.1
Bump cssnano from 7.0.0 to 7.0.1
2024-04-29 14:10:34 +00:00
dependabot[bot]
88210f6f0f Bump cssnano from 7.0.0 to 7.0.1
Bumps [cssnano](https://github.com/cssnano/cssnano) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@7.0.0...cssnano@7.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 14:05:12 +00:00
github-actions[bot]
571353a1f0 Merge pull request #904 from gethinode/dependabot/npm_and_yarn/cssnano-preset-advanced-7.0.1
Bump cssnano-preset-advanced from 7.0.0 to 7.0.1
2024-04-29 14:04:32 +00:00
dependabot[bot]
22a2b3e308 Bump cssnano-preset-advanced from 7.0.0 to 7.0.1
Bumps [cssnano-preset-advanced](https://github.com/cssnano/cssnano) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano-preset-advanced@7.0.0...cssnano-preset-advanced@7.0.1)

---
updated-dependencies:
- dependency-name: cssnano-preset-advanced
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 13:57:56 +00:00
Mark Dumay
c91642cbb8 Merge pull request #903 from gethinode/develop
Fix alignment of color-mode aware brand logo
2024-04-29 09:15:48 +02:00
Mark Dumay
12f334292a Merge branch 'main' into develop 2024-04-29 09:10:04 +02:00
Mark Dumay
9394ae46e8 Bump package release 2024-04-29 09:09:37 +02:00
Mark Dumay
aa82875644 Fix alignment of color-mode aware brand logo 2024-04-29 09:08:55 +02:00
Mark Dumay
6245c70de5 Merge pull request #900 from gethinode/develop
Support explicit overlay mode "none" setting
2024-04-28 14:27:48 +02:00
Mark Dumay
51a85ac675 Merge branch 'main' into develop 2024-04-28 14:12:27 +02:00
Mark Dumay
a9d62233b4 Support explicit overlay mode "none" setting 2024-04-28 14:11:52 +02:00
Mark Dumay
b9ff083fee Merge pull request #899 from gethinode/develop
Bump package release
2024-04-28 13:33:37 +02:00
Mark Dumay
a8efa359f9 Merge branch 'main' into develop 2024-04-28 13:27:01 +02:00
Mark Dumay
0be27d429a Merge pull request #898 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-04-28 13:26:28 +02:00
Mark Dumay
e6de1f6d5c Bump package release 2024-04-28 11:56:59 +02:00
markdumay
7db1b24358 fix: update Hugo module dependencies 2024-04-28 09:53:58 +00:00
Mark Dumay
7b68f9b26c Merge pull request #897 from gethinode/develop
Include Go installation to ensure macos-13+ compatibility
2024-04-28 10:01:45 +02:00
Mark Dumay
9c0427be0d Merge branch 'main' into develop 2024-04-28 09:55:44 +02:00
Mark Dumay
da32ba604a Include Go installation to ensure macos-13+ compatibility
Fixes [BUG] Automated test not compatible with GHA macOS 14 #890
2024-04-28 09:55:04 +02:00
github-actions[bot]
011c83bfc9 Merge pull request #896 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.122.4
Bump hugo-bin from 0.122.3 to 0.122.4
2024-04-26 13:25:21 +00:00
dependabot[bot]
5bc0364110 Bump hugo-bin from 0.122.3 to 0.122.4
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.122.3 to 0.122.4.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.122.3...v0.122.4)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-26 13:16:30 +00:00
github-actions[bot]
b4e09ac819 Merge pull request #895 from gethinode/dependabot/npm_and_yarn/cssnano-preset-advanced-7.0.0
Bump cssnano-preset-advanced from 6.1.2 to 7.0.0
2024-04-25 13:59:07 +00:00
dependabot[bot]
baa8b31078 Bump cssnano-preset-advanced from 6.1.2 to 7.0.0
Bumps [cssnano-preset-advanced](https://github.com/cssnano/cssnano) from 6.1.2 to 7.0.0.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano-preset-advanced@6.1.2...cssnano-preset-advanced@7.0.0)

---
updated-dependencies:
- dependency-name: cssnano-preset-advanced
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 13:53:48 +00:00
github-actions[bot]
54c3afaa31 Merge pull request #894 from gethinode/dependabot/npm_and_yarn/cssnano-7.0.0
Bump cssnano from 6.1.2 to 7.0.0
2024-04-25 13:53:01 +00:00
dependabot[bot]
00bc00d877 Bump cssnano from 6.1.2 to 7.0.0
Bumps [cssnano](https://github.com/cssnano/cssnano) from 6.1.2 to 7.0.0.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@6.1.2...cssnano@7.0.0)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 13:48:17 +00:00
Mark Dumay
9f03167c1e Merge pull request #893 from gethinode/develop
Bump package release
2024-04-25 11:15:01 +02:00
Mark Dumay
b7add5ed8d Merge branch 'main' into develop 2024-04-25 11:09:42 +02:00
Mark Dumay
d78df1cd0a Bump package release 2024-04-25 11:07:07 +02:00
Mark Dumay
b231f486b0 Merge pull request #892 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-04-25 11:06:21 +02:00
markdumay
0601a8583f fix: update Hugo module dependencies 2024-04-25 09:00:07 +00:00
Mark Dumay
d9190b121f Merge pull request #888 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-04-25 10:59:19 +02:00
Mark Dumay
d568cdadf1 Merge branch 'main' into hugo-mod-dependencies 2024-04-25 10:47:40 +02:00
Mark Dumay
c17d98e073 Merge pull request #889 from gethinode/develop
Fix runner image to macOS 12
2024-04-25 10:47:23 +02:00
Mark Dumay
7d3a878c56 Update hugo bin 2024-04-25 10:30:02 +02:00
Mark Dumay
f7d5605d2d Fix runner image to macOS 12 2024-04-25 10:23:52 +02:00
Mark Dumay
306a94261b Revert back to hugo v0.125.2 2024-04-25 10:06:55 +02:00
Mark Dumay
484dc39338 Display env 2024-04-25 10:03:13 +02:00
Mark Dumay
dca9b3a1da Revert back to hugo v0.125.2 2024-04-25 09:49:45 +02:00
Mark Dumay
f11f9f0d71 Temp disable nodejs v18 test 2024-04-25 07:48:36 +02:00
markdumay
e10d41cb76 fix: update Hugo module dependencies 2024-04-25 05:29:12 +00:00
Mark Dumay
b929b8e12a Merge pull request #883 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.122.3
Bump hugo-bin from 0.121.1 to 0.122.3
2024-04-24 17:07:10 +02:00
Mark Dumay
f4d8ab82f1 Merge branch 'main' into dependabot/npm_and_yarn/hugo-bin-0.122.3 2024-04-24 16:50:20 +02:00
Mark Dumay
7aa17ef998 Merge pull request #887 from gethinode/develop
Fix Google Analytics config
2024-04-24 16:38:46 +02:00
Mark Dumay
aa2da9a398 Fix Google Analytics config
fixes #882
2024-04-24 16:32:32 +02:00
Mark Dumay
d920da77f2 Merge pull request #885 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-04-24 16:10:31 +02:00
markdumay
5920c352bd fix: update Hugo module dependencies 2024-04-24 03:17:55 +00:00
dependabot[bot]
934ea784cc Bump hugo-bin from 0.121.1 to 0.122.3
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.121.1 to 0.122.3.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.121.1...v0.122.3)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 14:09:25 +00:00
github-actions[bot]
2577c24b08 Merge pull request #884 from gethinode/dependabot/npm_and_yarn/stylelint-16.4.0
Bump stylelint from 16.3.1 to 16.4.0
2024-04-23 14:08:42 +00:00
dependabot[bot]
da74fc8a93 Bump stylelint from 16.3.1 to 16.4.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.3.1 to 16.4.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.3.1...16.4.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 14:03:27 +00:00
Mark Dumay
1a2b4a1b02 Merge pull request #876 from gethinode/develop
Add support for static list content to nav asset
2024-04-12 07:46:29 +02:00
Mark Dumay
da7dfc58ef Bump package release 2024-04-12 06:44:26 +02:00
Mark Dumay
c14b8279b6 Add support for static list content to nav asset 2024-04-12 06:43:41 +02:00
github-actions[bot]
ebf5c7e0ac Merge pull request #871 from gethinode/dependabot/npm_and_yarn/markdownlint-cli2-0.13.0
Bump markdownlint-cli2 from 0.12.1 to 0.13.0
2024-04-04 13:11:38 +00:00
dependabot[bot]
86aa6a2041 Bump markdownlint-cli2 from 0.12.1 to 0.13.0
Bumps [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) from 0.12.1 to 0.13.0.
- [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/DavidAnson/markdownlint-cli2/compare/v0.12.1...v0.13.0)

---
updated-dependencies:
- dependency-name: markdownlint-cli2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 13:06:15 +00:00
github-actions[bot]
f0f7f13293 Merge pull request #870 from gethinode/dependabot/npm_and_yarn/stylelint-config-standard-scss-13.1.0
Bump stylelint-config-standard-scss from 13.0.0 to 13.1.0
2024-04-03 13:38:39 +00:00
dependabot[bot]
d71a0af48d Bump stylelint-config-standard-scss from 13.0.0 to 13.1.0
Bumps [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases)
- [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v13.0.0...v13.1.0)

---
updated-dependencies:
- dependency-name: stylelint-config-standard-scss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-03 13:31:34 +00:00
Mark Dumay
2037a93c84 Merge pull request #869 from gethinode/offset
Parameterize navbar offset
2024-04-03 08:41:33 +02:00
Mark Dumay
40cdde008d Adjust vertical alignment of navbar controls 2024-04-03 07:34:45 +02:00
Mark Dumay
fad037d8f8 Add default value for offsetXS param 2024-04-03 07:25:31 +02:00
Mark Dumay
b4a973dbf7 Merge branch 'main' into offset 2024-04-03 07:23:11 +02:00
github-actions[bot]
ffc19cd7ce Merge pull request #868 from gethinode/dependabot/npm_and_yarn/fullhuman/postcss-purgecss-6.0.0
Bump @fullhuman/postcss-purgecss from 5.0.0 to 6.0.0
2024-04-01 14:06:07 +00:00
dependabot[bot]
68a7f37439 Bump @fullhuman/postcss-purgecss from 5.0.0 to 6.0.0
Bumps [@fullhuman/postcss-purgecss](https://github.com/FullHuman/purgecss) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/FullHuman/purgecss/releases)
- [Changelog](https://github.com/FullHuman/purgecss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/FullHuman/purgecss/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: "@fullhuman/postcss-purgecss"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 14:00:41 +00:00
Mark Dumay
a5a73fd188 Drop visual cue for debugging 2024-04-01 09:30:46 +02:00
Mark Dumay
f030fa8140 Adjust navbar logo and brand text alignment 2024-04-01 09:23:50 +02:00
Mark Dumay
f2fefdaa9e Parameterize navbar-offset 2024-04-01 09:23:20 +02:00
Mark Dumay
1a585304f3 Merge pull request #866 from gethinode/develop
Fix alignment of card buttons
2024-03-31 15:45:25 +02:00
Mark Dumay
05e1f58c1a Merge branch 'main' into develop 2024-03-31 15:36:56 +02:00
Mark Dumay
dda87bb14f Bump package release 2024-03-31 15:36:20 +02:00
Mark Dumay
2bce17eb46 Fix alignment of card buttons 2024-03-31 15:35:58 +02:00
Mark Dumay
5356483d71 Merge pull request #865 from gethinode/develop
Bump package release
2024-03-31 07:23:37 +02:00
Mark Dumay
a465c23cb3 Merge branch 'main' into develop 2024-03-31 07:10:45 +02:00
Mark Dumay
26c2519c8b Bump package release 2024-03-31 07:10:16 +02:00
Mark Dumay
8ee63e6a8b Merge pull request #864 from gethinode/develop
Add base theme placeholder
2024-03-31 07:07:42 +02:00
Mark Dumay
c71895ffcf Merge branch 'main' into develop 2024-03-31 06:47:06 +02:00
Mark Dumay
e52ae48f28 Add base theme placeholder 2024-03-31 06:46:32 +02:00
Mark Dumay
340f591c09 Clean up resolved to do 2024-03-31 06:45:55 +02:00
Mark Dumay
e873fed3f2 Merge pull request #863 from hawkeye116477/main
Add Polish translations
2024-03-30 06:46:03 +01:00
hawkeye116477
b60dc747c6 Add Polish translations 2024-03-29 16:16:23 +01:00
github-actions[bot]
996d31ca5b Merge pull request #859 from gethinode/dependabot/npm_and_yarn/cssnano-preset-advanced-6.1.2
Bump cssnano-preset-advanced from 6.1.1 to 6.1.2
2024-03-26 14:18:30 +00:00
dependabot[bot]
6bbe0a166d Bump cssnano-preset-advanced from 6.1.1 to 6.1.2
Bumps [cssnano-preset-advanced](https://github.com/cssnano/cssnano) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano-preset-advanced@6.1.1...cssnano-preset-advanced@6.1.2)

---
updated-dependencies:
- dependency-name: cssnano-preset-advanced
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 14:12:57 +00:00
github-actions[bot]
48d500776a Merge pull request #861 from gethinode/dependabot/npm_and_yarn/cssnano-6.1.2
Bump cssnano from 6.1.1 to 6.1.2
2024-03-26 14:12:07 +00:00
dependabot[bot]
4e3cfb2e86 Bump cssnano from 6.1.1 to 6.1.2
Bumps [cssnano](https://github.com/cssnano/cssnano) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@6.1.1...cssnano@6.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 14:07:27 +00:00
github-actions[bot]
5361d1d182 Merge pull request #862 from gethinode/dependabot/npm_and_yarn/express-4.19.2
Bump express from 4.18.2 to 4.19.2
2024-03-26 14:06:31 +00:00
dependabot[bot]
4a0d0aa896 Bump express from 4.18.2 to 4.19.2
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 14:01:11 +00:00
github-actions[bot]
cab639f687 Merge pull request #860 from gethinode/dependabot/npm_and_yarn/stylelint-16.3.1
Bump stylelint from 16.3.0 to 16.3.1
2024-03-26 14:00:42 +00:00
dependabot[bot]
2c4a905d36 Bump stylelint from 16.3.0 to 16.3.1
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.3.0 to 16.3.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.3.0...16.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 13:51:40 +00:00
github-actions[bot]
3119cf064b Merge pull request #858 from gethinode/dependabot/npm_and_yarn/stylelint-16.3.0
Bump stylelint from 16.2.1 to 16.3.0
2024-03-25 13:56:43 +00:00
dependabot[bot]
a3b678e88b Bump stylelint from 16.2.1 to 16.3.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.2.1 to 16.3.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.2.1...16.3.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 13:52:10 +00:00
github-actions[bot]
e03b82a0d1 Merge pull request #857 from gethinode/dependabot/github_actions/dependabot/fetch-metadata-2
Bump dependabot/fetch-metadata from 1 to 2
2024-03-25 13:44:36 +00:00
dependabot[bot]
546186670d Bump dependabot/fetch-metadata from 1 to 2
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1 to 2.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1...v2)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 13:39:54 +00:00
Mark Dumay
b02e9f864c Merge pull request #855 from gethinode/develop
Fix brand logo alignment on small screens
2024-03-24 13:53:45 +01:00
Mark Dumay
f7ba0acf96 Merge branch 'main' into develop 2024-03-24 13:46:49 +01:00
Mark Dumay
214856b97f Fix brand logo alignment on small screens 2024-03-24 13:41:51 +01:00
Mark Dumay
5410a0dc5f Merge pull request #854 from gethinode/develop
Fix navbar divider color in overlay mode
2024-03-23 09:10:02 +01:00
Mark Dumay
a1049bce2c Merge branch 'main' into develop 2024-03-23 08:23:01 +01:00
Mark Dumay
660f2bce9f Bump package release 2024-03-23 08:22:07 +01:00
Mark Dumay
065c0a0ab2 Fix navbar divider color in overlay mode 2024-03-23 08:21:13 +01:00
Mark Dumay
61cb0c50da Merge pull request #852 from gethinode/develop
Fix paginator
2024-03-22 07:38:31 +01:00
Mark Dumay
c897cd3860 Merge branch 'main' into develop 2024-03-22 07:30:39 +01:00
Mark Dumay
184ccea8c2 Bump package release 2024-03-22 07:30:12 +01:00
Mark Dumay
d5b8e6af8b Fix paginate max argument 2024-03-22 07:14:30 +01:00
Mark Dumay
ff120808ad Fix paginator availability 2024-03-22 06:17:49 +01:00
github-actions[bot]
ceaa91b511 Merge pull request #850 from gethinode/dependabot/npm_and_yarn/cssnano-6.1.1
Bump cssnano from 6.1.0 to 6.1.1
2024-03-21 13:43:15 +00:00
dependabot[bot]
1f0ba55904 Bump cssnano from 6.1.0 to 6.1.1
Bumps [cssnano](https://github.com/cssnano/cssnano) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@6.1.0...cssnano@6.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 13:37:28 +00:00
github-actions[bot]
37a97bf2a5 Merge pull request #849 from gethinode/dependabot/npm_and_yarn/cssnano-preset-advanced-6.1.1
Bump cssnano-preset-advanced from 6.1.0 to 6.1.1
2024-03-21 13:33:18 +00:00
dependabot[bot]
109ccc1599 Bump cssnano-preset-advanced from 6.1.0 to 6.1.1
Bumps [cssnano-preset-advanced](https://github.com/cssnano/cssnano) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano-preset-advanced@6.1.0...cssnano-preset-advanced@6.1.1)

---
updated-dependencies:
- dependency-name: cssnano-preset-advanced
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 13:27:59 +00:00
github-actions[bot]
cbdf348bd1 Merge pull request #848 from gethinode/dependabot/npm_and_yarn/autoprefixer-10.4.19
Bump autoprefixer from 10.4.18 to 10.4.19
2024-03-21 13:26:41 +00:00
dependabot[bot]
d17079951c Bump autoprefixer from 10.4.18 to 10.4.19
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.18 to 10.4.19.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.18...10.4.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 13:21:58 +00:00
Mark Dumay
a69402a205 Merge pull request #847 from gethinode/develop
Fix section menu dropdown on small screens
2024-03-20 18:47:39 +01:00
Mark Dumay
2b4472d9fe Merge branch 'main' into develop 2024-03-20 18:38:06 +01:00
Mark Dumay
6e9b54a5ff Fix section menu dropdown on small screens 2024-03-20 18:37:33 +01:00
github-actions[bot]
10e3e5358e Merge pull request #846 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.121.1
Bump hugo-bin from 0.121.0 to 0.121.1
2024-03-20 13:52:29 +00:00
dependabot[bot]
3ff8eb8f14 Bump hugo-bin from 0.121.0 to 0.121.1
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.121.0 to 0.121.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.121.0...v0.121.1)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 13:46:47 +00:00
Mark Dumay
e4fa0716aa Merge pull request #845 from aefly/french-translation
Update FR language with the latest hinode version
2024-03-18 19:42:33 +01:00
aefly
fd3522eb54 Update bootstrap-elements.md 2024-03-18 18:01:56 +00:00
aefly
80d7c3e9cb Update fr.yaml 2024-03-18 18:01:44 +00:00
Mark Dumay
0df7bedbab Merge pull request #843 from hawkeye116477/main
Add missing figclass for image shortcode
2024-03-18 16:57:20 +01:00
hawkeye116477
51cdae471f Add missing figclass for image shortcode. 2024-03-18 15:34:17 +01:00
Mark Dumay
ce79ef402e Merge pull request #842 from gethinode/develop
Update release references
2024-03-17 13:09:42 +01:00
Mark Dumay
d63c838799 Merge branch 'main' into develop 2024-03-17 12:56:29 +01:00
Mark Dumay
e209704acf Update release references 2024-03-17 12:55:54 +01:00
Mark Dumay
01d19609c4 Merge pull request #841 from gethinode/develop
Support custom button label on cards
2024-03-17 12:54:47 +01:00
Mark Dumay
ee3bdfc9a0 Merge branch 'main' into develop 2024-03-17 12:49:08 +01:00
Mark Dumay
a0db71d3ff Support custom button label on cards 2024-03-17 12:47:13 +01:00
Mark Dumay
fc40ee55c3 Merge pull request #840 from gethinode/develop
Revert card body handling to HTML
2024-03-17 07:32:48 +01:00
Mark Dumay
2f61fcabf2 Merge branch 'main' into develop 2024-03-17 07:27:18 +01:00
Mark Dumay
9d30a98ff3 Revert card body handling to HTML 2024-03-17 07:26:56 +01:00
Mark Dumay
b3c0b7a4e8 Merge pull request #839 from gethinode/develop
Finalize release v0.23.0
2024-03-17 05:52:04 +01:00
Mark Dumay
3705aea23d Merge branch 'main' into develop 2024-03-17 05:36:04 +01:00
Mark Dumay
5a7f215604 Bump package release 2024-03-17 05:35:02 +01:00
Mark Dumay
2608545104 Bump Hugo bin 2024-03-17 05:34:45 +01:00
Mark Dumay
a78361ec9f Update Netlify build environment 2024-03-17 05:33:47 +01:00
Mark Dumay
9b79092328 Merge pull request #838 from gethinode/develop
Bump package release
2024-03-15 10:20:45 +01:00
Mark Dumay
41198b04be Merge branch 'main' into develop 2024-03-15 10:14:41 +01:00
Mark Dumay
c4684f0073 Bump package release 2024-03-15 10:14:04 +01:00
Mark Dumay
063cabc610 Merge pull request #837 from gethinode/develop
Fix icon path
2024-03-15 10:09:38 +01:00
Mark Dumay
72304ff12e Merge branch 'main' into develop 2024-03-15 10:02:40 +01:00
Mark Dumay
d7e0aacd9a Fix icon path 2024-03-15 10:02:07 +01:00
Mark Dumay
3add028519 Merge pull request #836 from gethinode/develop
Fix icon resource handling
2024-03-15 06:58:14 +01:00
Mark Dumay
1ef26ef98b Merge branch 'main' into develop 2024-03-15 06:40:58 +01:00
Mark Dumay
5d56f2bd01 Merge pull request #835 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-03-15 06:40:34 +01:00
Mark Dumay
71c57b277b Bump package release 2024-03-15 06:40:16 +01:00
Mark Dumay
38afd31cff Fix icon resource handling 2024-03-15 06:39:53 +01:00
markdumay
7a460ca0de fix: update Hugo module dependencies 2024-03-15 03:17:58 +00:00
Mark Dumay
f3d5fef59d Merge pull request #833 from deining/fix-typo
Fix typo
2024-03-14 20:29:54 +01:00
Andreas Deininger
10f1519c33 Fix typo 2024-03-14 19:26:34 +01:00
Mark Dumay
aecb6d45ff Merge pull request #830 from gethinode/develop
Enable markdown content for card body
2024-03-14 16:42:19 +01:00
Mark Dumay
1c763939b9 Merge branch 'main' into develop 2024-03-14 16:35:21 +01:00
Mark Dumay
fbabf9c02c Bump package release 2024-03-14 16:34:47 +01:00
Mark Dumay
d584761891 Enable markdown content for card body 2024-03-14 16:34:18 +01:00
40 changed files with 843 additions and 534 deletions

View File

@@ -13,7 +13,7 @@ jobs:
steps: steps:
- name: Dependabot metadata - name: Dependabot metadata
id: metadata id: metadata
uses: dependabot/fetch-metadata@v1 uses: dependabot/fetch-metadata@v2
with: with:
github-token: "${{ secrets.GITHUB_TOKEN }}" github-token: "${{ secrets.GITHUB_TOKEN }}"

View File

@@ -51,6 +51,11 @@ jobs:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ">1.0.0"
- name: Set up Node.js ${{ matrix.node-version }} - name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@@ -89,6 +94,9 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-${{ env.CACHE_KEY }} ${{ runner.os }}-${{ env.CACHE_KEY }}
- name: Display environment
run: npm run env
- name: Build main site - name: Build main site
run: npm run build:cache run: npm run build:cache

View File

@@ -1,69 +1,21 @@
// Adapted from https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/google_analytics.html // Adapted from https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/google_analytics.html
{{- define "__ga_js_set_doNotTrack" -}}{{/* This is also used in the async version. */}} {{ if and (not hugo.IsServer) (not site.Config.Privacy.GoogleAnalytics.Disable) }}
{{- $pc := .Site.Config.Privacy.GoogleAnalytics -}} {{ with site.Config.Services.GoogleAnalytics.ID }}
{{- if not $pc.RespectDoNotTrack -}} {{ if strings.HasPrefix (lower .) "ua-" }}
{{ warnf "Google Analytics 4 (GA4) replaced Google Universal Analytics (UA) effective 1 July 2023. See https://support.google.com/analytics/answer/11583528. Create a GA4 property and data stream, then replace the Google Analytics ID in your site configuration with the new value." }}
{{ else }}
var doNotTrack = false; var doNotTrack = false;
{{- else -}} if ({{ site.Config.Privacy.GoogleAnalytics.RespectDoNotTrack }}) {
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack); var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
var doNotTrack = (dnt == "1" || dnt == "yes"); var doNotTrack = (dnt == "1" || dnt == "yes");
{{- end -}} }
{{- end -}} if (!doNotTrack) {
window.dataLayer = window.dataLayer || [];
{{- $pc := .Site.Config.Privacy.GoogleAnalytics -}} function gtag(){dataLayer.push(arguments);}
{{- if (and (not hugo.IsServer) (not $pc.Disable)) -}} gtag('js', new Date());
{{ with .Site.Config.Services.GoogleAnalytics.ID -}} gtag('config', '{{ . }}');
{{ if hasPrefix . "G-"}} }
{{ template "__ga_js_set_doNotTrack" $ }} {{ end }}
{{ end }}
if (!doNotTrack) { {{ end }}
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '{{ . }}', { 'anonymize_ip': {{- $pc.AnonymizeIP -}} });
}
{{ else if hasPrefix . "UA-" }}
{{ template "__ga_js_set_doNotTrack" $ }}
if (!doNotTrack) {
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
{{- if $pc.UseSessionStorage }}
if (window.sessionStorage) {
var GA_SESSION_STORAGE_KEY = 'ga:clientId';
ga('create', '{{ . }}', {
'storage': 'none',
'clientId': sessionStorage.getItem(GA_SESSION_STORAGE_KEY)
});
ga(function(tracker) {
sessionStorage.setItem(GA_SESSION_STORAGE_KEY, tracker.get('clientId'));
});
}
{{ else }}
ga('create', '{{ . }}', 'auto');
{{ end -}}
{{ if $pc.AnonymizeIP }}
ga('set', 'anonymizeIp', true);
{{ end }}
ga('send', 'pageview');
}
{{- end }}
{{ end -}}
{{- end }}

View File

@@ -51,8 +51,9 @@
@include meta.load-css(theme/fonts); @include meta.load-css(theme/fonts);
} }
// Import theme placeholder // Import theme placeholders
@import "theme/base.scss";
@import "theme/theme.scss"; @import "theme/theme.scss";
// Import Bootstrap utilities API (mounted by core Bootstrap module) // Import Bootstrap utilities API (mounted by core Bootstrap module)
@import "modules/bootstrap/utilities/api"; @import "modules/bootstrap/utilities/api";

View File

@@ -44,17 +44,13 @@
@import "helpers/colored-links.scss"; @import "helpers/colored-links.scss";
@import "helpers/display.scss"; @import "helpers/display.scss";
// TODO: include fonts with following statement in Dart Sass
// @if $import-fonts {
// @include meta.load-css(theme/fonts);
// }
{{ if (not (hasPrefix (lower site.Params.style.themeFontPath) "http")) }} {{ if (not (hasPrefix (lower site.Params.style.themeFontPath) "http")) }}
@import "theme/fonts.scss"; @import "theme/fonts.scss";
{{ end }} {{ end }}
// Import theme placeholder // Import theme placeholders
@import "theme/base.scss";
@import "theme/theme.scss"; @import "theme/theme.scss";
// Import Bootstrap utilities API (mounted by core Bootstrap module) // Import Bootstrap utilities API (mounted by core Bootstrap module)
@import "modules/bootstrap/utilities/api"; @import "modules/bootstrap/utilities/api";

View File

@@ -28,7 +28,7 @@ a:active {
} }
.main-content { .main-content {
margin-top: $overlay-offset; margin-top: var(--navbar-offset);
} }
$utilities: map-merge( $utilities: map-merge(

View File

@@ -20,6 +20,8 @@ strong {
$navbar-height: h.$navbar-height; $navbar-height: h.$navbar-height;
$navbar-offset: h.$navbar-offset; $navbar-offset: h.$navbar-offset;
$navbar-offset-xs: h.$navbar-offset-xs;
$navbar-size: h.$navbar-size;
$overlay-offset: h.$overlay-offset; $overlay-offset: h.$overlay-offset;
$primary: h.$primary; $primary: h.$primary;
$secondary: h.$secondary; $secondary: h.$secondary;

View File

@@ -1,6 +1,6 @@
// scss-docs-start breadcrumb // scss-docs-start breadcrumb
.breadcrumb { .breadcrumb {
padding-top: 0.3 * $navbar-offset; padding-top: calc(0.3 * var(--navbar-offset));
} }
// scss-docs-end breadcrumb // scss-docs-end breadcrumb

View File

@@ -1,3 +1,3 @@
.feature { .feature {
margin-top: 0.3 * $navbar-offset; margin-top: calc(0.3 * var(--navbar-offset));
} }

View File

@@ -23,7 +23,7 @@
text-align: start; text-align: start;
vertical-align: text-top; vertical-align: text-top;
border-radius: 0; border-radius: 0;
padding: 0 0 (4 * $spacer) 0; padding: 0 0 (4 * $spacer);
border-bottom: none; border-bottom: none;
} }

View File

@@ -126,8 +126,49 @@
// stylelint-enable annotation-no-unknown // stylelint-enable annotation-no-unknown
.navbar .dropdown-divider-bg {
color: var(--#{$prefix}navbar-color);
}
:root { :root {
--dropdown-horizontal-bg: var(--#{$prefix}light); --dropdown-horizontal-bg: var(--#{$prefix}light);
--navbar-offset: #{$navbar-offset-xs};
}
.navbar-title {
display: inline-block;
white-space: normal;
text-align: center !important;
vertical-align: middle;
padding: 0 $spacer;
width: 100% !important;
}
.navbar-container {
width: 100% !important;
}
.navbar-brand {
margin-right: 0;
}
@include media-breakpoint-up(#{$navbar-size}) {
:root {
--navbar-offset: #{$navbar-offset};
}
.navbar-container {
width: auto !important;
}
.navbar-title {
text-align: initial !important;
padding: 0;
}
.navbar-brand {
margin-right: var(--bs-navbar-brand-margin-end);
}
} }
@if $enable-dark-mode { @if $enable-dark-mode {

View File

@@ -1,10 +1,10 @@
// scss-docs-start sidebar // scss-docs-start sidebar
.sidebar { .sidebar {
top: $navbar-offset; top: var(--navbar-offset);
} }
.sidebar-overflow { .sidebar-overflow {
top: $navbar-offset; top: var(--navbar-offset);
max-height: 90vh; max-height: 90vh;
overflow-y: auto; overflow-y: auto;
} }

View File

@@ -5,7 +5,7 @@
// stylelint-disable annotation-no-unknown // stylelint-disable annotation-no-unknown
// scss-docs-start display-color // scss-docs-start display-color
.d-none-light { .d-none-light, .d-none-inline-light {
display: none if($enable-important-utilities, !important, null); display: none if($enable-important-utilities, !important, null);
} }
@@ -13,13 +13,21 @@
display: block if($enable-important-utilities, !important, null); display: block if($enable-important-utilities, !important, null);
} }
.d-none-inline-dark {
display: inline if($enable-important-utilities, !important, null);
}
@if $enable-dark-mode { @if $enable-dark-mode {
@include color-mode(dark) { @include color-mode(dark) {
.d-none-light { .d-none-light {
display: block if($enable-important-utilities, !important, null); display: block if($enable-important-utilities, !important, null);
} }
.d-none-dark { .d-none-inline-light {
display: inline if($enable-important-utilities, !important, null);
}
.d-none-dark, .d-none-inline-dark {
display: none if($enable-important-utilities, !important, null); display: none if($enable-important-utilities, !important, null);
} }
} }

View File

@@ -3,34 +3,34 @@
// //
h1 { h1 {
margin-top: $spacer * 2.5; margin-top: $spacer * 2.5;
scroll-margin-top: $navbar-offset; scroll-margin-top: var(--navbar-offset);
} }
h2 { h2 {
margin-top: $spacer * 2; margin-top: $spacer * 2;
scroll-margin-top: $navbar-offset; scroll-margin-top: var(--navbar-offset);
} }
h3 { h3 {
margin-top: $spacer * 1.75; margin-top: $spacer * 1.75;
scroll-margin-top: $navbar-offset; scroll-margin-top: var(--navbar-offset);
} }
h4 { h4 {
margin-top: $spacer * 1.5; margin-top: $spacer * 1.5;
scroll-margin-top: $navbar-offset; scroll-margin-top: var(--navbar-offset);
} }
h5 { h5 {
margin-top: $spacer * 1.25; margin-top: $spacer * 1.25;
scroll-margin-top: $navbar-offset; scroll-margin-top: var(--navbar-offset);
} }
h6 { h6 {
margin-top: $spacer; margin-top: $spacer;
scroll-margin-top: $navbar-offset; scroll-margin-top: var(--navbar-offset);
} }
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 { .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
scroll-margin-top: $navbar-offset; scroll-margin-top: var(--navbar-offset);
} }

View File

@@ -0,0 +1,2 @@
// Placeholder for themes extending the core Hinode theme
// The file is included last in the build pipeline, but prior to theme.scss

View File

@@ -66,6 +66,15 @@ arguments:
Flag indicating if pagination should be added to the card group, if the Flag indicating if pagination should be added to the card group, if the
list exceeds the maximum number of cards to display. list exceeds the maximum number of cards to display.
group: partial group: partial
pagination:
type: int
optional: true
comment: >-
Number of elements per page in pagination, overrides site settings.
group: partial
options:
min: 1
release: v0.23.12
href: href:
type: string type: string
optional: true optional: true

View File

@@ -162,7 +162,7 @@ arguments:
parent: cascade parent: cascade
optional: true optional: true
default: start default: start
release: v0.23.0-alpha2 release: v0.23.0
comment: Icon alignment. comment: Icon alignment.
options: options:
values: values:
@@ -173,7 +173,7 @@ arguments:
type: string type: string
parent: cascade parent: cascade
optional: true optional: true
release: v0.23.0-alpha2 release: v0.23.0
comment: Icon style. comment: Icon style.
orientation: orientation:
type: select type: select
@@ -191,20 +191,34 @@ arguments:
type: bool type: bool
parent: cascade parent: cascade
optional: true optional: true
release: v0.23.0-alpha2 release: v0.23.0
comment: Apply subtle background colors. comment: Apply subtle background colors.
button: button:
type: bool type: bool
parent: cascade parent: cascade
optional: true optional: true
release: v0.23.0-beta release: v0.23.0
comment: >- comment: >-
Flag indicating the cards should include a button that links to the provided address. Flag indicating the cards should include a button that links to the provided address.
buttonLabel:
type: string
optional: true
release: v0.23.2
comment: >-
Label of the link button, defaults to the card title.
hook: hook:
type: string type: string
optional: true optional: true
comment: Render hook for the image partial. comment: Render hook for the image partial.
group: partial group: partial
sizes:
type: string
default: 100vw
optional: true
comment: >-
One or more strings separated by commas, indicating the source sizes of an
image set.
group: partial
body: body:
optional: true optional: true
comment: >- comment: >-

View File

@@ -98,6 +98,14 @@ arguments:
- low - low
- auto - auto
group: partial group: partial
sizes:
type: string
default: 100vw
optional: true
comment: >-
One or more strings separated by commas, indicating the source sizes of an
image set.
group: partial
title: title:
type: string type: string
optional: true optional: true
@@ -119,4 +127,4 @@ arguments:
type: string type: string
optional: true optional: true
comment: Class attribute of the figure caption, e.g. `px-4`. comment: Class attribute of the figure caption, e.g. `px-4`.
release: v0.23.0-beta release: v0.23.0

View File

@@ -18,6 +18,7 @@ arguments:
type: type:
- page.Pages - page.Pages
- resource.Resources - resource.Resources
- '[]map[string]interface {}'
optional: true optional: true
comment: Array of pages to be rendered as nav items. comment: Array of pages to be rendered as nav items.
group: partial group: partial

View File

@@ -118,6 +118,7 @@ arguments:
values: values:
- light - light
- dark - dark
- none
group: partial group: partial
release: v0.23.0 release: v0.23.0
logo: logo:

View File

@@ -59,6 +59,7 @@
overlayMode = "dark" overlayMode = "dark"
horizontal = false horizontal = false
offset = "5.5rem" offset = "5.5rem"
offsetXS = "5.5rem"
search = true search = true
searchModal = false searchModal = false
breadcrumb = true breadcrumb = true

View File

@@ -26,7 +26,7 @@ Additional features include:
* Support for multiple languages * Support for multiple languages
* Reusable Bootstrap components through configurable shortcodes and partials * Reusable Bootstrap components through configurable shortcodes and partials
* Versioned documentation, including sidebar navigation and version switcher * Versioned documentation, including sidebar navigation and version switcher
* Reponsive image handling for multiple screen sizes and resolutions * Responsive image handling for multiple screen sizes and resolutions
* Optimized search results, scoring 100 points for SEO on [PageSpeed Insights]({{< param "links.pagespeed" >}}) * Optimized search results, scoring 100 points for SEO on [PageSpeed Insights]({{< param "links.pagespeed" >}})
* Secure by default, scoring A+ on [Mozilla Observatory test]({{< param "links.observatory" >}}) * Secure by default, scoring A+ on [Mozilla Observatory test]({{< param "links.observatory" >}})
{.tickmark} {.tickmark}

View File

@@ -125,7 +125,8 @@ En-tête 6 {{</* badge title="Nouveau" */>}}
<!-- markdownlint-disable MD037 --> <!-- markdownlint-disable MD037 -->
{{< example lang="hugo" >}} {{< example lang="hugo" >}}
{{</* card path="about" padding="3" class="col-6 mx-auto" color="body-tertiary" header="publication" footer="none" /*/>}} {{</* card path="about" padding="3" class="col-6 mx-auto" color="body-tertiary"
header="publication" footer="none" button=true /*/>}}
{{< /example >}} {{< /example >}}
<!-- markdownlint-enable MD037 --> <!-- markdownlint-enable MD037 -->

View File

@@ -219,6 +219,7 @@
"flex-column", "flex-column",
"flex-fill", "flex-fill",
"flex-grow-1", "flex-grow-1",
"flex-md-grow-0",
"font-monospace", "font-monospace",
"footer", "footer",
"form-control", "form-control",
@@ -226,6 +227,7 @@
"fs-5", "fs-5",
"fs-6", "fs-6",
"fs-md-5", "fs-md-5",
"fw-30",
"fw-bold", "fw-bold",
"fw-semibold", "fw-semibold",
"g-0", "g-0",
@@ -300,11 +302,13 @@
"navbar", "navbar",
"navbar-brand", "navbar-brand",
"navbar-collapse", "navbar-collapse",
"navbar-container",
"navbar-contrast", "navbar-contrast",
"navbar-expand-md", "navbar-expand-md",
"navbar-fixed-top", "navbar-fixed-top",
"navbar-nav", "navbar-nav",
"navbar-nav-scroll", "navbar-nav-scroll",
"navbar-title",
"navbar-toggler", "navbar-toggler",
"next", "next",
"no-js", "no-js",

12
go.mod
View File

@@ -4,13 +4,13 @@ go 1.19
require ( require (
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
github.com/gethinode/mod-bootstrap v1.2.5 // indirect github.com/gethinode/mod-bootstrap v1.2.6 // indirect
github.com/gethinode/mod-flexsearch v1.9.0 // indirect github.com/gethinode/mod-flexsearch v1.11.3 // indirect
github.com/gethinode/mod-fontawesome v1.8.1 // indirect github.com/gethinode/mod-fontawesome v1.8.2 // indirect
github.com/gethinode/mod-katex v1.0.7 // indirect github.com/gethinode/mod-katex v1.0.8 // indirect
github.com/gethinode/mod-leaflet v1.0.0 // indirect github.com/gethinode/mod-leaflet v1.0.1 // indirect
github.com/gethinode/mod-lottie v1.4.4 // indirect github.com/gethinode/mod-lottie v1.4.4 // indirect
github.com/gethinode/mod-utils/v2 v2.1.1 // indirect github.com/gethinode/mod-utils/v2 v2.2.2 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20240110101704-4c3966709f85 // indirect github.com/nextapps-de/flexsearch v0.0.0-20240110101704-4c3966709f85 // indirect
github.com/twbs/bootstrap v5.3.3+incompatible // indirect github.com/twbs/bootstrap v5.3.3+incompatible // indirect
) )

20
go.sum
View File

@@ -16,6 +16,8 @@ github.com/gethinode/mod-bootstrap v1.2.4 h1:4CFNpwpRKiZlMVWg9u5+ijSb924j4yM3G1p
github.com/gethinode/mod-bootstrap v1.2.4/go.mod h1:CL9IDot6nbXIWJYE/KxfsTdYYEJIGL17BXbAYPn+wVQ= github.com/gethinode/mod-bootstrap v1.2.4/go.mod h1:CL9IDot6nbXIWJYE/KxfsTdYYEJIGL17BXbAYPn+wVQ=
github.com/gethinode/mod-bootstrap v1.2.5 h1:h6yAlkMZA34wJU3pLFpLxp1ynEBte/YTY4kGEQtMGPE= github.com/gethinode/mod-bootstrap v1.2.5 h1:h6yAlkMZA34wJU3pLFpLxp1ynEBte/YTY4kGEQtMGPE=
github.com/gethinode/mod-bootstrap v1.2.5/go.mod h1:CL9IDot6nbXIWJYE/KxfsTdYYEJIGL17BXbAYPn+wVQ= github.com/gethinode/mod-bootstrap v1.2.5/go.mod h1:CL9IDot6nbXIWJYE/KxfsTdYYEJIGL17BXbAYPn+wVQ=
github.com/gethinode/mod-bootstrap v1.2.6 h1:joKKVqWzPgitPbUFlU4oIRj72YXsEHkVun3TPf4ZZ2Q=
github.com/gethinode/mod-bootstrap v1.2.6/go.mod h1:CL9IDot6nbXIWJYE/KxfsTdYYEJIGL17BXbAYPn+wVQ=
github.com/gethinode/mod-flexsearch v1.0.1 h1:FJkRsUzSnQTXl3MWCigT4E6vfff870UWTnkGqaDGIhA= github.com/gethinode/mod-flexsearch v1.0.1 h1:FJkRsUzSnQTXl3MWCigT4E6vfff870UWTnkGqaDGIhA=
github.com/gethinode/mod-flexsearch v1.0.1/go.mod h1:TXbGbWsvmhBdsTzRt887mcpFfr4ORpzG3+h/l4W3YM4= github.com/gethinode/mod-flexsearch v1.0.1/go.mod h1:TXbGbWsvmhBdsTzRt887mcpFfr4ORpzG3+h/l4W3YM4=
github.com/gethinode/mod-flexsearch v1.1.0 h1:7BCMyQDlYlskNXuazt8Jg/jg9WREexu2xVkYqThkAX4= github.com/gethinode/mod-flexsearch v1.1.0 h1:7BCMyQDlYlskNXuazt8Jg/jg9WREexu2xVkYqThkAX4=
@@ -50,6 +52,16 @@ github.com/gethinode/mod-flexsearch v1.8.1 h1:xwPvmmxd8Tdyxp8/rnd9KRGqIDtZs/YwAQ
github.com/gethinode/mod-flexsearch v1.8.1/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ= github.com/gethinode/mod-flexsearch v1.8.1/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-flexsearch v1.9.0 h1:AE+w7QeZTxh36JNTG+CASDLxaqlCZKn+EUD6ulnPGak= github.com/gethinode/mod-flexsearch v1.9.0 h1:AE+w7QeZTxh36JNTG+CASDLxaqlCZKn+EUD6ulnPGak=
github.com/gethinode/mod-flexsearch v1.9.0/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ= github.com/gethinode/mod-flexsearch v1.9.0/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-flexsearch v1.10.0 h1:ymlHu5G2635D/h2axG4jgpGS+Vvtzxg07SZX8pJOJSo=
github.com/gethinode/mod-flexsearch v1.10.0/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-flexsearch v1.10.1 h1:aZ4WjUxfiCV1eiGjIUdP+lRTlOI/flPc6ABUQ99C+Es=
github.com/gethinode/mod-flexsearch v1.10.1/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-flexsearch v1.11.0 h1:CQArPhjQRtIZqAK4ysOiBzAB1hi//L4RTelH+ScjbXU=
github.com/gethinode/mod-flexsearch v1.11.0/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-flexsearch v1.11.1 h1:TtaE6Dv0lH4x73SHDaZpQJLjk52lRu/VoLf6+CXFOLs=
github.com/gethinode/mod-flexsearch v1.11.1/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-flexsearch v1.11.3 h1:ykxpUg8M4vr1C4QzxJOPGt+1ZmPAD/gOCZoFcZxWoWw=
github.com/gethinode/mod-flexsearch v1.11.3/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-fontawesome v1.0.2 h1:ZSK6D20/w4y5GnfYfTBB58uHD0ChIfkpKfRGwioS9rg= github.com/gethinode/mod-fontawesome v1.0.2 h1:ZSK6D20/w4y5GnfYfTBB58uHD0ChIfkpKfRGwioS9rg=
github.com/gethinode/mod-fontawesome v1.0.2/go.mod h1:Ki1qkWEOiF0hQpCgWeZRw+HkpL6nd1DxKFptU0O2feI= github.com/gethinode/mod-fontawesome v1.0.2/go.mod h1:Ki1qkWEOiF0hQpCgWeZRw+HkpL6nd1DxKFptU0O2feI=
github.com/gethinode/mod-fontawesome v1.1.0 h1:rsDzUI+3ZlS/do2ff3ne8/z3KwHeysmuA+WsXlumXXk= github.com/gethinode/mod-fontawesome v1.1.0 h1:rsDzUI+3ZlS/do2ff3ne8/z3KwHeysmuA+WsXlumXXk=
@@ -86,6 +98,8 @@ github.com/gethinode/mod-fontawesome v1.8.0 h1:YEuCmvCdzcemF1eFK35Wnp1asKKO3/xbx
github.com/gethinode/mod-fontawesome v1.8.0/go.mod h1:uvuC2YL8mdXNp6NRzFOu4TWsHvtY9AZ8YxJkF23/M/8= github.com/gethinode/mod-fontawesome v1.8.0/go.mod h1:uvuC2YL8mdXNp6NRzFOu4TWsHvtY9AZ8YxJkF23/M/8=
github.com/gethinode/mod-fontawesome v1.8.1 h1:iyvULrpaGizQoI5Vl9WjFYcMGWefdyG90NGK2UKax+k= github.com/gethinode/mod-fontawesome v1.8.1 h1:iyvULrpaGizQoI5Vl9WjFYcMGWefdyG90NGK2UKax+k=
github.com/gethinode/mod-fontawesome v1.8.1/go.mod h1:xBKsZH3WJtMOItZVlp9SbO51uaBy6IbvUZSKpNu3b6Y= github.com/gethinode/mod-fontawesome v1.8.1/go.mod h1:xBKsZH3WJtMOItZVlp9SbO51uaBy6IbvUZSKpNu3b6Y=
github.com/gethinode/mod-fontawesome v1.8.2 h1:LAzLytyh9c9gLzBWMju6Gtp3uEojhBQEYw0o38EUKZY=
github.com/gethinode/mod-fontawesome v1.8.2/go.mod h1:xBKsZH3WJtMOItZVlp9SbO51uaBy6IbvUZSKpNu3b6Y=
github.com/gethinode/mod-katex v1.0.0 h1:me/3dIIZBkfk1mRIFt8QiAGYwYDoSG5bc2hHRtIutFc= github.com/gethinode/mod-katex v1.0.0 h1:me/3dIIZBkfk1mRIFt8QiAGYwYDoSG5bc2hHRtIutFc=
github.com/gethinode/mod-katex v1.0.0/go.mod h1:byAfpI3wuqNJIooTGVEGc1cjBhhCy4+CcK1H6495MYg= github.com/gethinode/mod-katex v1.0.0/go.mod h1:byAfpI3wuqNJIooTGVEGc1cjBhhCy4+CcK1H6495MYg=
github.com/gethinode/mod-katex v1.0.1 h1:809QUztxmKgMNchU+v03iMO7Ma+ISc3ZzhXYauc21rs= github.com/gethinode/mod-katex v1.0.1 h1:809QUztxmKgMNchU+v03iMO7Ma+ISc3ZzhXYauc21rs=
@@ -100,6 +114,8 @@ github.com/gethinode/mod-katex v1.0.5 h1:AVhcTINYory0ygChQERf8PcyJkbT1oqhmLRF6ES
github.com/gethinode/mod-katex v1.0.5/go.mod h1:byAfpI3wuqNJIooTGVEGc1cjBhhCy4+CcK1H6495MYg= github.com/gethinode/mod-katex v1.0.5/go.mod h1:byAfpI3wuqNJIooTGVEGc1cjBhhCy4+CcK1H6495MYg=
github.com/gethinode/mod-katex v1.0.7 h1:FTEhvi3r+O5lPeOxB7OsanFZuAB14yC5fIk3DqhkNyY= github.com/gethinode/mod-katex v1.0.7 h1:FTEhvi3r+O5lPeOxB7OsanFZuAB14yC5fIk3DqhkNyY=
github.com/gethinode/mod-katex v1.0.7/go.mod h1:byAfpI3wuqNJIooTGVEGc1cjBhhCy4+CcK1H6495MYg= github.com/gethinode/mod-katex v1.0.7/go.mod h1:byAfpI3wuqNJIooTGVEGc1cjBhhCy4+CcK1H6495MYg=
github.com/gethinode/mod-katex v1.0.8 h1:tFGFz/JIEogCz4wvUsUncrOsOupPxsjP+TwU/3NxIjY=
github.com/gethinode/mod-katex v1.0.8/go.mod h1:byAfpI3wuqNJIooTGVEGc1cjBhhCy4+CcK1H6495MYg=
github.com/gethinode/mod-leaflet v0.2.3 h1:QQI4h+IH0jZ7fx4q0um2YIEiYBoW3OAfW8qHzbRCDPk= github.com/gethinode/mod-leaflet v0.2.3 h1:QQI4h+IH0jZ7fx4q0um2YIEiYBoW3OAfW8qHzbRCDPk=
github.com/gethinode/mod-leaflet v0.2.3/go.mod h1:uGggt87x4Fw7wBoJpSiUvNkYg+s/Ujne7klAX2rxMRk= github.com/gethinode/mod-leaflet v0.2.3/go.mod h1:uGggt87x4Fw7wBoJpSiUvNkYg+s/Ujne7klAX2rxMRk=
github.com/gethinode/mod-leaflet v0.3.1 h1:H5MaOa+BB1KuVw7abTqfIn/SNzzRsAyx/WQoSe+2Ykc= github.com/gethinode/mod-leaflet v0.3.1 h1:H5MaOa+BB1KuVw7abTqfIn/SNzzRsAyx/WQoSe+2Ykc=
@@ -114,6 +130,8 @@ github.com/gethinode/mod-leaflet v0.4.0 h1:Xc6c1UTf4m1saQLFfFWT5sEpwj25xVGuS8csG
github.com/gethinode/mod-leaflet v0.4.0/go.mod h1:yr+bUKAstifdB16mbYh69OayAmgPOlNUubAmVn5eL2M= github.com/gethinode/mod-leaflet v0.4.0/go.mod h1:yr+bUKAstifdB16mbYh69OayAmgPOlNUubAmVn5eL2M=
github.com/gethinode/mod-leaflet v1.0.0 h1:HdnWafOGkkK1hYGfqLYF3pp9dAFS/caxlzML9sO1rCc= github.com/gethinode/mod-leaflet v1.0.0 h1:HdnWafOGkkK1hYGfqLYF3pp9dAFS/caxlzML9sO1rCc=
github.com/gethinode/mod-leaflet v1.0.0/go.mod h1:Ei0x9WiL7Dbi4JeG6yI1CE63bT1QJ8sKi67Jea1wFSE= github.com/gethinode/mod-leaflet v1.0.0/go.mod h1:Ei0x9WiL7Dbi4JeG6yI1CE63bT1QJ8sKi67Jea1wFSE=
github.com/gethinode/mod-leaflet v1.0.1 h1:L4Coe6HTD9O0Txs1S8AtVg+6/TEneSF9i6fJK8jdWUw=
github.com/gethinode/mod-leaflet v1.0.1/go.mod h1:Ei0x9WiL7Dbi4JeG6yI1CE63bT1QJ8sKi67Jea1wFSE=
github.com/gethinode/mod-lottie v1.0.0 h1:1CUZMcgN5FAyjjyuP3qkaOQ6M5sv6HUAbosW4sIT5VE= github.com/gethinode/mod-lottie v1.0.0 h1:1CUZMcgN5FAyjjyuP3qkaOQ6M5sv6HUAbosW4sIT5VE=
github.com/gethinode/mod-lottie v1.0.0/go.mod h1:erRCgSL2FCfKHI0jQbSpM+g0jXl7SjKVJrh7kWGteKs= github.com/gethinode/mod-lottie v1.0.0/go.mod h1:erRCgSL2FCfKHI0jQbSpM+g0jXl7SjKVJrh7kWGteKs=
github.com/gethinode/mod-lottie v1.0.1 h1:+IE7xtnSVQpJS56oBJq9RWKZeFEfxrOZAqE3BSrS/u0= github.com/gethinode/mod-lottie v1.0.1 h1:+IE7xtnSVQpJS56oBJq9RWKZeFEfxrOZAqE3BSrS/u0=
@@ -158,6 +176,8 @@ github.com/gethinode/mod-utils/v2 v2.1.0 h1:5I0IN/AX5qPFYx7tjWXk59GBevTJzixxZUGj
github.com/gethinode/mod-utils/v2 v2.1.0/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY= github.com/gethinode/mod-utils/v2 v2.1.0/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
github.com/gethinode/mod-utils/v2 v2.1.1 h1:aLBcS9Zbx+dqnu5oBsTM01AkkN5nwwifgbV4D0qiHnM= github.com/gethinode/mod-utils/v2 v2.1.1 h1:aLBcS9Zbx+dqnu5oBsTM01AkkN5nwwifgbV4D0qiHnM=
github.com/gethinode/mod-utils/v2 v2.1.1/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY= github.com/gethinode/mod-utils/v2 v2.1.1/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
github.com/gethinode/mod-utils/v2 v2.2.2 h1:ZRxWIJKmZIDYsoMS3WhxxC+BWJrkd1dcZ8rz/cLZExc=
github.com/gethinode/mod-utils/v2 v2.2.2/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo= github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo=
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU= github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg= github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg=

View File

@@ -29,6 +29,8 @@
translation: "Aucun articles trouvé" translation: "Aucun articles trouvé"
- id: emptyTags - id: emptyTags
translation: "Aucun tags trouvé" translation: "Aucun tags trouvé"
- id: readMore
translation: "Lire plus"
# Languages # Languages
- id: lang_de - id: lang_de

149
i18n/pl.yaml Normal file
View File

@@ -0,0 +1,149 @@
# Single pages
- id: postedOnDate
translation: "Opublikowano {{ . }}"
- id: lastModified
translation: "Ostatnia modyfikacja {{ . }}"
- id: read
translation: "czytania"
- id: minutesShort
translation: "min"
- id: words
translation: "słów"
- id: photoFull
translation: "Zdjęcie autorstwa %s z %s"
- id: photoShort
translation: "Zdjęcie autorstwa {{ . }}"
- id: photoOn
translation: "z"
- id: draft
translation: "Wersja robocza"
# List pages
- id: article
translation: "Artykuł"
- id: articles
translation: "Artykuły"
- id: more
translation: "Więcej {{ . }}"
- id: emptyList
translation: "Brak artykułów"
- id: emptyTags
translation: "Brak tagów"
# Languages
- id: lang_de
translation: "Niemiecki"
- id: lang_en
translation: "Angielski"
- id: lang_nl
translation: "Niderlandzki"
- id: lang_fr
translation: "Francuski"
# Sharing
- id: shareLink
translation: "Udostępnij przez {{ . }}"
- id: shareSystem
translation: "system"
- id: copyToClipboard
translation: "skopiuj do schowka"
- id: copiedToClipboard
translation: "skopiowany do schowka"
- id: link
translation: "Link"
- id: code
translation: "Kod"
- id: download
translation: "Pobierz artykuł"
# Pagination
- id: paginationNav
translation: "Nawigacja strony"
- id: paginationPrevious
translation: "Poprzednia strona"
- id: paginationNext
translation: "Następna strona"
- id: paginationFirst
translation: "Pierwsza strona"
- id: paginationLast
translation: "Ostatnia strona"
# Navigation
- id: colorMode
translation: "Tryb koloru"
- id: colorLight
translation: "Jasny"
- id: colorDark
translation: "Ciemny"
- id: colorAuto
translation: "Automatyczny"
- id: toggleMainNav
translation: "Przełącz główną nawigację"
- id: home
translation: "Strona główna"
- id: languageSwitcherLabel
translation: "Język"
- id: close
translation: "Zamknij"
# Table of contents
- id: toc
translation: "Na tej stronie"
- id: seeAlso
translation: "Zobacz również"
- id: sectionMenu
translation: "Wybierz temat"
# Sidebar
- id: toggleSidebar
translation: "Przełącz nawigację na pasku bocznym"
# Feature
- id: addedFeature
translation: "Dodano w {{ . }}"
- id: deprecatedFeature
translation: "Stała się przestarzała w {{ . }}"
# Versioning
- id: latest
translation: "najnowsza"
- id: allVersions
translation: "Wszystkie wersje"
- id: newerVersionAlert
translation: "Jest dostępna nowsza wersja {{ . }}!"
# 404 page
- id: pageNotFound
translation: "Strona, której szukasz nie istnieje albo wystąpił inny błąd. Spróbuj wrócić do naszej {{ . }}."
- id: pageNotFoundTitle
translation: "Nie znaleziono strony"
- id: pageNotFoundHome
translation: "strony głównej"
# Footer
- id: copyright
translation: "Copyright"
- id: rights
translation: "Wszelkie prawa zastrzeżone"
- id: poweredBy
translation: "Strona oparta o {{ . }}."
# Comments
- id: show
translation: "Pokaż"
- id: comments
translation: "Komentarze"
# Arguments
- id: name
translation: "Nazwa"
- id: type
translation: "Typ"
- id: required
translation: "Wymagany"
- id: default
translation: "Domyślny"
- id: comment
translation: Komentarz
- id: supportedValues
translation: "Obsługiwane wartości"

View File

@@ -32,13 +32,18 @@
{{- $subtle := .subtle }} {{- $subtle := .subtle }}
{{- $loading := .loading -}} {{- $loading := .loading -}}
{{- $button := .button -}} {{- $button := .button -}}
{{- $buttonLabel := .buttonLabel -}}
{{- $hook := .hook | default "assets/card.html" }} {{- $hook := .hook | default "assets/card.html" }}
<!-- Override arguments --> <!-- Override arguments -->
{{ $isPages := in (slice "page.Pages" "resource.Resources") (printf "%T" $pages) }} {{ $isPages := in (slice "page.Pages" "resource.Resources") (printf "%T" $pages) }}
{{ $paginator := "" }} {{ $paginator := "" }}
{{ if and $isPages $paginate }} {{ if and $isPages $paginate }}
{{ $paginator = $page.Paginate $pages }} {{ with .pagination }}
{{ $paginator = $page.Paginate $pages . }}
{{ else }}
{{ $paginator = $page.Paginate $pages }}
{{ end }}
{{ $pages = first $paginator.PageSize (after (mul (sub $paginator.PageNumber 1) $paginator.PageSize) $pages) }} {{ $pages = first $paginator.PageSize (after (mul (sub $paginator.PageNumber 1) $paginator.PageSize) $pages) }}
{{ end }} {{ end }}
@@ -73,12 +78,38 @@
{{- $responsive := .responsive | default true -}} {{- $responsive := .responsive | default true -}}
{{- $cols := string .cols | default "3" -}} {{- $cols := string .cols | default "3" -}}
{{- $sizes := "100vw" }}
{{- $colGrid := "" -}} {{- $colGrid := "" -}}
{{- if eq $cols "1" }}{{ $colGrid = "row-cols-1" -}} {{- if eq $cols "1" }}
{{- else if eq $cols "2" }}{{ if $responsive }}{{ $colGrid = printf "row-cols-1 row-cols-%s-1 row-cols-%s-2" $breakpoint.prev $breakpoint.current }}{{ else }}{{ $colGrid = "row-cols-2" }}{{ end -}} {{ $colGrid = "row-cols-1" -}}
{{- else if eq $cols "3" }}{{ if $responsive }}{{ $colGrid = printf "row-cols-1 row-cols-%s-2 row-cols-%s-3" $breakpoint.prev $breakpoint.current }}{{ else }}{{ $colGrid = "row-cols-3" }}{{ end -}} {{- else if eq $cols "2" }}
{{- else if eq $cols "4" }}{{ if $responsive }}{{ $colGrid = printf "row-cols-1 row-cols-%s-2 row-cols-%s-4" $breakpoint.prev $breakpoint.current }}{{ else }}{{ $colGrid = "row-cols-4" }}{{ end -}} {{ if $responsive }}
{{- else if eq $cols "5" }}{{ if $responsive }}{{ $colGrid = printf "row-cols-1 row-cols-%s-3 row-cols-%s-5" $breakpoint.prev $breakpoint.current }}{{ else }}{{ $colGrid = "row-cols-5" }}{{ end -}} {{ $colGrid = printf "row-cols-1 row-cols-%s-1 row-cols-%s-2" $breakpoint.prev $breakpoint.current }}
{{ else }}
{{ $colGrid = "row-cols-2" }}
{{ end -}}
{{ $sizes = printf "(min-width: %s) 50vw, 100vw" $breakpoint.currentSize }}
{{- else if eq $cols "3" }}
{{ if $responsive }}
{{ $colGrid = printf "row-cols-1 row-cols-%s-2 row-cols-%s-3" $breakpoint.prev $breakpoint.current }}
{{ else }}
{{ $colGrid = "row-cols-3" }}
{{ end -}}
{{ $sizes = printf "(min-width: %s) 33.3vw, (min-width: %s) 50vw, 100vw" $breakpoint.currentSize $breakpoint.prevSize }}
{{- else if eq $cols "4" }}
{{ if $responsive }}
{{ $colGrid = printf "row-cols-1 row-cols-%s-2 row-cols-%s-4" $breakpoint.prev $breakpoint.current }}
{{ else }}
{{ $colGrid = "row-cols-4" }}
{{ end -}}
{{ $sizes = printf "(min-width: %s) 25vw, (min-width: %s) 50vw, 100vw" $breakpoint.currentSize $breakpoint.prevSize }}
{{- else if eq $cols "5" }}
{{ if $responsive }}
{{ $colGrid = printf "row-cols-1 row-cols-%s-3 row-cols-%s-5" $breakpoint.prev $breakpoint.current }}
{{ else }}
{{ $colGrid = "row-cols-5" }}
{{ end -}}
{{ $sizes = printf "(min-width: %s) 20vw, (min-width: %s) 33.3vw, 100vw" $breakpoint.currentSize $breakpoint.prevSize }}
{{ end -}} {{ end -}}
{{- if not $paginate -}} {{- if not $paginate -}}
@@ -97,6 +128,7 @@
"footer" $footer "footer" $footer
"header" $header "header" $header
"loading" $loading "loading" $loading
"sizes" $sizes
"orientation" $orientation "orientation" $orientation
"padding" $padding "padding" $padding
"ratio" $ratio "ratio" $ratio
@@ -104,6 +136,7 @@
"style" $style "style" $style
"align" $align "align" $align
"button" $button "button" $button
"buttonLabel" $buttonLabel
) -}} ) -}}
{{- $params = merge $params $element }} {{- $params = merge $params $element }}
@@ -119,7 +152,7 @@
{{if $cards }}{{- print $cards | safeHTML }}{{ end }} {{if $cards }}{{- print $cards | safeHTML }}{{ end }}
</div> </div>
{{ if $paginate }} {{ if $paginator }}
{{- if gt $paginator.TotalPages 1 -}} {{- if gt $paginator.TotalPages 1 -}}
<div class="pt-3">{{ partial "assets/pagination.html" (dict "page" $page "format" "terse") }}</div> <div class="pt-3">{{ partial "assets/pagination.html" (dict "page" $page "format" "terse") }}</div>
{{- end -}} {{- end -}}

View File

@@ -22,6 +22,7 @@
{{- $iconStyle := "" -}} {{- $iconStyle := "" -}}
{{- $align := .align | default "start" -}} {{- $align := .align | default "start" -}}
{{- $style := .style | default "" -}} {{- $style := .style | default "" -}}
{{- $sizes := .sizes | default "100vw" -}}
{{- $loading := .loading -}} {{- $loading := .loading -}}
{{- $orientation := .orientation | default "stacked" -}} {{- $orientation := .orientation | default "stacked" -}}
{{- $padding := (string .padding) | default "auto" -}} {{- $padding := (string .padding) | default "auto" -}}
@@ -30,6 +31,7 @@
{{- $title := .title -}} {{- $title := .title -}}
{{- $subtle := .subtle -}} {{- $subtle := .subtle -}}
{{- $button := .button -}} {{- $button := .button -}}
{{- $buttonLabel := .buttonLabel -}}
{{- $colorStyle := "" -}} {{- $colorStyle := "" -}}
{{ if $color }} {{ if $color }}
{{ if $subtle }} {{ if $subtle }}
@@ -76,12 +78,16 @@
{{- if $href -}} {{- if $href -}}
<a href="{{ $href }}" class="{{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }} stretched-link"> <a href="{{ $href }}" class="{{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }} stretched-link">
<p class="card-title fs-5 fw-bold">{{ $title }}</p> <p class="card-title fs-5 fw-bold">{{ $title }}</p>
{{ with $description }}<p class="card-text {{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }}">{{ . }}</p>{{ end -}} {{ with $description }}
<div class="card-text {{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }}">
{{ . | safeHTML }}
</div>
{{ end -}}
</a> </a>
{{- else -}} {{- else -}}
<div> <div>
{{ with $title }}<p class="card-title fs-5 fw-bold">{{ . }}</p>{{ end -}} {{ with $title }}<p class="card-title fs-5 fw-bold">{{ . }}</p>{{ end -}}
{{ with $description }}<p class="card-text">{{ . }}</p>{{ end -}} {{ with $description }}<div class="card-text">{{ . | safeHTML }}</div>{{ end -}}
</div> </div>
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
@@ -126,7 +132,7 @@
<div class="row g-0 row-cols-1 h-100{{ if $button }} pb-5{{ end }}"> <div class="row g-0 row-cols-1 h-100{{ if $button }} pb-5{{ end }}">
<div class="{{ if eq $orientation "horizontal-sm" }}col-4 col-md-2{{ else }}col-4{{ end }}"> <div class="{{ if eq $orientation "horizontal-sm" }}col-4 col-md-2{{ else }}col-4{{ end }}">
{{- if $thumbnail -}} {{- if $thumbnail -}}
{{- partial $hook (dict "url" $thumbnail "ratio" (or $ratio "1x1") "wrapper" "h-100 card-img-wrap" "class" "rounded-start card-img-h100" "title" $title "loading" $loading) -}} {{- partial $hook (dict "url" $thumbnail "ratio" (or $ratio "1x1") "sizes" $sizes "wrapper" "h-100 card-img-wrap" "class" "rounded-start card-img-h100" "title" $title "loading" $loading) -}}
{{- else if $icon -}} {{- else if $icon -}}
<div class="card-icon p-{{ $padding }} h-100 fa-wrapper d-flex align-items-{{ $align}} justify-content-center {{ $iconStyle }}"> <div class="card-icon p-{{ $padding }} h-100 fa-wrapper d-flex align-items-{{ $align}} justify-content-center {{ $iconStyle }}">
{{- partial "assets/icon.html" (dict "icon" (printf "%s %s" $icon $style)) -}} {{- partial "assets/icon.html" (dict "icon" (printf "%s %s" $icon $style)) -}}
@@ -141,8 +147,8 @@
</div> </div>
{{ if $page }}<div>{{ partial "card-caption.html" (dict "page" $page "keywords" $footer "color" $color) }}</div>{{ end }} {{ if $page }}<div>{{ partial "card-caption.html" (dict "page" $page "keywords" $footer "color" $color) }}</div>{{ end }}
{{ if $button }} {{ if $button }}
{{ $label := $title | default (T "readMore") }} {{ $label := (or $buttonLabel $title) | default (T "readMore") }}
<div>{{ partial "assets/button.html" (dict "title" $label "icon" "fas chevron-right" "href" $href "outline" true "size" "sm" "class" "card-button mb-n4") }}</div> <div class="d-flex align-items-end">{{ partial "assets/button.html" (dict "title" $label "icon" "fas chevron-right" "href" $href "outline" true "size" "sm" "class" "card-button mb-n4") }}</div>
{{ end }} {{ end }}
</div> </div>
</div> </div>
@@ -152,7 +158,7 @@
<!-- Render stacked / default card --> <!-- Render stacked / default card -->
<div class="card {{ $colorStyle }} {{ $class }} text-{{ $align }}"> <div class="card {{ $colorStyle }} {{ $class }} text-{{ $align }}">
{{- if $thumbnail -}} {{- if $thumbnail -}}
{{- partial $hook (dict "url" $thumbnail "ratio" (or $ratio "16x9") "wrapper" "card-img-wrap" "class" "card-img-top" "title" (or $alt $title) "loading" $loading) -}} {{- partial $hook (dict "url" $thumbnail "ratio" (or $ratio "16x9") "sizes" $sizes "wrapper" "card-img-wrap" "class" "card-img-top" "title" (or $alt $title) "loading" $loading) -}}
{{- else if $icon -}} {{- else if $icon -}}
<div class="card-icon p-{{ $padding }} {{ $iconStyle }} text-{{ $align }}"> <div class="card-icon p-{{ $padding }} {{ $iconStyle }} text-{{ $align }}">
{{- partial "assets/icon.html" (dict "icon" (printf "%s %s" $icon $style)) -}} {{- partial "assets/icon.html" (dict "icon" (printf "%s %s" $icon $style)) -}}
@@ -164,10 +170,10 @@
{{ if $page }}{{- partial "card-caption.html" (dict "page" $page "keywords" $footer "color" $color) -}}{{ end }} {{ if $page }}{{- partial "card-caption.html" (dict "page" $page "keywords" $footer "color" $color) -}}{{ end }}
</div> </div>
{{ if $button }} {{ if $button }}
{{ $label := $title | default (T "readMore") }} {{ $label := (or $buttonLabel $title) | default (T "readMore") }}
<div class="row p-{{ $padding }}" > <div class="row p-{{ $padding }}" >
<div class="{{ if eq $orientation "horizontal-sm" }}col-4 col-md-2{{ else if eq $orientation "horizontal" }}col-4{{ end }}"></div> <div class="{{ if eq $orientation "horizontal-sm" }}col-4 col-md-2{{ else if eq $orientation "horizontal" }}col-4{{ end }}"></div>
<div class="col {{ if eq $orientation "horizontal-sm" }}px-2{{ else if eq $orientation "horizontal"}}px-1 {{ else }}px-2 pt-1{{ end }}"> <div class="col d-flex align-items-end {{ if eq $orientation "horizontal-sm" }}px-2{{ else if eq $orientation "horizontal"}}px-1 {{ else }}px-2 pt-1{{ end }}">
{{ partial "assets/button.html" (dict "title" $label "href" $href "outline" true "size" "sm" "class" "card-button") }} {{ partial "assets/button.html" (dict "title" $label "href" $href "outline" true "size" "sm" "class" "card-button") }}
</div> </div>
</div> </div>

View File

@@ -35,6 +35,8 @@
{{- $lazy := eq $loading "lazy" -}} {{- $lazy := eq $loading "lazy" -}}
{{- $priority := .priority -}} {{- $priority := .priority -}}
{{- if eq $priority "auto" }}{{ $priority = "" }}{{ end -}} {{- if eq $priority "auto" }}{{ $priority = "" }}{{ end -}}
{{- $sizes := .sizes | default "100vw" -}}
{{- define "partials/image-portrait.html" -}} {{- define "partials/image-portrait.html" -}}
{{- $dimensions := slice }} {{- $dimensions := slice }}
@@ -168,6 +170,7 @@
{{- $modes := .modes -}} {{- $modes := .modes -}}
{{- $lazy := .lazy -}} {{- $lazy := .lazy -}}
{{- $page := .page -}} {{- $page := .page -}}
{{- $sizes := .sizes -}}
{{- $priority := .priority -}} {{- $priority := .priority -}}
{{- $isVector := false -}} {{- $isVector := false -}}
@@ -235,7 +238,7 @@
src="{{ $fallbackURL }}" src="{{ $fallbackURL }}"
{{ if $lazy }}loading="lazy"{{ end }} {{ if $lazy }}loading="lazy"{{ end }}
{{ with $priority }}fetchpriority="{{ . }}"{{ end }} {{ with $priority }}fetchpriority="{{ . }}"{{ end }}
{{ with $imgset -}}srcset="{{ . }}" sizes="100vw"{{- end }} {{ with $imgset -}}srcset="{{ . }}" sizes="{{ $sizes }}"{{- end }}
{{ with $height }}height="{{ . }}"{{ end }} {{ with $height }}height="{{ . }}"{{ end }}
{{ with $width }}width="{{ . }}"{{ end }} {{ with $width }}width="{{ . }}"{{ end }}
{{ with $title }}alt="{{ . }}"{{ end }}> {{ with $title }}alt="{{ . }}"{{ end }}>
@@ -263,6 +266,7 @@
"figclass" $figclass "figclass" $figclass
"lazy" $lazy "lazy" $lazy
"priority" $priority "priority" $priority
"sizes" $sizes
"page" $page) "page" $page)
-}} -}}

View File

@@ -112,6 +112,7 @@
{{- $fixed := .fixed | default false -}} {{- $fixed := .fixed | default false -}}
{{- $overlay := .overlay | default false -}} {{- $overlay := .overlay | default false -}}
{{- $overlayMode := .overlayMode | default "dark" -}} {{- $overlayMode := .overlayMode | default "dark" -}}
{{- if eq $overlayMode "none" }}{{ $overlayMode = "" }}{{ end }}
{{- $color := .color | default "" -}} {{- $color := .color | default "" -}}
{{- $search := .search | default site.Params.navigation.search -}} {{- $search := .search | default site.Params.navigation.search -}}
{{- $searchModal := and $search site.Params.navigation.searchModal -}} {{- $searchModal := and $search site.Params.navigation.searchModal -}}
@@ -183,42 +184,46 @@
{{ if $overlay }}data-navbar-color="{{ $color }}"{{ end }} {{ if $overlay }}data-navbar-color="{{ $color }}"{{ end }}
> >
<div class="container-xxl p-0"> <div class="container-xxl p-0">
<!-- Insert sidebar toggler when applicable --> <div class="d-flex navbar-container justify-content-center">
<div class="d-flex align-items-center"> <!-- Insert sidebar toggler when applicable -->
{{- if $page.Scratch.Get "sidebar" -}} <div class="d-flex align-items-center">
<button class="navbar-toggler collapsed p-0 mx-auto" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvass-sidebar" aria-controls="offcanvass-sidebar" aria-label="{{ T "toggleSidebar" }}"> {{- if $page.Scratch.Get "sidebar" -}}
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw") -}} <button class="navbar-toggler collapsed p-0 mx-auto fw-30" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvass-sidebar" aria-controls="offcanvass-sidebar" aria-label="{{ T "toggleSidebar" }}">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw" "spacing" false) -}}
</button>
{{- else -}}
<!-- Insert invisible sidebar toggler to center logo correctly on smaller screens -->
<button class="navbar-toggler collapsed p-0 mx-auto invisible fw-30" type="button">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw" "spacing" false) -}}
</button>
{{- end -}}
</div>
<!-- Insert the brand logo or name -->
<div class="{{ if (or $logoLight $logo) }}mx-auto{{ else }}flex-grow-1 flex-{{ $size }}-grow-0{{ end }}">
<a class="navbar-brand" href="{{ site.Home.RelPermalink }}" aria-label="{{ T "home" }}">
{{- if (and $logoLight $logoDark) -}}
{{ $width := partial "utilities/GetWidth.html" (dict "path" $logoLight "height" 30) }}
<img src="{{if $absoluteURL }}{{ absURL $logoLight }}{{ else }}{{ $logoLight }}{{ end }}" class="d-none-inline-dark" alt="{{ $title }} logo" height="30"{{ with $width }} width="{{ . }}"{{ end }}>
<img src="{{if $absoluteURL }}{{ absURL $logoDark }}{{ else }}{{ $logoDark }}{{ end }}" class="d-none-inline-light" alt="{{ $title }} logo" height="30"{{ with $width }} width="{{ . }}"{{ end }}>
{{- else if $logo -}}
{{ $width := partial "utilities/GetWidth.html" (dict "path" $logo "height" 30) }}
<img src="{{if $absoluteURL }}{{ absURL $logo }}{{ else }}{{ $logo }}{{ end }}" alt="{{ $title }} logo" height="30"{{ with $width }} width="{{ . }}"{{ end }}>
{{- else -}}
<div class="navbar-title fw-bold h-100">{{ $title }}</div>
{{- end -}}
</a>
</div>
<!-- Insert main navigation toggler -->
<div class="d-flex align-items-center">
<button class="navbar-toggler main-nav-toggler collapsed p-0" type="button" data-bs-toggle="collapse" data-bs-target="#{{ $id }}-collapse"
aria-controls="{{ $id }}" aria-expanded="false" aria-label="{{ T "toggleMainNav" }}">
<span class="toggler-icon top-bar emphasis{{ with $theme }}-{{ . }}{{ end }}"></span>
<span class="toggler-icon middle-bar emphasis{{ with $theme }}-{{ . }}{{ end }}"></span>
<span class="toggler-icon bottom-bar emphasis{{ with $theme }}-{{ . }}{{ end }}"></span>
</button> </button>
{{- else -}} </div>
<!-- Insert invisible sidebar toggler to center logo correctly on smaller screens -->
<button class="navbar-toggler collapsed p-0 mx-auto invisible" type="button">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw") -}}
</button>
{{- end -}}
</div>
<!-- Insert the brand logo or name -->
<a class="navbar-brand mx-auto" href="{{ site.Home.RelPermalink }}" aria-label="{{ T "home" }}">
{{- if (and $logoLight $logoDark) -}}
{{ $width := partial "utilities/GetWidth.html" (dict "path" $logoLight "height" 30) }}
<img src="{{if $absoluteURL }}{{ absURL $logoLight }}{{ else }}{{ $logoLight }}{{ end }}" class="d-none-dark" alt="{{ $title }} logo" height="30"{{ with $width }} width="{{ . }}"{{ end }}>
<img src="{{if $absoluteURL }}{{ absURL $logoDark }}{{ else }}{{ $logoDark }}{{ end }}" class="d-none-light" alt="{{ $title }} logo" height="30"{{ with $width }} width="{{ . }}"{{ end }}>
{{- else if $logo -}}
{{ $width := partial "utilities/GetWidth.html" (dict "path" $logo "height" 30) }}
<img src="{{if $absoluteURL }}{{ absURL $logo }}{{ else }}{{ $logo }}{{ end }}" alt="{{ $title }} logo" height="30"{{ with $width }} width="{{ . }}"{{ end }}>
{{- else -}}
<span class="fw-bold">{{ $title }}</span>
{{- end -}}
</a>
<!-- Insert main navigation toggler -->
<div class="d-flex">
<button class="navbar-toggler main-nav-toggler collapsed p-0" type="button" data-bs-toggle="collapse" data-bs-target="#{{ $id }}-collapse"
aria-controls="{{ $id }}" aria-expanded="false" aria-label="{{ T "toggleMainNav" }}">
<span class="toggler-icon top-bar emphasis{{ with $theme }}-{{ . }}{{ end }}"></span>
<span class="toggler-icon middle-bar emphasis{{ with $theme }}-{{ . }}{{ end }}"></span>
<span class="toggler-icon bottom-bar emphasis{{ with $theme }}-{{ . }}{{ end }}"></span>
</button>
</div> </div>
<div class="navbar-collapse collapse" id="{{ $id }}-collapse"> <div class="navbar-collapse collapse" id="{{ $id }}-collapse">

View File

@@ -30,20 +30,20 @@
"icon" "fas sort" "icon" "fas sort"
"justify" "between" "justify" "between"
"collapse" "toc-collapse" "collapse" "toc-collapse"
"order" "last") "order" "last"
"spacing" false
)
-}} -}}
</div> </div>
<p> <div class="collapse border bg-body-tertiary rounded p-1 navbar-nav-scroll" id="toc-collapse">
<div class="collapse border bg-body-tertiary rounded p-1 navbar-nav-scroll" id="toc-collapse"> <div class="toc toc-panel section-menu text-body p-2 fs-6">
<div class="toc toc-panel section-menu text-body p-2 fs-6"> {{- range $items }}
{{- range $items }} {{ $active := eq $page.RelPermalink .RelPermalink }}
{{ $active := eq $page.RelPermalink .RelPermalink }} <a class="nav-link{{ if $active }} active{{ end }}" href="{{ .RelPermalink }}">{{ .Title }}</a>
<a class="nav-link{{ if $active }} active{{ end }}" href="{{ .RelPermalink }}">{{ .Title }}</a> {{- end }}
{{- end }}
</div>
</div> </div>
</p> </div>
<nav class="navbar navbar-expand navbar-services p-0 fs-5 d-none d-md-block"> <nav class="navbar navbar-expand navbar-services p-0 fs-5 d-none d-md-block">
<div class="container-fluid p-0 pb-3"> <div class="container-fluid p-0 pb-3">

View File

@@ -35,9 +35,7 @@
{{- end }} {{- end }}
{{- end -}} {{- end -}}
{{- range $index, $element := resources.Match "icons/**.svg" -}} {{- range resources.Match "icons/**.svg" -}}
{{ with resources.Get $element }} {{- $icon := . | resources.ExecuteAsTemplate .RelPermalink $params -}}
{{- $icon := . | resources.ExecuteAsTemplate $element $params -}} {{- $icon.Publish -}}
{{- $icon.Publish -}}
{{ end }}
{{- end -}} {{- end -}}

View File

@@ -27,7 +27,11 @@
{{ end}} {{ end}}
{{- $navbarOffset := "0rem" -}} {{- $navbarOffset := "0rem" -}}
{{- if site.Params.navigation.fixed }}{{ $navbarOffset = site.Params.navigation.offset | default "4rem" }}{{ end }} {{- $navbarOffsetXS := "0rem" -}}
{{- if site.Params.navigation.fixed }}
{{ $navbarOffset = site.Params.navigation.offset | default "4rem" }}
{{ $navbarOffsetXS = site.Params.navigation.offsetXS | default $navbarOffset }}
{{ end }}
{{- $overlayOffset := $navbarOffset -}} {{- $overlayOffset := $navbarOffset -}}
{{- if site.Params.navigation.overlay }}{{ $overlayOffset = "0rem" }}{{ end }} {{- if site.Params.navigation.overlay }}{{ $overlayOffset = "0rem" }}{{ end }}
{{- $vars := dict {{- $vars := dict
@@ -43,6 +47,8 @@
"dark" (default "#212529" site.Params.style.dark) "dark" (default "#212529" site.Params.style.dark)
"navbar-height" (site.Params.navigation.offset | default "4rem") "navbar-height" (site.Params.navigation.offset | default "4rem")
"navbar-offset" $navbarOffset "navbar-offset" $navbarOffset
"navbar-offset-xs" $navbarOffsetXS
"navbar-size" (site.Params.navigation.size | default "md")
"overlay-offset" $overlayOffset "overlay-offset" $overlayOffset
"enable-dark-mode" (printf "%t" ((default true site.Params.main.enableDarkMode))) "enable-dark-mode" (printf "%t" ((default true site.Params.main.enableDarkMode)))
"import-fonts" (printf "%t" (not (hasPrefix (lower site.Params.style.themeFontPath) "http"))) "import-fonts" (printf "%t" (not (hasPrefix (lower site.Params.style.themeFontPath) "http")))

View File

@@ -3,6 +3,7 @@
{{- $orientation := .orientation | default "stacked" -}} {{- $orientation := .orientation | default "stacked" -}}
{{- $actions := .actions -}} {{- $actions := .actions -}}
{{- $width := .width | default 6 }} {{- $width := .width | default 6 }}
{{ $sizes := "100vw" }}
{{- if or (lt $width 1) (gt $width 12) -}} {{- if or (lt $width 1) (gt $width 12) -}}
{{- $width = 6 -}} {{- $width = 6 -}}
{{- warnf "partial [list/featured.html] - Invalid column width: %d" $width -}} {{- warnf "partial [list/featured.html] - Invalid column width: %d" $width -}}
@@ -19,6 +20,11 @@
{{- end -}} {{- end -}}
{{- $breadcrumb := and (not $page.IsHome) site.Params.navigation.breadcrumb -}} {{- $breadcrumb := and (not $page.IsHome) site.Params.navigation.breadcrumb -}}
{{- define "partials/list/featured-sizes.html" }}
{{ $sizes := printf "(min-width: 768px) %dvw, 50vw" (int (math.Round (div (mul .width 100) 12))) }}
{{ return $sizes }}
{{ end }}
{{- define "partials/list/featured-body.html" }} {{- define "partials/list/featured-body.html" }}
{{- $page := .page -}} {{- $page := .page -}}
{{- $headings := .headings -}} {{- $headings := .headings -}}
@@ -44,6 +50,7 @@
{{- define "partials/list/featured-illustration.html" }} {{- define "partials/list/featured-illustration.html" }}
{{- $page := .page -}} {{- $page := .page -}}
{{- $style := printf "img-wrap mx-auto mx-md-0 %s" .style -}} {{- $style := printf "img-wrap mx-auto mx-md-0 %s" .style -}}
{{ $sizes := .sizes }}
{{ if $page.Params.icon }} {{ if $page.Params.icon }}
{{- $icon := (or (and (reflect.IsMap $page.Params.Icon) $page.Params.Icon.url) $page.Params.Icon) -}} {{- $icon := (or (and (reflect.IsMap $page.Params.Icon) $page.Params.Icon.url) $page.Params.Icon) -}}
@@ -56,7 +63,7 @@
{{ else }} {{ else }}
{{- $thumbnail := (or (and (reflect.IsMap $page.Params.Thumbnail) $page.Params.Thumbnail.url) $page.Params.Thumbnail) -}} {{- $thumbnail := (or (and (reflect.IsMap $page.Params.Thumbnail) $page.Params.Thumbnail.url) $page.Params.Thumbnail) -}}
{{- if $thumbnail }} {{- if $thumbnail }}
{{ partial "assets/image.html" (dict "url" $thumbnail "ratio" "16x9" "wrapper" $style "class" "rounded" "title" $page.Site.Title "priority" "high") }} {{ partial "assets/image.html" (dict "url" $thumbnail "ratio" "16x9" "sizes" $sizes "wrapper" $style "class" "rounded" "title" $page.Site.Title "priority" "high") }}
{{ end }} {{ end }}
{{ end }} {{ end }}
{{- end -}} {{- end -}}
@@ -70,7 +77,8 @@
{{ if eq $orientation "stacked" }} {{ if eq $orientation "stacked" }}
<div class="row justify-content-center flex-fill"> <div class="row justify-content-center flex-fill">
<div class="col-12 col-md-{{ $width }} m-auto text-center"> <div class="col-12 col-md-{{ $width }} m-auto text-center">
{{ partial "partials/list/featured-illustration.html" (dict "page" $page "style" "pb-4") }} {{ $sizes = partial "partials/list/featured-sizes.html" (dict "width" $width) }}
{{ partial "partials/list/featured-illustration.html" (dict "page" $page "sizes" $sizes "style" "pb-4") }}
{{ partial "partials/list/featured-body.html" (dict "page" $page "headings" $headings "orientation" $orientation "actions" $actions) }} {{ partial "partials/list/featured-body.html" (dict "page" $page "headings" $headings "orientation" $orientation "actions" $actions) }}
</div> </div>
</div> </div>
@@ -79,8 +87,11 @@
<div class="col col-12 col-md-{{ $width }} order-1 order-md-0 my-md-auto"> <div class="col col-12 col-md-{{ $width }} order-1 order-md-0 my-md-auto">
{{ partial "partials/list/featured-body.html" (dict "page" $page "headings" $headings "orientation" $orientation "actions" $actions "align" $align) }} {{ partial "partials/list/featured-body.html" (dict "page" $page "headings" $headings "orientation" $orientation "actions" $actions "align" $align) }}
</div> </div>
<div class="col col-12 col-md-{{ if gt $width 6 }}{{ sub 12 $width }}{{ else }}{{ $width }}{{ end }} order-0 order-md-1 text-center my-md-auto align-self-end"> {{ $newWidth := $width }}
{{ partial "partials/list/featured-illustration.html" (dict "page" $page "style" "pb-4 pb-md-0") }} {{ if gt $width 6 }}{{ $newWidth = sub 12 $width }}{{ end }}
{{ $sizes = partial "partials/list/featured-sizes.html" (dict "width" $newWidth) }}
<div class="col col-12 col-md-{{ $newWidth }} order-0 order-md-1 text-center my-md-auto align-self-end">
{{ partial "partials/list/featured-illustration.html" (dict "page" $page "sizes" $sizes "style" "pb-4 pb-md-0") }}
</div> </div>
</div> </div>
{{ end }} {{ end }}

View File

@@ -19,6 +19,7 @@
{{- $class := "" -}} {{- $class := "" -}}
{{- $title := "" -}} {{- $title := "" -}}
{{- $caption := "" -}} {{- $caption := "" -}}
{{- $figclass := "" -}}
{{- $mode := false -}} {{- $mode := false -}}
{{- $portrait := false -}} {{- $portrait := false -}}
{{- $loading := "" -}} {{- $loading := "" -}}
@@ -33,6 +34,7 @@
{{- $loading = .Get "loading" | default "" -}} {{- $loading = .Get "loading" | default "" -}}
{{ $title = .Get "title" | default "" -}} {{ $title = .Get "title" | default "" -}}
{{ $caption = .Get "caption" | default "" -}} {{ $caption = .Get "caption" | default "" -}}
{{ $figclass = .Get "figclass" | default "" -}}
{{ with .Get "mode" }}{{ $mode = partial "utilities/CastBool.html" . }}{{ end -}} {{ with .Get "mode" }}{{ $mode = partial "utilities/CastBool.html" . }}{{ end -}}
{{ with .Get "portrait" }}{{ $portrait = partial "utilities/CastBool.html" . }}{{ end -}} {{ with .Get "portrait" }}{{ $portrait = partial "utilities/CastBool.html" . }}{{ end -}}
{{ else -}} {{ else -}}
@@ -53,6 +55,7 @@
"class" $class "class" $class
"title" $title "title" $title
"caption" $caption "caption" $caption
"figclass" $figclass
"mode" $mode "mode" $mode
"portrait" $portrait "portrait" $portrait
"loading" $loading "loading" $loading

View File

@@ -4,8 +4,8 @@
command = "npm run build:example" command = "npm run build:example"
[build.environment] [build.environment]
DART_SASS_VERSION = "1.71.1" DART_SASS_VERSION = "1.72.0"
HUGO_VERSION = "0.122.0" HUGO_VERSION = "0.124.0"
HUGO_ENV = "production" HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"
NODE_VERSION = "18.19.1" NODE_VERSION = "18.19.1"

719
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.23.0-rc.1", "version": "0.23.13",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator", "description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [ "keywords": [
"hugo", "hugo",
@@ -67,19 +67,19 @@
}, },
"homepage": "https://gethinode.com", "homepage": "https://gethinode.com",
"devDependencies": { "devDependencies": {
"@fullhuman/postcss-purgecss": "^5.0.0", "@fullhuman/postcss-purgecss": "^6.0.0",
"@gethinode/netlify-plugin-dartsass": "^0.3.0", "@gethinode/netlify-plugin-dartsass": "^0.3.0",
"@netlify/plugin-lighthouse": "^6.0.0", "@netlify/plugin-lighthouse": "^6.0.0",
"autoprefixer": "^10.4.18", "autoprefixer": "^10.4.19",
"cssnano": "^6.1.0", "cssnano": "^7.0.1",
"cssnano-preset-advanced": "^6.1.0", "cssnano-preset-advanced": "^7.0.1",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0", "eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2", "eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1", "eslint-plugin-promise": "^6.1.1",
"hugo-bin": "^0.120.8", "hugo-bin": "0.122.5",
"markdownlint-cli2": "^0.12.1", "markdownlint-cli2": "^0.13.0",
"netlify-plugin-hugo-cache-resources": "^0.2.1", "netlify-plugin-hugo-cache-resources": "^0.2.1",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.0", "postcss-cli": "^11.0.0",
@@ -87,8 +87,8 @@
"replace-in-files-cli": "^2.2.0", "replace-in-files-cli": "^2.2.0",
"rimraf": "^5.0.5", "rimraf": "^5.0.5",
"shx": "^0.3.4", "shx": "^0.3.4",
"stylelint": "^16.2.1", "stylelint": "^16.5.0",
"stylelint-config-standard-scss": "^13.0.0" "stylelint-config-standard-scss": "^13.1.0"
}, },
"optionalDependencies": { "optionalDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0", "@gethinode/netlify-plugin-dartsass": "^0.3.0",