Compare commits

...

261 Commits

Author SHA1 Message Date
Mark Dumay
3cfe1c296b Merge pull request #1339 from gethinode/develop
Update copyright notice
2025-01-01 07:22:26 +01:00
Mark Dumay
2b32c3c8fc Merge branch 'main' into develop 2025-01-01 07:10:10 +01:00
Mark Dumay
efa1ae2076 Update copyright notice 2025-01-01 07:08:10 +01:00
Mark Dumay
35c869b729 Merge pull request #1338 from gethinode/develop
Add option to forcefully include trailing slash in links and card group buttons
2025-01-01 07:06:59 +01:00
Mark Dumay
ccbc9b24d5 Merge branch 'main' into develop 2025-01-01 06:53:56 +01:00
Mark Dumay
680614d446 Bump package release 2025-01-01 06:43:38 +01:00
Mark Dumay
93f6acd70d Add option to forcefully include trailing slash in links and card group buttons 2025-01-01 06:40:01 +01:00
github-actions[bot]
8d761aa5d7 Merge pull request #1337 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.137.2
Bump hugo-bin from 0.137.1 to 0.137.2
2024-12-31 13:19:04 +00:00
dependabot[bot]
9df7f951c6 Bump hugo-bin from 0.137.1 to 0.137.2
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.137.1 to 0.137.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.137.1...v0.137.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-31 13:13:17 +00:00
github-actions[bot]
0bf7671675 Merge pull request #1336 from gethinode/dependabot/npm_and_yarn/markdownlint-cli2-0.17.1
Bump markdownlint-cli2 from 0.17.0 to 0.17.1
2024-12-31 13:12:09 +00:00
dependabot[bot]
43a285db86 Bump markdownlint-cli2 from 0.17.0 to 0.17.1
Bumps [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) from 0.17.0 to 0.17.1.
- [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/DavidAnson/markdownlint-cli2/compare/v0.17.0...v0.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-31 13:06:31 +00:00
Mark Dumay
f982b0f9d4 Merge pull request #1334 from gethinode/develop
Include sitemap in robots.txt
2024-12-30 16:54:38 +01:00
Mark Dumay
669dfec6af Include sitemap in robots.txt 2024-12-30 16:40:36 +01:00
Mark Dumay
05ea55d73d Merge pull request #1332 from timcappalli/main
Fix JSON-LD schema params mapping
2024-12-30 08:04:43 +01:00
Tim Cappalli
e64fdee0ea s/schemaType/scheme.type 2024-12-27 19:37:29 -05:00
github-actions[bot]
90ef36d39a Merge pull request #1329 from gethinode/dependabot/npm_and_yarn/markdownlint-cli2-0.17.0
Bump markdownlint-cli2 from 0.16.0 to 0.17.0
2024-12-26 13:18:54 +00:00
dependabot[bot]
d4321cea30 Bump markdownlint-cli2 from 0.16.0 to 0.17.0
Bumps [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) from 0.16.0 to 0.17.0.
- [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/DavidAnson/markdownlint-cli2/compare/v0.16.0...v0.17.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-12-26 13:13:26 +00:00
github-actions[bot]
9fd3781c25 Merge pull request #1328 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.137.1
Bump hugo-bin from 0.137.0 to 0.137.1
2024-12-24 13:28:13 +00:00
dependabot[bot]
ed833307f8 Bump hugo-bin from 0.137.0 to 0.137.1
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.137.0 to 0.137.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.137.0...v0.137.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-24 13:22:48 +00:00
Mark Dumay
a73268fea6 Merge pull request #1327 from gethinode/develop
Fix alias when using preferred language
2024-12-21 13:31:01 +01:00
Mark Dumay
413082a23d Merge branch 'main' into develop 2024-12-21 13:26:34 +01:00
Mark Dumay
2b15ff26dc Fix alias when using preferred language 2024-12-21 13:26:06 +01:00
Mark Dumay
42db5b3f9b Merge pull request #1326 from gethinode/develop
Suppress empty breadcrumb sections
2024-12-21 09:43:08 +01:00
Mark Dumay
d3e58591be Merge branch 'main' into develop 2024-12-21 09:36:18 +01:00
Mark Dumay
5c9187a5ed Suppress empty breadcrumb sections
Ignores list pages that are not built
2024-12-21 09:35:51 +01:00
Mark Dumay
1db2652304 Merge pull request #1325 from gethinode/develop
Suppress rounding of card vector images
2024-12-21 08:05:13 +01:00
Mark Dumay
003f9a329c Merge branch 'main' into develop 2024-12-21 07:49:45 +01:00
Mark Dumay
c7bed9de24 Suppress rounding of card vector images 2024-12-21 07:48:56 +01:00
Mark Dumay
1de5aa70da Merge pull request #1323 from gethinode/develop
Remove unneeded canonical URL
2024-12-20 13:54:39 +01:00
Mark Dumay
eb51223fa8 Merge branch 'main' into develop 2024-12-20 13:48:47 +01:00
Mark Dumay
4b732c02f8 Remove unneeded canonical URL 2024-12-20 13:48:14 +01:00
Mark Dumay
3193ff6e0d Merge pull request #1322 from gethinode/develop
Remove invalid links from navbar items and buttons
2024-12-20 13:43:54 +01:00
Mark Dumay
d66f8eef93 Merge branch 'main' into develop 2024-12-20 13:32:55 +01:00
Mark Dumay
9bb9bb580a Bump package release 2024-12-20 13:32:37 +01:00
Mark Dumay
c29b43866a Remove invalid links from navbar items and buttons
Replaces `#!` with empty href
2024-12-20 13:31:54 +01:00
github-actions[bot]
e3d88bdf37 Merge pull request #1320 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.137.0
Bump hugo-bin from 0.136.4 to 0.137.0
2024-12-18 13:19:04 +00:00
dependabot[bot]
a35db80260 Bump hugo-bin from 0.136.4 to 0.137.0
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.136.4 to 0.137.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.136.4...v0.137.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-18 13:13:53 +00:00
github-actions[bot]
3d19b57d5e Merge pull request #1319 from gethinode/dependabot/npm_and_yarn/stylelint-16.12.0
Bump stylelint from 16.11.0 to 16.12.0
2024-12-16 14:06:44 +00:00
dependabot[bot]
3bd8f99678 Bump stylelint from 16.11.0 to 16.12.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.11.0 to 16.12.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.11.0...16.12.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-12-16 14:02:00 +00:00
github-actions[bot]
a01c726de4 Merge pull request #1318 from gethinode/dependabot/npm_and_yarn/eslint-9.17.0
Bump eslint from 9.16.0 to 9.17.0
2024-12-16 14:00:42 +00:00
dependabot[bot]
fe74653749 Bump eslint from 9.16.0 to 9.17.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.16.0 to 9.17.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.16.0...v9.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 13:55:04 +00:00
Mark Dumay
c143634c4a Merge pull request #1316 from gethinode/develop
Update package version
2024-12-13 08:53:13 +01:00
Mark Dumay
58e0946636 Merge branch 'main' into develop 2024-12-13 08:30:03 +01:00
Mark Dumay
d2dd3a32d0 Update package version 2024-12-13 08:29:33 +01:00
Mark Dumay
045dfd5a13 Merge pull request #1315 from gethinode/develop
Introduce ins shortcode to underline text
2024-12-13 08:24:02 +01:00
Mark Dumay
ecab03d15c Merge branch 'main' into develop 2024-12-13 07:53:21 +01:00
Mark Dumay
6972f71077 Merge pull request #1313 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-12-13 07:52:16 +01:00
Mark Dumay
92c87629a0 Introduce ins shortcode to underline text 2024-12-13 07:50:54 +01:00
markdumay
a0dd30d2c7 fix: update Hugo module dependencies 2024-12-11 03:19:59 +00:00
github-actions[bot]
50c6c80d8a Merge pull request #1310 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.136.4
Bump hugo-bin from 0.136.3 to 0.136.4
2024-12-10 14:04:14 +00:00
dependabot[bot]
548ba82abe Bump hugo-bin from 0.136.3 to 0.136.4
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.136.3 to 0.136.4.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.136.3...v0.136.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 13:58:13 +00:00
github-actions[bot]
31e47ad940 Merge pull request #1312 from gethinode/dependabot/npm_and_yarn/nanoid-3.3.8
Bump nanoid from 3.3.7 to 3.3.8
2024-12-10 13:56:57 +00:00
dependabot[bot]
f04f5719ec Bump nanoid from 3.3.7 to 3.3.8
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 13:51:35 +00:00
github-actions[bot]
8ab0d2fb1e Merge pull request #1311 from gethinode/dependabot/npm_and_yarn/neostandard-0.12.0
Bump neostandard from 0.11.9 to 0.12.0
2024-12-10 13:50:34 +00:00
dependabot[bot]
9f83f33afd Bump neostandard from 0.11.9 to 0.12.0
Bumps [neostandard](https://github.com/neostandard/neostandard) from 0.11.9 to 0.12.0.
- [Release notes](https://github.com/neostandard/neostandard/releases)
- [Changelog](https://github.com/neostandard/neostandard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/neostandard/neostandard/compare/v0.11.9...v0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 13:45:34 +00:00
github-actions[bot]
e9789a420c Merge pull request #1308 from gethinode/dependabot/npm_and_yarn/markdownlint-cli2-0.16.0
Bump markdownlint-cli2 from 0.15.0 to 0.16.0
2024-12-09 13:22:01 +00:00
dependabot[bot]
8459665fcf Bump markdownlint-cli2 from 0.15.0 to 0.16.0
Bumps [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) from 0.15.0 to 0.16.0.
- [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/DavidAnson/markdownlint-cli2/compare/v0.15.0...v0.16.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-12-09 13:16:44 +00:00
Mark Dumay
75083fe543 Merge pull request #1306 from gethinode/develop
Fix handling of vector images with static folder prefix
2024-12-04 16:51:58 +01:00
Mark Dumay
d5d29bab37 Merge branch 'main' into develop 2024-12-04 16:45:01 +01:00
Mark Dumay
46d2e57e4b Fix handling of vector images with static folder prefix 2024-12-04 16:44:36 +01:00
github-actions[bot]
8a0658e931 Merge pull request #1305 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.136.3
Bump hugo-bin from 0.136.2 to 0.136.3
2024-12-02 15:12:15 +00:00
dependabot[bot]
9be5b22911 Bump hugo-bin from 0.136.2 to 0.136.3
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.136.2 to 0.136.3.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.136.2...v0.136.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 15:06:09 +00:00
github-actions[bot]
71181905c3 Merge pull request #1304 from gethinode/dependabot/npm_and_yarn/stylelint-config-standard-scss-14.0.0
Bump stylelint-config-standard-scss from 13.1.0 to 14.0.0
2024-12-02 15:04:31 +00:00
dependabot[bot]
61a00fd205 Bump stylelint-config-standard-scss from 13.1.0 to 14.0.0
Bumps [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss) from 13.1.0 to 14.0.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.1.0...v14.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 15:00:07 +00:00
github-actions[bot]
71c2e4f5c6 Merge pull request #1303 from gethinode/dependabot/npm_and_yarn/eslint-9.16.0
Bump eslint from 9.15.0 to 9.16.0
2024-12-02 14:58:52 +00:00
dependabot[bot]
14c05f62ad Bump eslint from 9.15.0 to 9.16.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.15.0 to 9.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.15.0...v9.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 14:52:56 +00:00
github-actions[bot]
712634ec57 Merge pull request #1302 from gethinode/dependabot/npm_and_yarn/stylelint-16.11.0
Bump stylelint from 16.10.0 to 16.11.0
2024-11-29 13:39:33 +00:00
dependabot[bot]
d8070914f9 Bump stylelint from 16.10.0 to 16.11.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.10.0 to 16.11.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.10.0...16.11.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-11-29 13:33:55 +00:00
github-actions[bot]
8006143d3f Merge pull request #1300 from gethinode/dependabot/npm_and_yarn/neostandard-0.11.9
Bump neostandard from 0.11.8 to 0.11.9
2024-11-26 13:34:18 +00:00
dependabot[bot]
b56516b77b Bump neostandard from 0.11.8 to 0.11.9
Bumps [neostandard](https://github.com/neostandard/neostandard) from 0.11.8 to 0.11.9.
- [Release notes](https://github.com/neostandard/neostandard/releases)
- [Changelog](https://github.com/neostandard/neostandard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/neostandard/neostandard/compare/v0.11.8...v0.11.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-26 13:29:20 +00:00
github-actions[bot]
ac6a47e528 Merge pull request #1299 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.136.2
Bump hugo-bin from 0.136.0 to 0.136.2
2024-11-25 13:46:58 +00:00
dependabot[bot]
d6f86a0a4c Bump hugo-bin from 0.136.0 to 0.136.2
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.136.0 to 0.136.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.136.0...v0.136.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 13:40:15 +00:00
github-actions[bot]
d950555d75 Merge pull request #1298 from gethinode/dependabot/npm_and_yarn/fullhuman/postcss-purgecss-7.0.2
Bump @fullhuman/postcss-purgecss from 6.0.0 to 7.0.2
2024-11-22 14:11:09 +00:00
dependabot[bot]
231425dbdf Bump @fullhuman/postcss-purgecss from 6.0.0 to 7.0.2
Bumps [@fullhuman/postcss-purgecss](https://github.com/FullHuman/purgecss) from 6.0.0 to 7.0.2.
- [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/v6.0.0...v7.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 14:03:41 +00:00
Mark Dumay
2cccbc499a Merge pull request #1297 from gethinode/develop
Contain aspect ratio of svg card thumbnails
2024-11-20 08:07:44 +01:00
Mark Dumay
92572a21bc Merge branch 'main' into develop 2024-11-20 08:00:05 +01:00
Mark Dumay
261c174739 Contain aspect ratio of svg card thumbnails 2024-11-20 07:59:24 +01:00
Mark Dumay
fbdfd10969 Merge pull request #1296 from gethinode/develop
Fix anchor handling of cover image
2024-11-19 16:40:21 +01:00
Mark Dumay
2c2cd595c1 Merge branch 'main' into develop 2024-11-19 16:32:34 +01:00
Mark Dumay
2b6fc61628 Fix anchor handling of cover image 2024-11-19 16:29:34 +01:00
Mark Dumay
40096611cf Merge pull request #1287 from d-oit/thumbnail-ratio
Params config for thumbnails.ratio
2024-11-19 11:20:17 +01:00
Mark Dumay
937b16ca60 Merge branch 'main' into thumbnail-ratio 2024-11-19 11:10:22 +01:00
Mark Dumay
64d7ff5d93 Merge pull request #1295 from gethinode/develop
Fix raw HTML warnings
2024-11-19 11:09:20 +01:00
Mark Dumay
b7fb5bee75 Merge branch 'main' into develop 2024-11-19 10:51:14 +01:00
Mark Dumay
63d7d4de85 Fix raw HTML warnings 2024-11-19 10:50:40 +01:00
Mark Dumay
035387d8c1 Merge pull request #1294 from gethinode/develop
Fix French data table example
2024-11-19 10:49:36 +01:00
Mark Dumay
f7c5769817 Merge branch 'main' into develop 2024-11-19 10:43:20 +01:00
Mark Dumay
6853a455cb Fix French data table example 2024-11-19 10:42:57 +01:00
Mark Dumay
190f849b5a Merge pull request #1293 from gethinode/develop
Add option to silence dart sass deprecation warnings
2024-11-19 10:39:03 +01:00
Mark Dumay
1165ffffe0 Merge branch 'main' into develop 2024-11-19 10:34:02 +01:00
Mark Dumay
214812b750 Add option to silence dart sass deprecation warnings 2024-11-19 10:32:21 +01:00
Mark Dumay
20f1a87d8b Merge pull request #1292 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-11-19 07:38:40 +01:00
markdumay
66f904c7fb fix: update Hugo module dependencies 2024-11-19 03:15:32 +00:00
Mark Dumay
cdf9d39242 Merge pull request #1284 from aefly/french-translation
Update `fr.yaml`
2024-11-18 15:48:44 +01:00
Mark Dumay
98c53ccd6d Merge branch 'main' into french-translation 2024-11-18 15:40:34 +01:00
github-actions[bot]
5409aa7a63 Merge pull request #1291 from gethinode/dependabot/npm_and_yarn/eslint-9.15.0
Bump eslint from 9.14.0 to 9.15.0
2024-11-18 13:36:21 +00:00
dependabot[bot]
10a69d6bfd Bump eslint from 9.14.0 to 9.15.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.14.0 to 9.15.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.14.0...v9.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 13:30:47 +00:00
aefly
705967641a Merge branch 'main' into french-translation 2024-11-17 19:55:08 +01:00
github-actions[bot]
a5b49bdf70 Merge pull request #1289 from gethinode/dependabot/npm_and_yarn/neostandard-0.11.8
Bump neostandard from 0.11.7 to 0.11.8
2024-11-13 13:21:00 +00:00
dependabot[bot]
44d46f92c9 Bump neostandard from 0.11.7 to 0.11.8
Bumps [neostandard](https://github.com/neostandard/neostandard) from 0.11.7 to 0.11.8.
- [Release notes](https://github.com/neostandard/neostandard/releases)
- [Changelog](https://github.com/neostandard/neostandard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/neostandard/neostandard/compare/v0.11.7...v0.11.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 13:15:14 +00:00
Dominik Oswald
78a2caf728 Merge branch 'main' into thumbnail-ratio 2024-11-11 22:09:58 +01:00
github-actions[bot]
7f5bebacab Merge pull request #1288 from gethinode/dependabot/npm_and_yarn/markdownlint-cli2-0.15.0
Bump markdownlint-cli2 from 0.14.0 to 0.15.0
2024-11-11 13:50:05 +00:00
dependabot[bot]
b95ce558a6 Bump markdownlint-cli2 from 0.14.0 to 0.15.0
Bumps [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) from 0.14.0 to 0.15.0.
- [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/DavidAnson/markdownlint-cli2/compare/v0.14.0...v0.15.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-11-11 13:44:58 +00:00
Dominik Oswald
e75533a0ae Params config for thumbnails.ratio
Add params ratio for thumbnails

[thumbnails]
    ratio = "16x9"
2024-11-11 12:47:35 +01:00
aefly
19a45b4399 Merge branch 'main' into french-translation 2024-11-07 18:40:53 +01:00
github-actions[bot]
e08178cfce Merge pull request #1285 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.135.0
Bump hugo-bin from 0.134.1 to 0.135.0
2024-11-07 13:43:26 +00:00
dependabot[bot]
b24c6bc21f Bump hugo-bin from 0.134.1 to 0.135.0
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.134.1 to 0.135.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.134.1...v0.135.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-07 13:37:56 +00:00
aefly
d1e06588a5 Update components.md 2024-11-06 11:37:37 +01:00
aefly
13fb13ec10 Update image.md 2024-11-06 11:27:01 +01:00
aefly
ccca047155 Add image.md 2024-11-06 11:11:43 +01:00
aefly
7443319ad9 Update components.md 2024-11-06 11:09:55 +01:00
aefly
db4ba8babe Update bootstrap-elements.md 2024-11-06 11:02:21 +01:00
aefly
c7c03ebc8c Add cookies.md 2024-11-06 10:57:31 +01:00
aefly
4bd1578724 add privacy.md 2024-11-06 10:53:26 +01:00
aefly
ecd16fa3cc Update fr.yaml
Update `fr.yaml` with the latest Hinode version
2024-11-06 10:31:17 +01:00
github-actions[bot]
3ef8a16e18 Merge pull request #1282 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.134.1
Bump hugo-bin from 0.133.5 to 0.134.1
2024-11-05 13:41:48 +00:00
dependabot[bot]
3fc30b9941 Bump hugo-bin from 0.133.5 to 0.134.1
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.133.5 to 0.134.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.133.5...v0.134.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 13:37:26 +00:00
github-actions[bot]
8fb9610c84 Merge pull request #1280 from gethinode/dependabot/npm_and_yarn/eslint-9.14.0
Bump eslint from 9.13.0 to 9.14.0
2024-11-04 14:08:13 +00:00
dependabot[bot]
dc88861a43 Bump eslint from 9.13.0 to 9.14.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.13.0 to 9.14.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.13.0...v9.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 14:01:23 +00:00
Mark Dumay
871edd7aa4 Merge pull request #1278 from d-oit/data-table-options
feat: simple-datatable options for paging
2024-10-28 07:43:37 +01:00
Mark Dumay
b172a5021a Include full Dutch translation of components page 2024-10-28 07:33:38 +01:00
Mark Dumay
9ddd1983d0 Include pagingOptionPerPage 2024-10-28 07:33:18 +01:00
Mark Dumay
2f00f07a2f Remove whitespace 2024-10-28 07:33:03 +01:00
Mark Dumay
c043f26268 Update build stats 2024-10-28 07:32:49 +01:00
Mark Dumay
99d689a323 Include reference to mod-simple-datatables release 2024-10-28 07:32:41 +01:00
Mark Dumay
ec7275913b Bump package release 2024-10-28 07:32:08 +01:00
Mark Dumay
255456447b Include reference to updated mod-simple-datatables 2024-10-28 07:31:56 +01:00
Dominik Oswald
004940d9bc feat: simple-datatable options for paging 2024-10-26 19:06:58 +02:00
Mark Dumay
6b39b028fb Merge pull request #1276 from gethinode/develop
Fix button label argument
2024-10-26 09:31:04 +02:00
Mark Dumay
9a83550378 Merge branch 'main' into develop 2024-10-26 09:12:48 +02:00
Mark Dumay
792443c4cf Bump package release 2024-10-26 09:12:01 +02:00
Mark Dumay
3d52162925 Fix button label argument 2024-10-26 09:11:26 +02:00
Mark Dumay
80b28f7557 Merge pull request #1275 from gethinode/develop
Shift Hugo highlighting options to Hinode docs
2024-10-26 08:58:40 +02:00
Mark Dumay
43eebdf53f Merge branch 'main' into develop 2024-10-26 07:57:24 +02:00
Mark Dumay
b5062fe687 Merge pull request #1274 from gethinode/develop
Init default card color variable
2024-10-26 07:56:44 +02:00
Mark Dumay
51aa15266b Shift Hugo highlighting options to Hinode docs 2024-10-26 07:40:41 +02:00
Mark Dumay
19f638a129 Merge branch 'main' into develop 2024-10-26 07:30:21 +02:00
Mark Dumay
aa2e5ca6f4 Merge pull request #1273 from d-oit/file-options
feat: File component extend with Hugo highlight options
2024-10-26 07:28:00 +02:00
Mark Dumay
04eea0db71 Bump package release 2024-10-26 07:25:59 +02:00
Mark Dumay
4645f4ee7c Init default card color variable 2024-10-26 07:25:06 +02:00
do
bb6421c70b feat: File component extend with Hugo highlight options 2024-10-25 22:21:25 +02:00
Mark Dumay
622c6ee1c0 Merge pull request #1271 from gethinode/develop
Fix passing of button label argument to card
2024-10-25 18:35:36 +02:00
Mark Dumay
f1befb05cc Merge branch 'main' into develop 2024-10-25 18:28:05 +02:00
Mark Dumay
e146e3a559 Fix passing of button label argument to card 2024-10-25 18:27:39 +02:00
Mark Dumay
068e773ab0 Merge pull request #1270 from gethinode/develop
Improve navbar modal search accessibility
2024-10-25 16:39:04 +02:00
Mark Dumay
3ae91a78a1 Merge branch 'main' into develop 2024-10-25 16:32:31 +02:00
Mark Dumay
6627446961 Bump package release 2024-10-25 16:31:54 +02:00
Mark Dumay
d4fd6ece60 Improve navbar modal search accessibility 2024-10-25 16:31:26 +02:00
Mark Dumay
a746fd147c Merge pull request #1269 from gethinode/develop
Fix link cleaning and navbar menu check
2024-10-25 15:58:02 +02:00
Mark Dumay
d0410af879 Merge branch 'main' into develop 2024-10-25 15:52:30 +02:00
Mark Dumay
314f1a0ca4 Fix navbar menu conditional check 2024-10-25 15:50:50 +02:00
Mark Dumay
066c5ce8eb Fix cleaning of links that include a scheme 2024-10-25 15:32:44 +02:00
Mark Dumay
bba9629f54 Merge pull request #1268 from gethinode/develop
Improve site accessibility and SEO score
2024-10-25 15:32:28 +02:00
Mark Dumay
d2d59ec3ef Merge branch 'main' into develop 2024-10-25 15:20:00 +02:00
Mark Dumay
c080be2872 CLean up params file 2024-10-25 15:17:41 +02:00
Mark Dumay
3c17234b33 Update build stats 2024-10-25 15:17:13 +02:00
Mark Dumay
16884abcba Bump package release 2024-10-25 15:16:59 +02:00
Mark Dumay
2abbe4f6de Update dependencies 2024-10-25 15:16:36 +02:00
Mark Dumay
c6f9de0a64 Integrate vimeo as optional module 2024-10-25 15:16:24 +02:00
Mark Dumay
39f104fa5f Set default alt title for images 2024-10-25 14:03:15 +02:00
Mark Dumay
437ad0dbf7 Improve accessibility of nav control 2024-10-25 09:19:13 +02:00
Mark Dumay
2eb354d941 Improve theme switcher accessibility 2024-10-24 17:56:49 +02:00
github-actions[bot]
5a7f46bca4 Merge pull request #1265 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.133.5
Bump hugo-bin from 0.133.3 to 0.133.5
2024-10-24 13:43:42 +00:00
dependabot[bot]
0bc37ff426 Bump hugo-bin from 0.133.3 to 0.133.5
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.133.3 to 0.133.5.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.133.3...v0.133.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-24 13:36:19 +00:00
Mark Dumay
0d24f85e13 Merge pull request #1262 from d-oit/patch-1
Fix attribute aria-inledby -> aria-labelledby
2024-10-24 06:58:56 +02:00
Mark Dumay
d067171ba2 Merge branch 'main' into patch-1 2024-10-24 06:51:59 +02:00
Mark Dumay
09e649d432 Merge pull request #1263 from gethinode/develop
Improve SEO score of navbar item without url
2024-10-24 06:51:13 +02:00
Mark Dumay
87c7bd4238 Merge branch 'main' into develop 2024-10-24 06:37:45 +02:00
Mark Dumay
19734f6a1f Improve SEO score of navbar item without url 2024-10-24 06:37:11 +02:00
Dominik Oswald
12a5ebad9f Fix attribute aria-inledby -> aria-labelledby 2024-10-23 19:55:36 +02:00
Mark Dumay
1b964777a4 Merge pull request #1261 from gethinode/develop
Improve deployment to subfolder
2024-10-23 16:04:28 +02:00
Mark Dumay
f910d1bbbb Merge branch 'main' into develop 2024-10-23 15:57:34 +02:00
Mark Dumay
86461c9739 Improve deployment to subfolder 2024-10-23 15:56:03 +02:00
github-actions[bot]
a730255eb6 Merge pull request #1260 from gethinode/dependabot/npm_and_yarn/neostandard-0.11.7
Bump neostandard from 0.11.6 to 0.11.7
2024-10-23 13:53:38 +00:00
dependabot[bot]
e940cc9931 Bump neostandard from 0.11.6 to 0.11.7
Bumps [neostandard](https://github.com/neostandard/neostandard) from 0.11.6 to 0.11.7.
- [Release notes](https://github.com/neostandard/neostandard/releases)
- [Changelog](https://github.com/neostandard/neostandard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/neostandard/neostandard/compare/v0.11.6...v0.11.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 13:44:53 +00:00
Mark Dumay
3a70d25f2e Merge pull request #1259 from gethinode/develop
Support multiple sharing buttons on same page
2024-10-23 15:20:47 +02:00
Mark Dumay
9e72e5fe73 Merge branch 'main' into develop 2024-10-23 15:12:46 +02:00
Mark Dumay
561bdcac28 Support multiple sharing buttons on same page
Handles pages that render multiple sharing buttons to cater for responsive layout.
2024-10-23 15:11:58 +02:00
Mark Dumay
11cd2bb167 Merge pull request #1257 from gethinode/develop
Fix link to multilingual page resources
2024-10-23 07:16:15 +02:00
Mark Dumay
45a71fc1d1 Merge branch 'main' into develop 2024-10-23 07:08:25 +02:00
Mark Dumay
3f5c10319b Fix link to multilingual page resources 2024-10-23 07:07:40 +02:00
github-actions[bot]
e4331c8ce7 Merge pull request #1256 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.133.3
Bump hugo-bin from 0.133.2 to 0.133.3
2024-10-22 13:58:00 +00:00
dependabot[bot]
6166615629 Bump hugo-bin from 0.133.2 to 0.133.3
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.133.2 to 0.133.3.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.133.2...v0.133.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 13:52:44 +00:00
github-actions[bot]
27c15b4e36 Merge pull request #1254 from gethinode/dependabot/npm_and_yarn/eslint-9.13.0
Bump eslint from 9.12.0 to 9.13.0
2024-10-21 13:53:24 +00:00
dependabot[bot]
c99e8c83d1 Bump eslint from 9.12.0 to 9.13.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.12.0 to 9.13.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.12.0...v9.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 13:46:17 +00:00
Mark Dumay
a0cbdd0cbb Merge pull request #1253 from gethinode/develop
Bump package release
2024-10-21 12:34:12 +02:00
Mark Dumay
1ed825d7ca Bump package release 2024-10-21 12:23:42 +02:00
Mark Dumay
09099eba58 Merge pull request #1252 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-10-21 12:22:30 +02:00
markdumay
58b2eebea5 fix: update Hugo module dependencies 2024-10-21 10:15:24 +00:00
Mark Dumay
46a2a6c994 Merge pull request #1251 from gethinode/develop
Assign theme color and site language to essential cookie category
2024-10-21 11:36:32 +02:00
Mark Dumay
0dcec12256 Update linting exceptions 2024-10-21 11:28:07 +02:00
Mark Dumay
50a188e807 Merge branch 'main' into develop 2024-10-21 11:13:24 +02:00
Mark Dumay
400f27dcc9 Assign theme color and site language to essential cookie category 2024-10-21 11:12:48 +02:00
Mark Dumay
90bcc744ff Merge pull request #1250 from gethinode/develop
Fix add module code
2024-10-21 11:08:46 +02:00
Mark Dumay
cf0fae6dc1 Merge branch 'main' into develop 2024-10-21 11:01:41 +02:00
Mark Dumay
1b39d23ddf Fix add module code 2024-10-21 11:01:06 +02:00
Mark Dumay
c94249408c Merge pull request #1249 from gethinode/develop
Bump package release
2024-10-20 13:24:22 +02:00
Mark Dumay
f4f207fa25 Merge branch 'main' into develop 2024-10-20 12:57:11 +02:00
Mark Dumay
307067629e Bump package release 2024-10-20 12:56:38 +02:00
Mark Dumay
f9174e4505 Merge pull request #1248 from gethinode/develop
Fix navbar color mode update
2024-10-20 12:54:58 +02:00
Mark Dumay
320d44c78d Merge branch 'main' into develop 2024-10-20 11:46:39 +02:00
Mark Dumay
091526a17b Fix navbar color mode update
Fixes Switching themes does not work properly #1177
2024-10-20 11:43:50 +02:00
Mark Dumay
9ec61d645d Merge pull request #1247 from gethinode/develop
Fix sharing button
2024-10-20 11:08:16 +02:00
Mark Dumay
0630043210 Merge branch 'main' into develop 2024-10-20 08:45:20 +02:00
Mark Dumay
2933d1d3bb Fix sharing button 2024-10-20 08:44:15 +02:00
Mark Dumay
aa5118cdf6 Merge pull request #1246 from gethinode/develop
Support meta.robots attribute in page params
2024-10-19 15:07:53 +02:00
Mark Dumay
ec1c87070b Merge branch 'main' into develop 2024-10-19 08:36:15 +02:00
Mark Dumay
e806dc07a4 Support meta.robots attribute in page params 2024-10-19 08:34:55 +02:00
github-actions[bot]
9e7478f4c4 Merge pull request #1245 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.133.2
Bump hugo-bin from 0.133.1 to 0.133.2
2024-10-18 14:01:39 +00:00
dependabot[bot]
686dd1c946 Bump hugo-bin from 0.133.1 to 0.133.2
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.133.1 to 0.133.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.133.1...v0.133.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-18 13:55:31 +00:00
Mark Dumay
548a2fa835 Merge pull request #1244 from gethinode/develop
Support configuration of internal links validation
2024-10-18 07:00:23 +02:00
Mark Dumay
1338df7b8a Merge branch 'main' into develop 2024-10-18 06:55:08 +02:00
Mark Dumay
150e438c59 Bump package release 2024-10-18 06:54:10 +02:00
Mark Dumay
285f262a01 Remove bold formatting of card title 2024-10-18 06:53:11 +02:00
Mark Dumay
7989dd17d4 Support configuration of internal links validation 2024-10-18 06:52:47 +02:00
github-actions[bot]
5f4070b481 Merge pull request #1243 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.133.1
Bump hugo-bin from 0.133.0 to 0.133.1
2024-10-17 13:17:49 +00:00
dependabot[bot]
00160137e8 Bump hugo-bin from 0.133.0 to 0.133.1
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.133.0 to 0.133.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.133.0...v0.133.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-17 13:11:58 +00:00
github-actions[bot]
51510ae047 Merge pull request #1242 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.133.0
Bump hugo-bin from 0.132.0 to 0.133.0
2024-10-16 13:59:22 +00:00
dependabot[bot]
4fc95db0e9 Bump hugo-bin from 0.132.0 to 0.133.0
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.132.0 to 0.133.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.132.0...v0.133.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-16 13:54:30 +00:00
github-actions[bot]
a1f899c1de Merge pull request #1241 from gethinode/dependabot/npm_and_yarn/stylelint-16.10.0
Bump stylelint from 16.9.0 to 16.10.0
2024-10-14 13:40:53 +00:00
dependabot[bot]
e358e737be Bump stylelint from 16.9.0 to 16.10.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.9.0 to 16.10.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.9.0...16.10.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-10-14 13:34:47 +00:00
Mark Dumay
0e35d26f20 Merge pull request #1239 from gethinode/develop
Bump package release
2024-10-12 17:25:44 +02:00
Mark Dumay
ede04405d1 Merge branch 'main' into develop 2024-10-12 17:20:03 +02:00
Mark Dumay
30aa2df2d2 Bump package release 2024-10-12 17:18:35 +02:00
Mark Dumay
47d582f855 Merge pull request #1238 from gethinode/develop
Modify server headers
2024-10-12 17:13:19 +02:00
Mark Dumay
fa1fcc3dd0 Merge branch 'main' into develop 2024-10-12 17:08:58 +02:00
Mark Dumay
04bc95720b Modify server headers 2024-10-12 17:08:32 +02:00
Mark Dumay
5c539ec003 Merge pull request #1237 from gethinode/develop
Modify hugo mod update
2024-10-12 16:48:48 +02:00
Mark Dumay
b19201e561 Merge branch 'main' into develop 2024-10-12 16:42:31 +02:00
Mark Dumay
7e21c93e22 Merge pull request #1233 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-10-12 16:42:06 +02:00
Mark Dumay
c81efe61d0 Modify hugo mod update 2024-10-12 16:41:41 +02:00
Mark Dumay
6fe8e12509 Merge branch 'main' into hugo-mod-dependencies 2024-10-12 16:28:17 +02:00
Mark Dumay
44b243489b Merge pull request #1236 from gethinode/develop
Shift custom 404 redirects to data file
2024-10-12 16:02:26 +02:00
Mark Dumay
548dca2bb1 Shift custom 404 redirects to data file 2024-10-12 15:55:23 +02:00
Mark Dumay
b3e47b85f3 Merge pull request #1235 from d-oit/404error
show language 404.html with redirect config
2024-10-12 15:41:38 +02:00
Dominik Oswald
087d3666b8 move to _default - production is not used for the exampleSite 2024-10-11 10:38:03 +02:00
Dominik Oswald
77f4354499 show language 404.html with redirect config 2024-10-11 09:27:18 +02:00
markdumay
362bf368ce fix: update Hugo module dependencies 2024-10-11 03:09:20 +00:00
Mark Dumay
fc17256fd2 Merge pull request #1222 from Ipstenu/patch-1
Allow front page Persona usage to link to a page
2024-10-10 10:38:49 +02:00
Mark Dumay
887aff5c5b Merge branch 'main' into patch-1 2024-10-10 10:32:27 +02:00
Mark Dumay
6ec26f1216 Merge pull request #1230 from gethinode/develop
Refine CSP configuration
2024-10-10 10:30:17 +02:00
Mark Dumay
357c74e3e0 Merge branch 'main' into develop 2024-10-10 10:23:54 +02:00
Mark Dumay
4b419810ea Bump package release 2024-10-10 10:23:13 +02:00
Mark Dumay
0a313172bd Update build stats 2024-10-10 10:22:46 +02:00
Mark Dumay
93eec0ff5a Add CSP docs annotations 2024-10-10 10:22:41 +02:00
Mark Dumay
f9fc8d9a6a Revise order of output formats 2024-10-10 10:22:27 +02:00
Mark Dumay
c537b9cfe4 Merge pull request #1229 from gethinode/develop
Fix responsive behavior of card group
2024-10-10 10:21:11 +02:00
Mark Dumay
c37fe75f0d Merge branch 'main' into develop 2024-10-10 10:15:58 +02:00
Mark Dumay
4034289a7f Fix responsive behavior of card group 2024-10-10 10:14:48 +02:00
github-actions[bot]
9b5c572ab9 Merge pull request #1226 from gethinode/dependabot/npm_and_yarn/eslint-9.12.0
Bump eslint from 9.11.1 to 9.12.0
2024-10-07 13:43:51 +00:00
dependabot[bot]
10c6344493 Bump eslint from 9.11.1 to 9.12.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.11.1 to 9.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.11.1...v9.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 13:39:01 +00:00
Mark Dumay
fc386fcad9 Add docs references to default server config 2024-10-07 08:29:24 +02:00
Mark Dumay
a680a61825 Merge pull request #1224 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-10-07 07:44:46 +02:00
Mark Dumay
a075ca5f7b Merge branch 'main' into hugo-mod-dependencies 2024-10-07 07:39:55 +02:00
Mark Dumay
a816d2be25 Merge pull request #1225 from gethinode/develop
Support configurable CSP directives
2024-10-07 07:39:22 +02:00
Mark Dumay
52ff0fb71e Merge branch 'main' into develop 2024-10-07 07:32:05 +02:00
Mark Dumay
95fd919a6f Support configurable CSP directives 2024-10-07 07:31:28 +02:00
markdumay
85778dd374 fix: update Hugo module dependencies 2024-10-07 03:12:33 +00:00
Ipstenu (Mika Epstein)
3b65b2c87f Update nav.html
Add support for HREF in front page nav
2024-10-01 17:11:31 -07:00
github-actions[bot]
ee3a0ee8c4 Merge pull request #1220 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.132.0
Bump hugo-bin from 0.131.3 to 0.132.0
2024-09-30 13:15:30 +00:00
dependabot[bot]
3b721690f1 Bump hugo-bin from 0.131.3 to 0.132.0
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.131.3 to 0.132.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.131.3...v0.132.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 13:09:32 +00:00
130 changed files with 3108 additions and 1124 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
_vendor/
prebuild/
public/
resources/
node_modules/

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2024 Mark Dumay
Copyright (c) 2022-2025 Mark Dumay
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,9 +1,12 @@
/* eslint-disable */
{{- if site.Params.main.enableLanguageSelectionStorage -}}
{{- if site.Params.main.enableLanguageSelectionStorage -}}
{{- $folder := (urls.Parse site.BaseURL).Path | default "/" -}}
(() => {
'use strict'
const folder = '{{ $folder }}'
// Function to get the selected language from local storage
function getLanguage () {
return getLocalStorage('selectedLanguage', document.documentElement.lang, 'functional')
@@ -22,7 +25,7 @@
window.location.href = href
}
} else {
window.location.href = '/' + language + '/'
window.location.href = folder + language + '/'
}
}
}
@@ -32,7 +35,15 @@
const storedLanguage = getLanguage()
const languageItems = document.querySelectorAll('#language-selector .dropdown-item')
if (languageItems.length > 0) {
const link = document.querySelector("link[rel='canonical']")
let alias = ''
if (link !== null) {
alias = link.getAttribute('href')
}
if (alias !== '') {
window.location.href = alias
} else if (languageItems.length > 0) {
// Redirect if the stored language differs from the active language
if ((storedLanguage) && (document.documentElement.lang !== storedLanguage)) {
languageItems.forEach(item => {
@@ -57,7 +68,7 @@
// Redirect to the localized homepage
const defaultLang = '{{ site.LanguageCode | default site.Language.Lang }}'
let language = storedLanguage ? storedLanguage : defaultLang
window.location.href = '/' + language + '/'
window.location.href = folder + language + '/'
}
})
})()

View File

@@ -5,12 +5,13 @@ const modeSelectors = document.querySelectorAll('.switch-mode-collapsed')
const colorsBG = ['body', 'secondary', 'tertiary']
function updateNavbar () {
let storedTheme
if (typeof getLocalStorage === "function") {
storedTheme = getLocalStorage('theme', null, 'functional')
}
if (window.scrollY > 75) {
navbar.classList.add('nav-active')
let storedTheme
if (typeof getLocalStorage === "function") {
storedTheme = getLocalStorage('theme', null, 'functional')
}
if (storedTheme) {
navbar.setAttribute('data-bs-theme', storedTheme)
}
@@ -18,7 +19,8 @@ function updateNavbar () {
navbar.classList.remove('nav-active')
const defaultTheme = navbar.getAttribute('data-bs-overlay')
if (defaultTheme) {
const targetTheme = defaultTheme ? defaultTheme : storedTheme
if (targetTheme) {
navbar.setAttribute('data-bs-theme', defaultTheme)
}
}

View File

@@ -14,23 +14,22 @@ function webShareAPI (title, description, link) {
.catch((error) => console.log('Error sharing', error))
}
const shareBtn = document.getElementById('btn-webshare')
if (shareBtn !== null) {
const shareButtons = document.querySelectorAll('[data-sharing-url]')
shareButtons.forEach(btn => {
if (navigator.share) {
const title = shareBtn.getAttribute('data-sharing-title')
const description = shareBtn.getAttribute('data-sharing-description')
const url = shareBtn.getAttribute('data-sharing-url')
const title = btn.getAttribute('data-sharing-title')
const description = btn.getAttribute('data-sharing-description')
const url = btn.getAttribute('data-sharing-url')
// show button if it supports webShareAPI
shareBtn.style.display = 'block'
shareBtn.addEventListener('click', () =>
btn.style.display = 'block'
btn.addEventListener('click', () =>
webShareAPI(title, description, url)
)
} else {
// hide button if host does not support Web Share API
shareBtn.style.display = 'none'
btn.style.display = 'none'
}
}
})
{{- end -}}

View File

@@ -25,6 +25,8 @@ strong {
$black: #000 !default;
$btn-toggle-color: $black !default;
$card-color: var(--bs-body-color);
$carousel-dark-indicator-active-bg: #fff !default;
$carousel-dark-caption-color: #fff !default;
$carousel-dark-control-icon-filter: invert(0) grayscale(100) !default;

View File

@@ -1,4 +1,8 @@
.nav-tabs > .nav-link.active {
.nav-tabs .nav-tabs {
border: none;
}
.nav-tabs .nav-link.active {
border-bottom-color: var(--bs-body-bg) !important;
border-bottom-style: solid !important;
z-index: 1;
@@ -12,13 +16,13 @@
column-gap: var(--#{$prefix}nav-callout-gap) !important;
}
.nav-callout > .tab-content {
.nav-callout + .tab-content {
background-color: var(--#{$prefix}nav-callout-bg);
padding: 2 * $spacer;
margin-top: 0 !important;
}
.nav-callout > .nav-link {
.nav-callout .nav-link {
display: flex;
text-align: start;
vertical-align: text-top;
@@ -27,7 +31,7 @@
border-bottom: none;
}
.nav-callout > .nav-link.active {
.nav-callout .nav-link.active {
background-image: linear-gradient(to top right, var(--#{$prefix}nav-callout-bg) 50%, transparent 0);
background-size: 50% (3 * $spacer);
background-repeat: no-repeat;
@@ -53,7 +57,7 @@
}
}
.nav-callout > .accordion-item {
.nav-callout .accordion-item {
margin-top: 2 * $spacer;
margin-bottom: 2 * $spacer;
border: none;

View File

@@ -1,6 +1,6 @@
# toml-docs-start main
title = "Hinode"
copyright = "Copyright © 2024 Mark Dumay."
copyright = "Copyright © 2022 - 2025 Mark Dumay."
enableGitInfo = true
# toml-docs-end main
@@ -26,20 +26,48 @@ defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
# toml-docs-end language
# toml-docs-start headers
[outputFormats]
[outputFormats.server]
mediaType = "application/toml"
baseName = "server"
isPlainText = true
notAlternative = true
permalinkable = true
root = true
[outputFormats.netlify]
mediaType = "application/toml"
baseName = "netlify"
isPlainText = true
notAlternative = true
permalinkable = true
root = true
# toml-docs-end headers
[outputFormats.XML]
isPlainText = false
mediaType = "application/xml"
isHtml = false
noUgly = true
permalinkable = false
name = "xml"
# toml-docs-start redirect
[outputFormats.REDIR]
mediaType = "text/netlify"
baseName = "_redirects"
isPlainText = true
notAlternative = true
[outputFormats.REDIR]
mediaType = "text/netlify"
baseName = "_redirects"
isPlainText = true
notAlternative = true
[mediaTypes."text/netlify"]
delimiter = ""
[outputs]
home = ["HTML", "RSS", "REDIR"]
# toml-docs-end redirect
# toml-docs-start outputs
[outputs]
home = ["HTML", "RSS", "REDIR", "netlify", "server"]
# toml-docs-end outputs
# toml-docs-start build
[build]
writeStats = true
@@ -77,15 +105,6 @@ home = ["HTML", "RSS", "REDIR"]
[services.googleAnalytics]
# ID = "G-xxxxxxxxxx"
[outputFormats]
[outputFormats.XML]
isPlainText = false
mediaType = "application/xml"
isHtml = false
noUgly = true
permalinkable = false
name = "xml"
[minify]
[minify.tdewolff.js]
keepVarNames = true
@@ -126,6 +145,8 @@ home = ["HTML", "RSS", "REDIR"]
# toml-docs-start modules
[[module.imports]]
path = "github.com/gethinode/mod-bootstrap"
[[module.imports]]
path = "github.com/gethinode/mod-csp"
[[module.imports]]
path = "github.com/gethinode/mod-flexsearch/v2"
[[module.imports]]
@@ -143,3 +164,11 @@ home = ["HTML", "RSS", "REDIR"]
[[module.imports]]
path = "github.com/gethinode/mod-utils/v2"
# toml-docs-end modules
# toml-docs-start segments
[segments]
[segments.headers]
[[segments.headers.includes]]
kind = '{home}'
output = '{netlify,server}'
# toml-docs-end segments

View File

@@ -10,6 +10,9 @@
footerBelowFold = false
loading = "lazy"
breakpoint = "md"
[main.internalLinks]
validate = true
pretty = false
[main.externalLinks]
cue = false
tab = false
@@ -204,3 +207,38 @@
[links]
hinode = "https://gethinode.com"
# toml-docs-start headers
[headers]
[headers.netlify]
source = "netlify.toml"
# toml-docs-end headers
# toml-docs-start csp
[modules.hinode.csp]
style-src = ["www.youtube.com"]
font-src = ["fonts.gstatic.com"]
frame-src = [
"player.cloudinary.com",
"www.youtube-nocookie.com",
"www.youtube.com"
]
img-src = [
"data:",
"*.imgix.net",
"*.imagekit.io",
"*.cloudinary.com",
"i.ytimg.com"
]
# toml-docs-end csp
[modules.vimeo]
local = true
integration = "optional"
state = "async"
url = "https://player.vimeo.com/api/player.js"
[modules.vimeo.csp]
frame-src = ["player.vimeo.com"]
img-src = ["i.vimeocdn.com"]
script-src = ["player.vimeo.com"]

View File

@@ -1,41 +1,29 @@
# toml-docs-start server-config
# Auto-generated file - do not modify
[[headers]]
for = '/**'
[headers.values]
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = """\
default-src 'self'; \
script-src 'self' https://*.google-analytics.com https://*.googletagmanager.com; \
style-src 'self' https://fonts.googleapis.com https://www.youtube.com; \
object-src 'none'; \
for = '/**'
[headers.values]
Access-Control-Allow-Origin = '*'
Content-Security-Policy = """
base-uri 'self'; \
connect-src 'self'
https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com; \
font-src 'self' https://fonts.gstatic.com; \
frame-src 'self' https://player.cloudinary.com https://player.vimeo.com https://www.youtube-nocookie.com https://www.youtube.com; \
img-src 'self' data: https://*.imgix.net https://*.imagekit.io https://*.cloudinary.com https://i.vimeocdn.com https://i.ytimg.com https://*.google-analytics.com https://*.googletagmanager.com https://tile.openstreetmap.org; \
connect-src 'self' *.google-analytics.com *.analytics.google.com *.googletagmanager.com; \
default-src 'none'; \
font-src 'self' fonts.gstatic.com; \
form-action 'self'; \
frame-src player.cloudinary.com www.youtube-nocookie.com www.youtube.com player.vimeo.com; \
img-src 'self' *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.ytimg.com tile.openstreetmap.org i.vimeocdn.com; \
manifest-src 'self'; \
media-src 'self' \
media-src 'self'; \
object-src 'none'; \
script-src 'self' *.google-analytics.com *.googletagmanager.com player.vimeo.com; \
style-src 'self' www.youtube.com; \
"""
X-Frame-Options = "SAMEORIGIN"
Referrer-Policy = "strict-origin"
Permissions-Policy = """\
geolocation=(), \
midi=(), \
sync-xhr=(), \
microphone=(), \
camera=(), \
magnetometer=(), \
gyroscope=(), \
payment=() \
"""
cache-control = """\
max-age=0, \
no-cache, \
no-store, \
must-revalidate \
"""
Access-Control-Allow-Origin = "*"
# toml-docs-end server-config
Permissions-Policy = 'geolocation=(), midi=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), fullscreen=(), payment=() '
Referrer-Policy = 'strict-origin'
Strict-Transport-Security = 'max-age=31536000; includeSubDomains; preload'
X-Content-Type-Options = 'nosniff'
X-Frame-Options = 'SAMEORIGIN'
X-XSS-Protection = '1; mode=block'
cache-control = 'max-age=0, no-cache, no-store, must-revalidate '

35
data/netlify.toml Normal file
View File

@@ -0,0 +1,35 @@
# toml-docs-start netlify
[build]
publish = "exampleSite/public"
command = "npm run build:example"
[build.environment]
DART_SASS_VERSION = "1.78.0"
HUGO_VERSION = "0.134.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
NODE_VERSION = "20.17.0"
NPM_VERSION = "10.8.2"
# toml-docs-end netlify
[context.deploy-preview]
command = "npm run build:example -- -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "npm run build:example -- -b $DEPLOY_PRIME_URL"
[dev]
framework = "#custom"
command = "npm run start:example"
targetPort = 1313
port = 8888
publish = "public"
autoLaunch = false
# toml-docs-start plugins
[[plugins]]
package = "@gethinode/netlify-plugin-dartsass"
[[plugins]]
package = "netlify-plugin-hugo-cache-resources"
# toml-docs-end plugins

41
data/server.toml Normal file
View File

@@ -0,0 +1,41 @@
# toml-docs-start server-config
[[headers]]
for = "/**"
[headers.values]
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"
X-Frame-Options = "SAMEORIGIN"
Referrer-Policy = "strict-origin"
Permissions-Policy = """\
geolocation=(), \
midi=(), \
sync-xhr=(), \
microphone=(), \
camera=(), \
magnetometer=(), \
gyroscope=(), \
fullscreen=(), \
payment=() \
"""
cache-control = """\
max-age=0, \
no-cache, \
no-store, \
must-revalidate \
"""
Access-Control-Allow-Origin = "*"
Content-Security-Policy = """\
default-src 'none'; \
script-src 'self'; \
font-src 'self'; \
connect-src 'self'; \
img-src 'self'; \
style-src 'self'; \
base-uri 'self'; \
object-src 'none'; \
form-action 'self'; \
manifest-src 'self'; \
media-src 'self' \
"""
# toml-docs-end server-config

View File

@@ -38,3 +38,8 @@ arguments:
type: string
optional: true
comment: Class attribute of the tab control that wraps the file element.
options:
type: string
optional: true
comment: Hugo highlighting options.
release: v0.27.6

4
data/structures/ins.yml Normal file
View File

@@ -0,0 +1,4 @@
comment: Underlines text.
body:
optional: false
comment: Text to be underlined.

View File

@@ -35,6 +35,21 @@ arguments:
optional: true
comment: Whether paging is enabled for the table.
release: v0.24.13
pagingOptionPerPage:
type: int
optional: true
comment: >-
Sets the maximum number of rows to display on each page. Requires
`paging = true`.
release: v0.27.8
pagingOptionPageSelect:
type: string
optional: true
comment: >-
Sets the per page options in the dropdown. Must be an array of integers or
arrays in the format [label (string), value (int)]. Requires
`paging = true`.
release: v0.27.8
searchable:
type: bool
optional: true

View File

@@ -2,8 +2,8 @@
module.exports = require('neostandard')({
ignores: [
'assets/js/critical/functional/languageSelector.js',
'assets/js/critical/functional/color.js',
'assets/js/critical/languageSelector.js',
'assets/js/critical/color.js',
'assets/js/analytics.js',
'assets/js/flexsearch.js',
'assets/js/navbar.js',

View File

@@ -1,6 +1,6 @@
resourcedir = '../resources/'
title = "Hinode"
copyright = "Copyright © 2024 Mark Dumay."
copyright = "Copyright © 2022 - 2025 Mark Dumay."
enableGitInfo = true
# additional settings
@@ -20,17 +20,39 @@ languageCode = "en-us"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = true
[outputFormats.REDIR]
mediaType = "text/netlify"
baseName = "_redirects"
isPlainText = true
notAlternative = true
[outputFormats]
[outputFormats.netlify]
mediaType = "application/toml"
baseName = "netlify"
isPlainText = true
notAlternative = true
permalinkable = true
root = true
[outputFormats.server]
mediaType = "application/toml"
baseName = "server"
isPlainText = true
notAlternative = true
permalinkable = true
root = true
[outputFormats.XML]
isPlainText = false
mediaType = "application/xml"
isHtml = false
noUgly = true
permalinkable = false
name = "xml"
[outputFormats.REDIR]
mediaType = "text/netlify"
baseName = "_redirects"
isPlainText = true
notAlternative = true
[mediaTypes."text/netlify"]
delimiter = ""
[outputs]
home = ["HTML", "RSS", "REDIR"]
home = ["HTML", "RSS", "REDIR", "netlify", "server"]
[build]
writeStats = true
@@ -67,15 +89,6 @@ home = ["HTML", "RSS", "REDIR"]
[services.googleAnalytics]
ID = "G-T85PPZ36GN"
[outputFormats]
[outputFormats.XML]
isPlainText = false
mediaType = "application/xml"
isHtml = false
noUgly = true
permalinkable = false
name = "xml"
[minify]
[minify.tdewolff.js]
keepVarNames = true
@@ -84,6 +97,12 @@ home = ["HTML", "RSS", "REDIR"]
[minify.tdewolff.html]
keepWhitespace = true
[segments]
[segments.headers]
[[segments.headers.includes]]
kind = '{home}'
output = '{netlify,server}'
[module]
# Build and serve using local hinode clone declared in the named Hugo workspace:
workspace = "hinode.work"
@@ -93,6 +112,8 @@ home = ["HTML", "RSS", "REDIR"]
path = "github.com/gethinode/hinode"
[[module.imports]]
path = "github.com/gethinode/mod-bootstrap"
[[module.imports]]
path = "github.com/gethinode/mod-csp"
[[module.imports]]
path = "github.com/gethinode/mod-flexsearch/v2"
[[module.imports]]

View File

@@ -0,0 +1,19 @@
[[redirects]]
from = '/fr/*'
to = '/fr/404.html'
status = 404
[[redirects]]
from = '/nl/*'
to = '/nl/404.html'
status = 404
[[redirects]]
from = '/en/*'
to = '/en/404.html'
status = 404
[[redirects]] # Default language should be last.
from = '/*'
to = '/en/404.html'
status = 404

View File

@@ -8,11 +8,15 @@
footerBelowFold = false
loading = "lazy"
breakpoint = "md"
[main.internalLinks]
validate = true
pretty = true
[main.externalLinks]
cue = true
tab = true
[main.build]
transpiler = "dartsass"
silenceDeprecations = true
[debugging]
showJS = false
@@ -193,5 +197,4 @@
hinode = "https://gethinode.com"
[modules.cookieyes]
# local = true
url = "https://cdn-cookieyes.com/client_data/a54b5553f349dd13bd225f8e/script.js"
url = "https://cdn-cookieyes.com/client_data/a54b5553f349dd13bd225f8e/script.js"

View File

@@ -1,41 +1,49 @@
# toml-docs-start server-config
# Auto-generated file - do not modify
[[headers]]
for = '/**'
[headers.values]
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = """\
default-src 'self'; \
script-src 'self' cdn-cookieyes.com https://*.google-analytics.com https://*.googletagmanager.com; \
style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://www.youtube.com; \
object-src 'none'; \
for = '/**'
[headers.values]
Access-Control-Allow-Origin = '*'
Content-Security-Policy = """
base-uri 'self'; \
connect-src 'self' *.cookieyes.com cdn-cookieyes.com \
https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com; \
font-src 'self' https://fonts.gstatic.com; \
frame-src 'self' https://player.cloudinary.com https://player.vimeo.com https://www.youtube-nocookie.com https://www.youtube.com; \
img-src 'self' data: cdn-cookieyes.com https://*.imgix.net https://*.imagekit.io https://*.cloudinary.com https://i.vimeocdn.com https://i.ytimg.com https://*.google-analytics.com https://*.googletagmanager.com https://tile.openstreetmap.org; \
connect-src 'self' *.cookieyes.com cdn-cookieyes.com *.google-analytics.com *.analytics.google.com *.googletagmanager.com; \
default-src 'none'; \
font-src 'self' fonts.gstatic.com; \
form-action 'self'; \
frame-src player.cloudinary.com www.youtube-nocookie.com www.youtube.com player.vimeo.com; \
img-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.ytimg.com tile.openstreetmap.org i.vimeocdn.com; \
manifest-src 'self'; \
media-src 'self' \
media-src 'self'; \
object-src 'none'; \
script-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com player.vimeo.com; \
style-src 'self' 'unsafe-inline' www.youtube.com; \
"""
X-Frame-Options = "SAMEORIGIN"
Referrer-Policy = "strict-origin"
Permissions-Policy = """\
geolocation=(), \
midi=(), \
sync-xhr=(), \
microphone=(), \
camera=(), \
magnetometer=(), \
gyroscope=(), \
payment=() \
"""
cache-control = """\
max-age=0, \
no-cache, \
no-store, \
must-revalidate \
"""
Access-Control-Allow-Origin = "*"
# toml-docs-end server-config
Permissions-Policy = 'geolocation=(), midi=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), fullscreen=(), payment=() '
Referrer-Policy = 'strict-origin'
Strict-Transport-Security = 'max-age=31536000; includeSubDomains; preload'
X-Content-Type-Options = 'nosniff'
X-Frame-Options = 'SAMEORIGIN'
X-XSS-Protection = '1; mode=block'
cache-control = 'max-age=0, no-cache, no-store, must-revalidate '
[[redirects]]
from = '/fr/*'
status = 404
to = '/fr/404.html'
[[redirects]]
from = '/nl/*'
status = 404
to = '/nl/404.html'
[[redirects]]
from = '/en/*'
status = 404
to = '/en/404.html'
[[redirects]]
from = '/*'
status = 404
to = '/en/404.html'

View File

@@ -18,17 +18,17 @@ Hinode provides several shortcodes that wrap common Bootstrap components. Refer
As an example, the following shortcode displays the full text of an abbreviation on hover.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* abbr "CI/CD" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Accordion
As an example, the following shortcode displays an accordion with three elements, of which the first element is expanded.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* accordion */>}}
{{</* accordion-item header="Accordion Item #1" show="true" */>}}
@@ -43,25 +43,25 @@ As an example, the following shortcode displays an accordion with three elements
{{</* /accordion-item */>}}
{{</* /accordion */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Alert
As an example, the following shortcode displays a simple alert.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* alert color="danger" dismissible="true" */>}}
A simple danger alert—check it out!
{{</* /alert */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Badge
Use the badge shortcode to display a badge for a heading.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example >}}
Heading 1 {{</* badge title="New" */>}}
{.h1}
@@ -81,35 +81,35 @@ Heading 5 {{</* badge title="New" */>}}
Heading 6 {{</* badge title="New" */>}}
{.h6}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Breadcrumb
As an example, the following shortcode displays a breadcrumb for the blog page.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* breadcrumb path="blog" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Button
As an example, the following shortcode displays a tooltip for a dark button with a badge.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* button color="secondary" tooltip="Click on the inbox to view your unread messages" href="#!" badge="99+" */>}}
Inbox
{{</* /button */>}}
{{< /example>}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Button group
As an example, the following shortcode displays a group of three buttons.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* button-group aria-label="Basic example" */>}}
{{</* button color="primary" href="#!" */>}}Left{{</* /button */>}}
@@ -117,24 +117,24 @@ As an example, the following shortcode displays a group of three buttons.
{{</* button color="primary" href="#!" */>}}Right{{</* /button */>}}
{{</* /button-group */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Card
As an example, the following shortcode displays a stacked card that links to the [about]({{% ref "about" %}}) page. It includes a custom header.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* card path="about" padding="3" class="col-6 mx-auto" color="body-tertiary"
header="publication" footer="none" button=true /*/>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Card group
As an example, the following shortcode displays a card group of three elements.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* card-group padding="3" gutter="3" button=true buttonType="link" cols=2 scroll=true */>}}
{{</* card title="Bootstrap framework" icon="fab bootstrap" */>}}
@@ -149,13 +149,13 @@ As an example, the following shortcode displays a card group of three elements.
{{</* /card */>}}
{{</* /card-group */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Carousel
As an example, the following shortcode displays a centered carousel with three slides, 16x9 aspect ratio, and a relative width of 67% on large screens.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* carousel ratio="16x9" class="col-sm-12 col-lg-8 mx-auto" */>}}
{{</* img src="img/coffee.jpg" caption="slide 1" */>}}
@@ -163,13 +163,13 @@ As an example, the following shortcode displays a centered carousel with three s
{{</* img src="img/dunes.jpg" caption="slide 3" */>}}
{{</* /carousel */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Collapse
As an example, the following shortcode displays a button that, when clicked, triggers a panel to appear or disappear.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* button collapse="collapse-1" */>}}
Trigger panel
@@ -180,23 +180,23 @@ As an example, the following shortcode displays a button that, when clicked, tri
revealed when the user activates the relevant trigger.
{{</* /collapse */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Command prompt
Use the `command` shortcode to generate a block with a default bash command prompt.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* command */>}}
export MY_VAR=123
{{</* /command */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
Specify `user` and `host` to add the user context to the prompt. In addition, use `(out)` to specify an output line and use `\` to denote a line continuation.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* command user="user" host="localhost" */>}}
export MY_VAR=123
@@ -210,7 +210,7 @@ echo "goodbye"
(out)goodbye
{{</* /command */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Docs
@@ -222,47 +222,47 @@ Use the `docs` shortcode to display the content of a `js`, `scss` or `toml` file
Use the `example` shortcode to display a code example and to render a preview of the same input.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* command */>}}
export MY_VAR=123
{{</* /command */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## File
Use the `file` shortcode to print and highlight the full content of a given input file.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* file path="./config/_default/languages.toml" id="file-collapse-1" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Icon
As an example, the following shortcodes show a square check, a brand logo, a circle check, and a custom icon.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* fa square-check */>}}
{{</* fab linkedin */>}}
{{</* fas circle-check */>}}
{{</* icon custom activity */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Image
As an example, the following shortcode displays an image with rounded corners and a 4x3 aspect ratio in portrait mode.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="img/flowers.jpg" ratio="4x3" caption="Figure caption" class="rounded col-md-6"
portrait=true wrapper="text-center" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
The same image, but then using Markdown syntax:
@@ -273,25 +273,35 @@ The same image, but then using Markdown syntax:
As an example, the following shortcode displays a regular vector image.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="/img/logo_icon.svg" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
As an example, the following shortcode displays a vector image with a symbol reference.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="/img/logo_var.svg#logo" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Ins
As an example, the following shortcode displays underlined text.
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example >}}
This is an {{</* ins */>}}underlined text{{</* /ins */>}}.
{{< /example >}}
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Link
As an example, the following shortcodes render links in different formats.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
- {{</* link hinode >}}Named link with default settings{{< /link */>}}
@@ -311,23 +321,23 @@ As an example, the following shortcodes render links in different formats.
- {{</* link "components/#map" /*/>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Mark
Use the `mark` shortcode to highlight text. The inner content is used as input.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
Use the mark shortcode to {{</* mark >}}highlight{{< /mark */>}} specific text.
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Nav
As an example, the following shortcode displays a tab group with vertically aligned pills.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* nav type="pills" vertical="true" */>}}
{{</* nav-item header="Nav Item #1" show="true" */>}}
@@ -342,23 +352,23 @@ As an example, the following shortcode displays a tab group with vertically alig
{{</* /nav-item */>}}
{{</* /nav */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Navbar
As an example, the following shortcode displays a light navigation header.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* navbar id="navbar-sample" path="blog" color="primary" size="md" search="false" menus="sample" title="Brand" mode="false" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Persona
As an example, the following shortcode displays a persona card with a primary color.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* persona thumbnail="/img/creator-1x1.jpg" title="Creators" color="primary" */>}}
As a content creator you value your independence. You like to take control of your
@@ -370,55 +380,55 @@ As an example, the following shortcode displays a persona card with a primary co
Hinode.
{{</* /persona */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Release
As an example, the following shortcode displays a default release button.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* release version="v0.14.1" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Spinner
As an example, the following shortcode displays a centered spinner.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* spinner color="info" class="text-center" */>}}
Loading...
{{</* /spinner */>}}
{{< /example>}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Sub
As an example, the following shortcode displays subscript text.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example >}}
H{{</* sub 2 */>}}O is a liquid.
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Sup
As an example, the following shortcode displays superscript text.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example >}}
2{{</* sup 10 */>}} is 1024.
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Table
As an example, the following shortcode displays a responsive table.
<!-- markdownlint-disable MD037 MD058 -->
{{% comment %}}<!-- markdownlint-disable MD037 MD058 -->{{% /comment %}}
{{< example lang="markdown" >}}
{{</* table */>}}
| # | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading |
@@ -428,23 +438,23 @@ As an example, the following shortcode displays a responsive table.
| 3. | cell | cel | cel | cel | cel | cel | cel | cel | cel |
{{</* /table */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 MD058 -->
{{% comment %}}<!-- markdownlint-enable MD037 MD058 -->{{% /comment %}}
## Timeline
As an example, the following shortcode displays a timeline with the file `data/timeline.en.yml` as data.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* timeline data="timeline" background="dark" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Toast
As an example, the following shortcode displays a button that, when clicked, triggers the toast message.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* button toast="toast-example-1" */>}}
Show toast 1
@@ -462,44 +472,24 @@ As an example, the following shortcode displays a button that, when clicked, tri
This is the second toast message. It supports `markdown.`
{{</* /toast */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Tooltip
As an example, the following shortcode displays a tooltip for a colored hyperlink.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* tooltip color="primary" title="Tooltip caption" href="#!" */>}}Tooltip{{</* /tooltip */>}} demonstration
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Video
As an example, the following shortcode displays an Elephants video hosted by Cloudinary.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* video host="cloudinary" account="demo" id="elephants" autoplay=true */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
## Vimeo
As an example, the following shortcode displays a Vimeo video.
<!-- markdownlint-disable MD037 -->
{{< example lang="hugo" >}}
{{</* vimeo id="55073825" autoplay=true autotitle=true */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
## Youtube
As an example, the following shortcode displays a Hugo quickstart guide.
<!-- markdownlint-disable MD037 -->
{{< example lang="hugo" >}}
{{</* youtube id="w7Ft2ymGmfc" autoplay=true autotitle=true */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}

View File

@@ -19,19 +19,19 @@ Hinode provides several shortcodes on top of the common [Bootstrap elements]({{%
As an example, the following shortcode shows an animation that plays on hover.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* animation data="gatin.json" auto=false hover=true class="col-6 mx-auto" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Data tables
As an example, the following shortcode displays a responsive table that uses advanced controls.
<!-- markdownlint-disable MD037 MD058 -->
{{% comment %}}<!-- markdownlint-disable MD037 MD058 -->{{% /comment %}}
{{< example lang="markdown" >}}
{{</* table sortable="true" paging="true" searchable="true" */>}}
{{</* table sortable="true" paging="true" searchable="true" pagingOptionPerPage=5 */>}}
| # | Heading |
|-----|---------|
| 1. | Item 1 |
@@ -66,7 +66,7 @@ As an example, the following shortcode displays a responsive table that uses adv
| 30. | Item 30 |
{{</* /table */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Formula (KaTeX)
@@ -85,8 +85,8 @@ $$\forall x \in X, \quad \exists y \leq \epsilon$$
As an example, the following shortcode displays an interactive map of the city of Amsterdam.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* map lat=52.377 long=4.90 zoom=13 popup="Amsterdam Central Station" popup-lat=52.378062 popup-long=4.900562 */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}

View File

@@ -12,31 +12,31 @@ thumbnail:
As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="https://res.cloudinary.com/demo/dog.webp"
ratio="21x9" caption="Cloudinary image" class="rounded" plain=true */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## ImageKit.io
As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="https://ik.imagekit.io/demo/default-image.jpg"
ratio="21x9" caption="ImageKit.io image" class="rounded" anchor="Center" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Imgix
As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="https://assets.imgix.net/examples/bluehat.jpg"
ratio="21x9" caption="imgix image" class="rounded" anchor="Top" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}

View File

@@ -4,7 +4,7 @@ description: Cookie policy of gethinode.com
date: 2024-09-19
layout: docs
---
<!-- markdownlint-disable MD036 -->
{{% comment %}}<!-- markdownlint-disable MD036 -->{{% /comment %}}
*Effective Date 19-Sep-2024*
## What are cookies?

View File

@@ -4,7 +4,7 @@ description: Privacy policy of gethinode.com
date: 2024-09-19
layout: docs
---
<!-- markdownlint-disable MD036 -->
{{% comment %}}<!-- markdownlint-disable MD036 -->{{% /comment %}}
*Effective Date 19-Sep-2024*
This Privacy Policy describes the policies of gethinode.com on the collection, use and disclosure of your information that we collect when you use our website (https://gethinode.com, referred to as the “Service”). By accessing or using the Service, you are consenting to the collection, use and disclosure of your information in accordance with this Privacy Policy. If you do not consent to the same, please do not access or use the Service.
@@ -24,7 +24,7 @@ We may also disclose your personal information for the following: (1) to comply
## Your rights
Depending on the law that applies, you may have a right to access and rectify or erase your personal data or receive a copy of your personal data, restrict or object to the active processing of your data, ask us to share (port) your personal information to another entity,withdraw any consent you provided to us to process your data, a right to lodge a complaint with a statutory authority and such other rights as may be relevant under applicable laws. <!-- To exercise these rights, you can write to us at privacy@gethinode.com. We will respond to your request in accordance with applicable law. -->
Depending on the law that applies, you may have a right to access and rectify or erase your personal data or receive a copy of your personal data, restrict or object to the active processing of your data, ask us to share (port) your personal information to another entity,withdraw any consent you provided to us to process your data, a right to lodge a complaint with a statutory authority and such other rights as may be relevant under applicable laws. {{% comment %}}<!-- To exercise these rights, you can write to us at privacy@gethinode.com. We will respond to your request in accordance with applicable law. -->{{% /comment %}}
Do note that if you do not allow us to collect or process the required personal information or withdraw the consent to process the same for the required purposes, you may not be able to access or use the services for which your information was sought.
@@ -40,8 +40,8 @@ The security of your information is important to us and we will use reasonable s
Our Service may contain links to other websites that are not operated by us. This Privacy Policy does not address the privacy policy and other practices of any third parties, including any third party operating any website or service that may be accessible via a link on the Service. We strongly advise you to review the privacy policy of every site you visit. We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.
<!-- ## Grievance / Data Protection Officer
{{% comment %}}<!-- ## Grievance / Data Protection Officer
If you have any queries or concerns about the processing of your information that is available with us, you may email us at privacy@gethinode.com. We will address your concerns in accordance with applicable law. -->
If you have any queries or concerns about the processing of your information that is available with us, you may email us at privacy@gethinode.com. We will address your concerns in accordance with applicable law. -->{{% /comment %}}
*Privacy Policy generated with {{< link "https://www.cookieyes.com" >}}CookieYes{{< /link >}}.*

View File

@@ -19,17 +19,17 @@ Hinode propose plusieurs shortcodes qui enveloppent des composants Bootstrap cou
À titre d'exemple, le shortcode suivant affiche le texte complet d'une abréviation lorsque survolé.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* abbr "CI/CD" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Accordéon
À titre d'exemple, le shortcode suivant affiche un accordéon avec trois éléments, dont le premier élément est déplié.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* accordion */>}}
{{</* accordion-item header="Élément d'accordéon #1" show="true" */>}}
@@ -43,25 +43,25 @@ Hinode propose plusieurs shortcodes qui enveloppent des composants Bootstrap cou
{{</* /accordion-item */>}}
{{</* /accordion */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Alerte
À titre d'exemple, le shortcode suivant affiche une alerte simple.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* alert color="danger" dismissible="true" */>}}
Une simple alerte de danger — vérifiez-la !
{{</* /alert */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Badge
Utilisez le shortcode "badge" pour afficher un badge avec un en-tête.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example >}}
En-tête 1 {{</* badge title="Nouveau" */>}}
{.h1}
@@ -81,35 +81,35 @@ En-tête 5 {{</* badge title="Nouveau" */>}}
En-tête 6 {{</* badge title="Nouveau" */>}}
{.h6}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Fil d'Ariane
À titre d'exemple, le shortcode suivant affiche un fil d'Ariane pour la page du blog.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* breadcrumb path="blog" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Bouton
À titre d'exemple, le shortcode suivant affiche une infobulle pour un bouton sombre avec un badge.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* button color="secondary" tooltip="Cliquez sur la boîte de réception pour voir vos messages non lus." href="#!" badge="99+" */>}}
Boîte de réception
{{</* /button */>}}
{{< /example>}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Groupe de boutons
À titre d'exemple, le shortcode suivant affiche un groupe de trois boutons.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* button-group aria-label="Basic example" */>}}
{{</* button color="primary" href="#!" */>}}Gauche{{</* /button */>}}
@@ -117,24 +117,24 @@ En-tête 6 {{</* badge title="Nouveau" */>}}
{{</* button color="primary" href="#!" */>}}Droite{{</* /button */>}}
{{</* /button-group */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Carte
À titre d'exemple, le shortcode suivant affiche une carte empilée qui renvoie à la page [à propos]({{% ref "about" %}}). Elle inclut un en-tête personnalisé.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* card path="about" padding="3" class="col-6 mx-auto" color="body-tertiary"
header="publication" footer="none" button=true /*/>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Groupe de cartes
À titre d'exemple, le shortcode suivant affiche un groupe de cartes avec trois éléments.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* card-group padding="3" gutter="3" */>}}
{{</* card title="Framework Bootstrap" icon="fab bootstrap" */>}}
@@ -151,13 +151,13 @@ En-tête 6 {{</* badge title="Nouveau" */>}}
{{</* /card */>}}
{{</* /card-group */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Carrousel
À titre d'exemple, le shortcode suivant affiche un carrousel centré avec trois slides, un rapport hauteur/largeur de 16:9 et une largeur relative de 67 % sur les grands écrans.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* carousel ratio="16x9" class="col-sm-12 col-lg-8 mx-auto" */>}}
{{</* img src="img/coffee.jpg" caption="slide 1" */>}}
@@ -165,13 +165,13 @@ En-tête 6 {{</* badge title="Nouveau" */>}}
{{</* img src="img/dunes.jpg" caption="slide 3" */>}}
{{</* /carousel */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Réduire
À titre d'exemple, le shortcode suivant affiche un bouton qui, lorsqu'il est cliqué, déclenche l'apparition ou la disparition d'un panneau.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* button collapse="collapse-1" */>}}
Déclencher le panneau
@@ -182,23 +182,23 @@ En-tête 6 {{</* badge title="Nouveau" */>}}
sera révélé lorsque l'utilisateur active le déclencheur correspondant.
{{</* /collapse */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Invite de commandes
Utilisez le shortcode `command` pour générer un bloc avec un invite de commandes bash par défaut.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* command */>}}
export MY_VAR=123
{{</* /command */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
Spécifiez `user` et `host` pour ajouter le contexte de l'utilisateur à l'invite. De plus, utilisez `(out)` pour spécifier une ligne de sortie et utilisez `\` pour indiquer une continuation de ligne.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* command user="user" host="localhost" */>}}
export MY_VAR=123
@@ -212,7 +212,7 @@ echo "goodbye"
(out)goodbye
{{</* /command */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Documentation
@@ -224,67 +224,67 @@ Utilisez le shortcode `docs` pour afficher le contenu d'un fichier `js`, `scss`
Utilisez le shortcode `example` pour afficher un exemple de code et pour afficher un aperçu de la même entrée.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* command */>}}
export MY_VAR=123
{{</* /command */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Fichier
Utilisez le shortcode `file` pour afficher et mettre en évidence le contenu complet d'un fichier d'entrée donné.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* file path="./config/_default/languages.toml" id="file-collapse-1" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Icon
À titre d'exemple, les shortcodes suivants affichent une coche carrée, un logo de marque et une coche circulaire.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* fa square-check */>}}
{{</* fab linkedin */>}}
{{</* fas circle-check */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Image
À titre d'exemple, le shortcode suivant affiche une image avec des coins arrondis et un ratio d'aspect de 21:9.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="img/flowers.jpg" ratio="21x9" caption="Légende de l'image" class="rounded" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
À titre d'exemple, le shortcode suivant affiche une image vectorielle classique.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="/img/logo_icon.svg" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
À titre d'exemple, le shortcode suivant affiche une image vectorielle avec une référence de symbole.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="/img/logo_var.svg#logo" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Lien
À titre d'exemple, les shortcodes suivants rendent des liens dans différents formats.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
- {{</* link hinode >}}Lien nommé avec les paramètres par défaut{{< /link */>}}
@@ -303,23 +303,23 @@ Utilisez le shortcode `file` pour afficher et mettre en évidence le contenu com
- {{</* link "components/#map" /*/>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Mark
Utilisez le shortcode `mark` pour mettre en évidence le texte. Le contenu interne est utilisé en tant qu'entrée.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
Utilisez le shortcode `mark` pour {{</* mark >}}mettre en évidence{{< /mark */>}} un texte spécifique.
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Navigation
À titre d'exemple, le shortcode suivant affiche un groupe d'onglets avec des onglets alignés verticalement.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* nav type="pills" vertical="true" */>}}
{{</* nav-item header="Élément de navigation #1" show="true" */>}}
@@ -334,75 +334,75 @@ Utilisez le shortcode `mark` pour {{</* mark >}}mettre en évidence{{< /mark */>
{{</* /nav-item */>}}
{{</* /nav */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Barre de navigation
À titre d'exemple, le shortcode suivant affiche un en-tête de navigation clair.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* navbar id="navbar-sample" path="blog" color="primary" size="md" search="false" menus="sample" title="Marque" mode="false" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Publication
À titre d'exemple, le shortcode suivant affiche un bouton de publication par défaut.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* release version="v0.14.1" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Indicateur de chargement
À titre d'exemple, le raccourci suivant affiche un indicateur de chargement centré.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* spinner color="info" class="text-center" */>}}
Chargement...
{{</* /spinner */>}}
{{< /example>}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Sub
À titre d'exemple, le shortcode suivant affiche du texte en indice.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example >}}
H{{</* sub 2 */>}}O est un liquide.
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Sup
À titre d'exemple, le shortcode suivant affiche du texte en exposant.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example >}}
2{{</* sup 10 */>}} équivaut à 1024.
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Chronologie
À titre d'exemple, le shortcode suivant affiche une chronologie avec le fichier `data/timeline-fr.yml` en tant que données.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* timeline data="timeline-fr" background="dark" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Notification
À titre d'exemple, le shortcode suivant affiche un bouton qui, lorsqu'il est cliqué, déclenche le message de notification.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* button toast="toast-example-1" */>}}
Affiche la notification #1
@@ -420,14 +420,24 @@ H{{</* sub 2 */>}}O est un liquide.
Ceci est le deuxième message de notification. Il prend en charge le `markdown`.
{{</* /toast */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Infobulle
À titre d'exemple, le shortcode suivant affiche une infobulle pour un lien hypertexte coloré.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* tooltip color="primary" title="Légende de l'infobulle" href="#!" */>}}Démonstration{{</* /tooltip */>}} d'une infobulle
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Vidéo
À titre d'exemple, le shortcode suivant affiche une vidéo d'éléphant hébergée par Cloudinary.
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* video host="cloudinary" account="demo" id="elephants" autoplay=true */>}}
{{< /example >}}
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}

View File

@@ -11,7 +11,7 @@ thumbnail:
authorURL: https://unsplash.com/@ryoji__iwata
origin: Unsplash
originURL: https://unsplash.com/photos/5siQcvSxCP8
modules: ["katex", "leaflet", "lottie"]
modules: ["leaflet", "lottie", "simple-datatables"]
---
Hinode propose plusieurs shortcodes en plus des [éléments Bootstrap]({{% relref "bootstrap-elements" %}}) courants. Consultez la [documentation officielle]({{% param "links.hinode_docs" %}}) pour plus de détails.
@@ -20,18 +20,61 @@ Hinode propose plusieurs shortcodes en plus des [éléments Bootstrap]({{% relre
À titre d'exemple, le shortcode suivant affiche une animation qui se déclenche au survol.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* animation data="gatin.json" auto=false hover=true class="col-6 mx-auto" */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Data tables
À titre d'exemple, le shortcode suivant affiche un tableau réactif utilisant des contrôles avancés.
{{% comment %}}<!-- markdownlint-disable MD037 MD058 -->{{% /comment %}}
{{< example lang="markdown" >}}
{{</* table sortable="true" paging="true" searchable="true" pagingOptionPerPage=5 */>}}
| # | Heading |
|-----|---------|
| 1. | Item 1 |
| 2. | Item 2 |
| 3. | Item 3 |
| 4. | Item 4 |
| 5. | Item 5 |
| 6. | Item 6 |
| 7. | Item 7 |
| 8. | Item 8 |
| 9. | Item 9 |
| 10. | Item 10 |
| 11. | Item 11 |
| 12. | Item 12 |
| 13. | Item 13 |
| 14. | Item 14 |
| 15. | Item 15 |
| 16. | Item 16 |
| 17. | Item 17 |
| 18. | Item 18 |
| 19. | Item 19 |
| 20. | Item 20 |
| 21. | Item 21 |
| 22. | Item 22 |
| 23. | Item 23 |
| 24. | Item 24 |
| 25. | Item 25 |
| 26. | Item 26 |
| 27. | Item 27 |
| 28. | Item 28 |
| 29. | Item 29 |
| 30. | Item 30 |
{{</* /table */>}}
{{< /example >}}
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Formule (KaTeX)
À titre d'exemple, le markdown suivant affiche deux formules en utilisant la bibliothèque de composition typographique KaTeX.
À titre dexemple, le markdown suivant affiche deux formules en utilisant la bibliothèque de composition typographique KaTeX.
{{< example lang="markdown" >}}
Voici une formule en ligne $-b \pm \sqrt{b^2 - 4ac} \over 2a$.
{{{< example lang="markdown" >}}
Voici une formule $-b \pm \sqrt{b^2 - 4ac} \over 2a$ en ligne
Il s'agit d'une formule non en ligne:
@@ -43,8 +86,8 @@ $$\forall x \in X, \quad \exists y \leq \epsilon$$
À titre d'exemple, le shortcode suivant affiche une carte interactive de la ville d'Amsterdam.
<!-- markdownlint-disable MD037 -->
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* map lat=52.377 long=4.90 zoom=13 popup="Gare centrale d'Amsterdam" popup-lat=52.378062 popup-long=4.900562 */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}

View File

@@ -0,0 +1,42 @@
---
author: Mark Dumay
title: Images locales et distantes
date: 2024-05-19
description: Inclure des images responsives provenant de sources locales et de certains fournisseurs de CDN d'images.
tags: ["blog"]
thumbnail:
url: https://assets.imgix.net/examples/bluehat.jpg
---
## Cloudinary
À titre d'exemple, le shortcode suivant affiche une image avec des coins arrondis et un ratio d'aspect de 21x9.
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="https://res.cloudinary.com/demo/dog.webp"
ratio="21x9" caption="Image Cloudinary" class="rounded" plain=true */>}}
{{< /example >}}
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## ImageKit.io
À titre d'exemple, le shortcode suivant affiche une image avec des coins arrondis et un ratio d'aspect de 21x9.
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="https://ik.imagekit.io/demo/default-image.jpg"
ratio="21x9" caption="Image ImageKit.io" class="rounded" anchor="Center" */>}}
{{< /example >}}
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Imgix
À titre d'exemple, le shortcode suivant affiche une image avec des coins arrondis et un ratio d'aspect de 21x9.
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* image src="https://assets.imgix.net/examples/bluehat.jpg"
ratio="21x9" caption="Image imgix" class="rounded" anchor="Top" */>}}
{{< /example >}}
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}

View File

@@ -0,0 +1,44 @@
---
title: Politique de Cookies
description: Politique de cookies de gethinode.com
date: 2024-09-19
layout: docs
---
{{% comment %}}<!-- markdownlint-disable MD036 -->{{% /comment %}}
*Date d'entrée en vigueur : 19-Sep-2024*
## Que sont les cookies ?
Cette Politique de Cookies explique ce que sont les cookies et comment nous les utilisons, les types de cookies que nous utilisons, c'est-à-dire les informations que nous collectons à l'aide des cookies, la manière dont ces informations sont utilisées, et comment gérer les paramètres des cookies.
Les cookies sont de petits fichiers texte utilisés pour stocker de petites quantités d'informations. Ils sont stockés sur votre appareil lorsque le site web se charge dans votre navigateur. Ces cookies nous aident à faire fonctionner le site correctement, à le rendre plus sécurisé, à offrir une meilleure expérience utilisateur, à comprendre comment le site fonctionne et à analyser ce qui fonctionne et ce qui doit être amélioré.
## Comment utilisons-nous les cookies ?
Comme la plupart des services en ligne, notre site web utilise des cookies de première partie et de tierce partie pour plusieurs raisons. Les cookies de première partie sont principalement nécessaires pour que le site web fonctionne correctement et ne collectent aucune de vos données personnelles identifiables.
Les cookies de tierce partie utilisés sur notre site web servent principalement à comprendre les performances du site, à savoir comment vous interagissez avec notre site, à maintenir la sécurité de nos services, à diffuser des publicités pertinentes pour vous, et dans lensemble à vous offrir une meilleure expérience utilisateur et à accélérer vos interactions futures avec notre site.
## Types de cookies que nous utilisons
{{< cky-audit >}}
## Gérer les préférences des cookies
{{< cky-banner >}}
Vous pouvez modifier vos préférences en matière de cookies à tout moment en cliquant sur le bouton ci-dessus. Cela vous permettra de revoir la bannière de consentement aux cookies et de modifier vos préférences ou de retirer votre consentement immédiatement.
En plus de cela, les différents navigateurs offrent différentes méthodes pour bloquer et supprimer les cookies utilisés par les sites web. Vous pouvez modifier les paramètres de votre navigateur pour bloquer/supprimer les cookies. Vous trouverez ci-dessous les liens vers les documents de support sur la gestion et la suppression des cookies des principaux navigateurs web.
Chrome : https://support.google.com/accounts/answer/32050
Safari : https://support.apple.com/fr-fr/guide/safari/sfri11471/mac
Firefox : https://support.mozilla.org/fr/kb/effacer-cookies-donnees-sites-firefox
Internet Explorer : https://support.microsoft.com/fr-fr/topic/supprimer-les-fichiers-cookies-dans-internet-explorer-bca9446f-d873-78de-77ba-d42645fa52fc
Si vous utilisez un autre navigateur, veuillez consulter les documents d'assistance officiels de votre navigateur.
*Politique de Cookies générée par {{< link "https://www.cookieyes.com" >}}CookieYes - Générateur de Politique de Cookies{{< /link >}}.*

View File

@@ -0,0 +1,46 @@
---
title: Politique de Confidentialité
description: Politique de confidentialité de gethinode.com
date: 2024-09-19
layout: docs
---
{{% comment %}}<!-- markdownlint-disable MD036 -->{{% /comment %}}
*Date d'entrée en vigueur : 19-Sep-2024*
Cette Politique de Confidentialité décrit les politiques de gethinode.com concernant la collecte, l'utilisation et la divulgation de vos informations que nous collectons lorsque vous utilisez notre site web (https://gethinode.com, désigné comme le « Service »). En accédant ou en utilisant le Service, vous consentez à la collecte, à l'utilisation et à la divulgation de vos informations conformément à cette Politique de Confidentialité. Si vous ne consentez pas à cela, veuillez ne pas accéder ou utiliser le Service.
Nous pouvons modifier cette Politique de Confidentialité à tout moment sans préavis préalable et publierons la Politique de Confidentialité révisée sur le Service. La Politique révisée sera effective 180 jours après sa publication sur le Service et votre accès ou utilisation continu(e) du Service après ce délai constituera votre acceptation de la Politique de Confidentialité révisée. Nous vous recommandons donc de consulter régulièrement cette page.
## Comment nous partageons vos informations
Nous ne transférerons pas vos informations personnelles à des tiers sans obtenir votre consentement, sauf dans les circonstances limitées décrites ci-dessous :
- Analyses
Nous demandons à ces tiers d'utiliser les informations personnelles que nous leur transférons uniquement aux fins pour lesquelles elles ont été transférées et de ne pas les conserver plus longtemps que nécessaire pour accomplir cet objectif.
Nous pouvons également divulguer vos informations personnelles pour les raisons suivantes : (1) pour se conformer aux lois, règlements, ordonnances judiciaires ou autres procédures légales applicables ; (2) pour faire respecter vos accords avec nous, y compris cette Politique de Confidentialité ; ou (3) pour répondre à des réclamations selon lesquelles votre utilisation du Service viole les droits de tiers. Si le Service ou notre société est fusionné ou acquis par une autre entreprise, vos informations seront l'un des actifs transférés au nouveau propriétaire.
## Vos droits
Selon les lois applicables, vous pouvez avoir le droit d'accéder à vos données personnelles, de les rectifier ou de les effacer, de recevoir une copie de vos données personnelles, de restreindre ou de vous opposer au traitement actif de vos données, de nous demander de partager (transférer) vos informations personnelles à une autre entité, de retirer tout consentement que vous nous avez donné pour traiter vos données, un droit de porter plainte auprès d'une autorité statutaire et d'autres droits pertinents en vertu des lois applicables. {{% comment %}}<!-- Pour exercer ces droits, vous pouvez nous écrire à privacy@gethinode.com. Nous répondrons à votre demande conformément aux lois applicables. -->{{% /comment %}}
Notez que si vous ne nous autorisez pas à collecter ou traiter les informations personnelles requises, ou si vous retirez votre consentement pour traiter celles-ci pour les fins requises, vous pourriez ne pas être en mesure d'accéder ou d'utiliser les services pour lesquels vos informations ont été demandées.
## Cookies, etc.
Pour en savoir plus sur la manière dont nous utilisons ces technologies de suivi et vos choix à leur égard, veuillez consulter notre {{< link "cookies" >}}Politique/Paramètres des Cookies{{< /link >}}.
## Sécurité
La sécurité de vos informations est importante pour nous et nous utiliserons des mesures de sécurité raisonnables pour prévenir la perte, l'utilisation abusive ou l'altération non autorisée de vos informations sous notre contrôle. Cependant, compte tenu des risques inhérents, nous ne pouvons garantir une sécurité absolue et par conséquent, nous ne pouvons garantir la sécurité des informations que vous nous transmettez ; vous le faites à vos propres risques.
## Liens vers des tiers et utilisation de vos informations
Notre Service peut contenir des liens vers d'autres sites web qui ne sont pas exploités par nous. Cette Politique de Confidentialité ne couvre pas la politique de confidentialité et les autres pratiques de tout tiers, y compris tout tiers exploitant tout site ou service qui pourrait être accessible via un lien sur le Service. Nous vous conseillons fortement de consulter la politique de confidentialité de chaque site que vous visitez. Nous n'avons aucun contrôle sur le contenu, les politiques de confidentialité ou les pratiques des sites ou services de tiers et déclinons toute responsabilité à cet égard.
{{% comment %}}<!-- ## Responsable des plaintes / Protection des données
Si vous avez des questions ou des préoccupations concernant le traitement de vos informations dont nous disposons, vous pouvez nous envoyer un e-mail à privacy@gethinode.com. Nous répondrons à vos préoccupations conformément aux lois applicables. -->{{% /comment %}}
*Politique de Confidentialité générée avec {{< link "https://www.cookieyes.com" >}}CookieYes{{< /link >}}.*

View File

@@ -0,0 +1,92 @@
---
author: Mark Dumay
title: Componenten
date: 2023-09-23
description: Gebruik shortcodes om diverse componenten vanuit een externe softwarebibliotheek toe te voegen.
tags: ["bootstrap", "shortcode"]
thumbnail:
url: img/puzzle.jpg
author: Ryoji Iwata
authorURL: https://unsplash.com/@ryoji__iwata
origin: Unsplash
originURL: https://unsplash.com/photos/5siQcvSxCP8
modules: ["leaflet", "lottie", "simple-datatables"]
---
Hinode bevat meerdere shortcodes naast de generieke Bootstrap elementen. Zie de [officiële documentatie]({{% param "links.hinode_docs" %}}) voor meer informatie.
## Animatie
Het volgende voorbeeld gebruikt een shortcode om een animatie te tonen, die afspeelt zodra je er met de muis overheen beweegt.
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* animation data="gatin.json" auto=false hover=true class="col-6 mx-auto" */>}}
{{< /example >}}
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
## Gegevenstabellen
Het volgende voorbeeld gebruikt een shortcode om een responsieve tabel met geavanceerde mogelijkheden te tonen.
{{% comment %}}<!-- markdownlint-disable MD037 MD058 -->{{% /comment %}}
{{< example lang="markdown" >}}
{{</* table sortable="true" paging="true" searchable="true" pagingOptionPerPage=5 */>}}
| # | Kop |
|-----|---------|
| 1. | Item 1 |
| 2. | Item 2 |
| 3. | Item 3 |
| 4. | Item 4 |
| 5. | Item 5 |
| 6. | Item 6 |
| 7. | Item 7 |
| 8. | Item 8 |
| 9. | Item 9 |
| 10. | Item 10 |
| 11. | Item 11 |
| 12. | Item 12 |
| 13. | Item 13 |
| 14. | Item 14 |
| 15. | Item 15 |
| 16. | Item 16 |
| 17. | Item 17 |
| 18. | Item 18 |
| 19. | Item 19 |
| 20. | Item 20 |
| 21. | Item 21 |
| 22. | Item 22 |
| 23. | Item 23 |
| 24. | Item 24 |
| 25. | Item 25 |
| 26. | Item 26 |
| 27. | Item 27 |
| 28. | Item 28 |
| 29. | Item 29 |
| 30. | Item 30 |
{{</* /table */>}}
{{< /example >}}
{{% comment %}}<!-- markdownlint-enable MD037 MD058 -->{{% /comment %}}
## Formule (KaTeX)
Het volgende voorbeeld gebruikt Markdown om twee formules met behulp van KaTeX op de server te genereren.
{{< example lang="markdown" >}}
Dit is een inline $-b \pm \sqrt{b^2 - 4ac} \over 2a$ formule
Dit is geen inline formule:
$$x = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3 + a_4}}}$$
$$\forall x \in X, \quad \exists y \leq \epsilon$$
{{< /example >}}
## Kaart
Het volgende voorbeeld gebruikt een shortcode om een interactieve kaart van Amsterdam te tonen.
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
{{< example lang="hugo" >}}
{{</* map lat=52.377 long=4.90 zoom=13 popup="Amsterdam Central Station" popup-lat=52.378062 popup-long=4.900562 */>}}
{{< /example >}}
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}

View File

@@ -0,0 +1,63 @@
# toml-docs-start server-config
[[headers]]
for = "/**"
[headers.values]
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options = "nosniff"
X-XSS-Protection = "1; mode=block"
X-Frame-Options = "SAMEORIGIN"
Referrer-Policy = "strict-origin"
Permissions-Policy = """\
geolocation=(), \
midi=(), \
sync-xhr=(), \
microphone=(), \
camera=(), \
magnetometer=(), \
gyroscope=(), \
fullscreen=(), \
payment=() \
"""
cache-control = """\
max-age=0, \
no-cache, \
no-store, \
must-revalidate \
"""
Access-Control-Allow-Origin = "*"
Content-Security-Policy = """\
default-src 'none'; \
script-src 'self'; \
font-src 'self'; \
connect-src 'self'; \
img-src 'self'; \
style-src 'self'; \
base-uri 'self'; \
object-src 'none'; \
form-action 'self'; \
manifest-src 'self'; \
media-src 'self' \
"""
# toml-docs-end server-config
# toml-docs-start server-custom-404
[[redirects]]
from = '/fr/*'
to = '/fr/404.html'
status = 404
[[redirects]]
from = '/nl/*'
to = '/nl/404.html'
status = 404
[[redirects]]
from = '/en/*'
to = '/en/404.html'
status = 404
[[redirects]] # Default language should be last.
from = '/*'
to = '/en/404.html'
status = 404
# toml-docs-end server-custom-404

View File

@@ -3,5 +3,5 @@ module github.com/gethinode/hinode/exampleSite
go 1.19
require (
github.com/gethinode/mod-cookieyes/v2 v2.1.2 // indirect
github.com/gethinode/mod-cookieyes/v2 v2.2.2 // indirect
)

View File

@@ -1 +1,2 @@
github.com/gethinode/mod-cookieyes/v2 v2.0.3/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y=
github.com/gethinode/mod-cookieyes/v2 v2.2.2 h1:VNIdbZnzXw/0Jito/IcDNqQ9yRYLCGrDwyrMqtSJgE4=
github.com/gethinode/mod-cookieyes/v2 v2.2.2/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y=

View File

@@ -22,6 +22,7 @@
"iframe",
"img",
"input",
"ins",
"label",
"li",
"link",
@@ -144,7 +145,6 @@
"chroma",
"cky-audit-table-element",
"cky-banner-element",
"cky-cookie-audit-table",
"col",
"col-10",
"col-12",
@@ -316,7 +316,7 @@
"mt-5",
"mt-auto",
"mt-md-0",
"multi-docs-collapse-15",
"multi-docs-collapse-41",
"multi-file-collapse-1",
"mx-auto",
"mx-md-0",
@@ -422,7 +422,6 @@
"tab-pane",
"table",
"table-responsive",
"table-striped",
"tag-link",
"text-bg-body",
"text-bg-body-tertiary",
@@ -497,15 +496,15 @@
"accordéon",
"alert",
"alerte",
"animatie",
"animation",
"badge",
"barre-de-navigation",
"blog",
"body-docs-collapse-15",
"body-docs-collapse-41",
"body-file-collapse-1",
"bouton",
"breadcrumb",
"btn-webshare",
"button",
"button-group",
"card",
@@ -519,6 +518,8 @@
"collapse",
"collapse-1",
"command-prompt",
"comment-nous-partageons-vos-informations",
"comment-utilisons-nous-les-cookies-",
"cookies-etc",
"custom-activity",
"data-tables",
@@ -559,12 +560,14 @@
"fichier",
"fil-dariane",
"file",
"footer-docs-collapse-15",
"footer-docs-collapse-41",
"footer-file-collapse-1",
"formula-katex",
"formule-katex",
"gegevenstabellen",
"groupe-de-boutons",
"groupe-de-cartes",
"gérer-les-préférences-des-cookies",
"how-do-we-use-cookies",
"how-we-share-your-information",
"icon",
@@ -573,23 +576,26 @@
"imgix",
"indicateur-de-chargement",
"infobulle",
"ins",
"invite-de-commandes",
"kaart",
"language-selector",
"leaflet-map-0",
"lien",
"liens-vers-des-tiers-et-utilisation-de-vos-informations",
"link",
"lottie-animation-0",
"manage-cookie-preferences",
"map",
"mark",
"nav",
"nav-0",
"nav-0-0",
"nav-0-1",
"nav-0-2",
"nav-0-btn-0",
"nav-0-btn-1",
"nav-0-btn-2",
"nav-nav-0",
"navbar",
"navbar-0-collapse",
"navbar-mode",
@@ -602,12 +608,14 @@
"projects",
"projets",
"publication",
"que-sont-les-cookies-",
"release",
"réduire",
"security",
"spinner",
"sub",
"sup",
"sécurité",
"table",
"third-party-links--use-of-your-information",
"timeline",
@@ -619,12 +627,13 @@
"toast-message-email-4",
"toc-collapse",
"tooltip",
"types-de-cookies-que-nous-utilisons",
"types-of-cookies-we-use",
"video",
"vimeo",
"vio",
"vos-droits",
"what-are-cookies",
"your-rights",
"youtube"
"your-rights"
]
}
}

13
go.mod
View File

@@ -5,14 +5,15 @@ go 1.19
require (
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
github.com/gethinode/mod-bootstrap v1.3.1 // indirect
github.com/gethinode/mod-flexsearch/v2 v2.0.1 // indirect
github.com/gethinode/mod-csp v1.0.5 // indirect
github.com/gethinode/mod-flexsearch/v2 v2.0.2 // indirect
github.com/gethinode/mod-fontawesome v1.10.0 // indirect
github.com/gethinode/mod-google-analytics v1.0.3 // indirect
github.com/gethinode/mod-google-analytics v1.1.5 // indirect
github.com/gethinode/mod-katex v1.1.2 // indirect
github.com/gethinode/mod-leaflet v1.1.1 // indirect
github.com/gethinode/mod-lottie v1.5.10 // indirect
github.com/gethinode/mod-simple-datatables v1.0.13 // indirect
github.com/gethinode/mod-utils/v2 v2.8.1 // indirect
github.com/gethinode/mod-leaflet v1.2.0 // indirect
github.com/gethinode/mod-lottie v1.5.12 // indirect
github.com/gethinode/mod-simple-datatables v1.1.4 // indirect
github.com/gethinode/mod-utils/v2 v2.8.4 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20240501124520-961c3ae84a87 // indirect
github.com/twbs/bootstrap v5.3.3+incompatible // indirect
)

46
go.sum
View File

@@ -24,6 +24,18 @@ github.com/gethinode/mod-bootstrap v1.3.0 h1:UxNmXgXo7gA8C8z1ar47+tSccmKYpaYBBN+
github.com/gethinode/mod-bootstrap v1.3.0/go.mod h1:CL9IDot6nbXIWJYE/KxfsTdYYEJIGL17BXbAYPn+wVQ=
github.com/gethinode/mod-bootstrap v1.3.1 h1:ZUX72St0WZ5tyXpEPBJlayX/dmCH3cGErzsozkUKCok=
github.com/gethinode/mod-bootstrap v1.3.1/go.mod h1:CL9IDot6nbXIWJYE/KxfsTdYYEJIGL17BXbAYPn+wVQ=
github.com/gethinode/mod-csp v1.0.0 h1:Obp0MVMBjIPZbKDh6Ejl5pImDG7yERMLf2or9UVnwPA=
github.com/gethinode/mod-csp v1.0.0/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
github.com/gethinode/mod-csp v1.0.1 h1:IUUwPc41UNw7DAFuJ75nNPzhkPExenxXU7susdLaxdQ=
github.com/gethinode/mod-csp v1.0.1/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
github.com/gethinode/mod-csp v1.0.2 h1:KX8EeoCGbHhGSo5r0YIa9BmPZ6S6v7L9CChTejREkK4=
github.com/gethinode/mod-csp v1.0.2/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
github.com/gethinode/mod-csp v1.0.3 h1:tRmnuVZ3UpCc9HR8qsAwbU0OJ/UsNVSbse0SZuwGcCg=
github.com/gethinode/mod-csp v1.0.3/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
github.com/gethinode/mod-csp v1.0.4 h1:ChI+DMkkkCF5tKs+K9VSqdsXPS01/QANQiJ2LoJp10o=
github.com/gethinode/mod-csp v1.0.4/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
github.com/gethinode/mod-csp v1.0.5 h1:Ypdzw26iQ9/4sAgHvwFY1mg/EMoLrcI2knvVmHq2Ffs=
github.com/gethinode/mod-csp v1.0.5/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
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.1.0 h1:7BCMyQDlYlskNXuazt8Jg/jg9WREexu2xVkYqThkAX4=
@@ -74,6 +86,8 @@ github.com/gethinode/mod-flexsearch v1.12.1 h1:clkGUWaNPe9Dt/66Apy7oH9NwVQfnD6Op
github.com/gethinode/mod-flexsearch v1.12.1/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-flexsearch/v2 v2.0.1 h1:5unGUSb1tX1LBtKygnLfdt7CnVJuFKSt6VXiKRxdojc=
github.com/gethinode/mod-flexsearch/v2 v2.0.1/go.mod h1:d7MMkVlz0l6cEk76e0mkveEsDxGfu5Sv+HUIhoGguhE=
github.com/gethinode/mod-flexsearch/v2 v2.0.2 h1:5FkLbjORwKvK544H/yaAltyIB7eptRPxxh5VcfDDeqM=
github.com/gethinode/mod-flexsearch/v2 v2.0.2/go.mod h1:d7MMkVlz0l6cEk76e0mkveEsDxGfu5Sv+HUIhoGguhE=
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.1.0 h1:rsDzUI+3ZlS/do2ff3ne8/z3KwHeysmuA+WsXlumXXk=
@@ -126,6 +140,16 @@ github.com/gethinode/mod-google-analytics v1.0.2 h1:ljrAYdAPqiQg6rdnL6Je8zLK6mhl
github.com/gethinode/mod-google-analytics v1.0.2/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
github.com/gethinode/mod-google-analytics v1.0.3 h1:QUm4AeBR6D9cLx26F6Cy5qQvQe/19c2wTJAqxmCfAq4=
github.com/gethinode/mod-google-analytics v1.0.3/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
github.com/gethinode/mod-google-analytics v1.1.1 h1:XzMXd6nBDl5Lj1Q5pd8MWtE87FI/vRCsUAkAvfuXDxE=
github.com/gethinode/mod-google-analytics v1.1.1/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
github.com/gethinode/mod-google-analytics v1.1.2 h1:mcoqaRRorut+PxYxJnOEMfKIlVIIOd6vxKhuEYTwFzw=
github.com/gethinode/mod-google-analytics v1.1.2/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
github.com/gethinode/mod-google-analytics v1.1.3 h1:24qxV5vKIex3zSdow+5r0o8rox1lrO31oGi0/XusBy4=
github.com/gethinode/mod-google-analytics v1.1.3/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
github.com/gethinode/mod-google-analytics v1.1.4 h1:GkLzbSdVIMLWSQ4VOSaJZIKyofmVCzueiuiGc29jQOM=
github.com/gethinode/mod-google-analytics v1.1.4/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
github.com/gethinode/mod-google-analytics v1.1.5 h1:wlOcgwNEJAnIQmPJIo3cT06xnr1dxN/ydUIztoC/7rM=
github.com/gethinode/mod-google-analytics v1.1.5/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
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.1 h1:809QUztxmKgMNchU+v03iMO7Ma+ISc3ZzhXYauc21rs=
@@ -170,6 +194,8 @@ github.com/gethinode/mod-leaflet v1.1.0 h1:FXzPCic5XmUluxQ6e7LYUhhLnxuQOBwry8qjG
github.com/gethinode/mod-leaflet v1.1.0/go.mod h1:Ei0x9WiL7Dbi4JeG6yI1CE63bT1QJ8sKi67Jea1wFSE=
github.com/gethinode/mod-leaflet v1.1.1 h1:AIHR4k8SjmeoZxtjLgSS6/N3jKeZNZGdZTgu/7MwP4c=
github.com/gethinode/mod-leaflet v1.1.1/go.mod h1:Ei0x9WiL7Dbi4JeG6yI1CE63bT1QJ8sKi67Jea1wFSE=
github.com/gethinode/mod-leaflet v1.2.0 h1:5q5LHmGNi9N4cdRDCsl/6oI8vY3oQ2ogNUjP3NCnk4Y=
github.com/gethinode/mod-leaflet v1.2.0/go.mod h1:Ei0x9WiL7Dbi4JeG6yI1CE63bT1QJ8sKi67Jea1wFSE=
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.1 h1:+IE7xtnSVQpJS56oBJq9RWKZeFEfxrOZAqE3BSrS/u0=
@@ -218,6 +244,10 @@ github.com/gethinode/mod-lottie v1.5.9 h1:1MFsq8pO7s4RXu1sA0z75xdp63FPdJ6ar9OhEi
github.com/gethinode/mod-lottie v1.5.9/go.mod h1:TA1rPRwSilT5mXUakNSVlXNrgTpE87mUOB/fdunAdA0=
github.com/gethinode/mod-lottie v1.5.10 h1:tYFgk74T9zWy2FRkfkRI+8QVQy6lnuABnTeWQ8nUX5w=
github.com/gethinode/mod-lottie v1.5.10/go.mod h1:L7NpvCAm04R59GSAAm/UFoDCs/6UtrIC5zQEjgQSr4k=
github.com/gethinode/mod-lottie v1.5.11 h1:xhxBPDS0iyUY+C1ANaD5EeQV7fO1FG0wMoCjgrCMi/0=
github.com/gethinode/mod-lottie v1.5.11/go.mod h1:6FKqk8c+Jkbk2udCxUKVLF1K1wrGwthPsOvRzeoPXRQ=
github.com/gethinode/mod-lottie v1.5.12 h1:ny+5DfxWpgRPszhrSUqg+BcNt05ai1OvPAEgCuioFnA=
github.com/gethinode/mod-lottie v1.5.12/go.mod h1:0WZP8x7duK/AIZ8fWdZNRnteG03kYfLtsaph7z1mdOg=
github.com/gethinode/mod-simple-datatables v1.0.0 h1:Dj4WGw12OkaimwkCpLn5Jhmd49dvNJW9O2P/W9F+HlQ=
github.com/gethinode/mod-simple-datatables v1.0.0/go.mod h1:K8T7fIdb8pMOB+OSW4A5lz5IW99+HyzcTgx764fvOGw=
github.com/gethinode/mod-simple-datatables v1.0.2 h1:zhqxHet3iLQWYCBbGROALpOY9zQlptMycFkz1Tto5bA=
@@ -240,6 +270,16 @@ github.com/gethinode/mod-simple-datatables v1.0.12 h1:myyVp1ctQA6j+5UTWcDwQmy8ip
github.com/gethinode/mod-simple-datatables v1.0.12/go.mod h1:QuH7wz1igohzCgL76xI1960mFxPPrqgvGtLwR/0cFyQ=
github.com/gethinode/mod-simple-datatables v1.0.13 h1:3GTn46Zh56SFzCUP7CUSrmp/ZoiaVG19q4xdObSx6Pc=
github.com/gethinode/mod-simple-datatables v1.0.13/go.mod h1:a2qIdYegX5gBubGbspuHv/2UA/8O89oUG/U5hd7jLK8=
github.com/gethinode/mod-simple-datatables v1.0.14 h1:332WtbaQtTm7VP0b7zYfpogTBcOEetkJrNd01K4d/JE=
github.com/gethinode/mod-simple-datatables v1.0.14/go.mod h1:mP3yjAdVE1G6JHfv8VVsRmvaPlPwddXknI675AuVs2I=
github.com/gethinode/mod-simple-datatables v1.1.0 h1:Qc8eJOcVjxIHNfgrZf/bKe8+spCLrJTVwsC8d9ct7i0=
github.com/gethinode/mod-simple-datatables v1.1.0/go.mod h1:8q/6f3uAPNTTP5NjEJOuXr6tEWelRFLJfzVJ3AODMlQ=
github.com/gethinode/mod-simple-datatables v1.1.1 h1:rzX3+rsOfcW9Z8wiQ1Fp6Ry5TkcJ0nG849xKzjDBbGE=
github.com/gethinode/mod-simple-datatables v1.1.1/go.mod h1:8q/6f3uAPNTTP5NjEJOuXr6tEWelRFLJfzVJ3AODMlQ=
github.com/gethinode/mod-simple-datatables v1.1.3 h1:a+uIfgc6c+9Zc38Q+Kzd3cWeFhC8BW/rP9/rnd2/ZKM=
github.com/gethinode/mod-simple-datatables v1.1.3/go.mod h1:8q/6f3uAPNTTP5NjEJOuXr6tEWelRFLJfzVJ3AODMlQ=
github.com/gethinode/mod-simple-datatables v1.1.4 h1:8+uwaEBoh8N2T2sHlcIcxqAGaHPqT0YhPBmr2SFWBCY=
github.com/gethinode/mod-simple-datatables v1.1.4/go.mod h1:8q/6f3uAPNTTP5NjEJOuXr6tEWelRFLJfzVJ3AODMlQ=
github.com/gethinode/mod-utils v1.0.0 h1:cqHm2xS5uDiJzRm1KfHaNbq6uMVDKLhQa8/BuTZ1nhY=
github.com/gethinode/mod-utils v1.0.0/go.mod h1:ONJm3pHCq7nvaPNjusLZNCeCbhOhSBH4HVKHwK1FdYE=
github.com/gethinode/mod-utils v1.0.1 h1:jhZGlGFHHL1f5HXbBMXfiZ2gCz4TVafAzjnRPTIBSEE=
@@ -300,6 +340,12 @@ github.com/gethinode/mod-utils/v2 v2.8.0 h1:BdB+onItuO29g5ZLEz/HEwq9c4xBEM4GGqQc
github.com/gethinode/mod-utils/v2 v2.8.0/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
github.com/gethinode/mod-utils/v2 v2.8.1 h1:u7sFbgJ5sBEMYC/GwcMRyjRAd5NxTjBnbld5b0V5n98=
github.com/gethinode/mod-utils/v2 v2.8.1/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
github.com/gethinode/mod-utils/v2 v2.8.2 h1:rKndAMmRBSO5Cgoa/2CvF5XchDSvLvd4TYAbfbbQVhE=
github.com/gethinode/mod-utils/v2 v2.8.2/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
github.com/gethinode/mod-utils/v2 v2.8.3 h1:t1MJcIdFhYi0gCkm8f0DYZwyfq7pRdRc0eNpqZa11ic=
github.com/gethinode/mod-utils/v2 v2.8.3/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
github.com/gethinode/mod-utils/v2 v2.8.4 h1:ZBkIxFezFz2IrbTt0Y3Nq5ac7klU5N8TY19Qnj5px4M=
github.com/gethinode/mod-utils/v2 v2.8.4/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/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg=

View File

@@ -155,3 +155,7 @@
translation: Tipp
- id: warning
translation: Warnung
# Image
- id: image
translation: Bild

View File

@@ -160,4 +160,8 @@
- id: tip
translation: Tip
- id: warning
translation: Warning
translation: Warning
# Image
- id: image
translation: image

View File

@@ -149,3 +149,19 @@
translation: "Commentaire"
- id: supportedValues
translation: "Valeurs supportées"
# Alerts
- id: caution
translation: Prudence
- id: important
translation: Important
- id: note
translation: Remarque
- id: tip
translation: Astuce
- id: warning
translation: Attention
# Image
- id: image
translation: image

View File

@@ -160,3 +160,7 @@
translation: Tip
- id: warning
translation: Waarschuwing
# Image
- id: image
translation: Bild

View File

@@ -6,7 +6,7 @@
{{ $toc := .Render "single/panel-toc" }}
{{ with $sidebar }}
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvass-sidebar" aria-inledby="offcanvas-label">
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvass-sidebar" aria-labelledby="offcanvas-label">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvas-label">{{ strings.FirstUpper $.Section }}</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="{{ T "close" }}"></button>
@@ -41,4 +41,4 @@
</div>
{{ end -}}
</div>
{{ end -}}
{{ end -}}

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -23,10 +23,12 @@
{{- $title := .LinkTitle -}}
{{- if .IsHome }}{{ $title = T "home" }}{{ end -}}
{{- $address := or .RelPermalink .Params.Redirect -}}
{{ if $address }}
<li class="breadcrumb-item"><a href="{{ $address }}">{{ $title }}</a></li>
{{ else }}
<li class="breadcrumb-item">{{ $title }}</li>
{{ if $title }}
{{ if $address }}
<li class="breadcrumb-item"><a href="{{ $address }}">{{ $title }}</a></li>
{{ else }}
<li class="breadcrumb-item">{{ $title }}</li>
{{ end }}
{{ end }}
{{- end -}}
<li class="breadcrumb-item active" aria-current="page">{{ $page.LinkTitle }}</li>

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -25,6 +25,9 @@
)}}
{{ end }}
<!-- Initialize global variables -->
{{- $pretty := site.Params.main.internalLinks.pretty | default false }}
<!-- Initialize local variables -->
{{ $list := $args.list }}
{{- $class := $args.class -}}
@@ -49,6 +52,11 @@
"5" (printf "(min-width: %s) 20vw, (min-width: %s) 33.3vw, 100vw" $breakpoint.currentSize $breakpoint.prevSize)
}}
{{ if not $args.responsive }}
{{ $colsMap = dict "auto" "" "1" "row-cols-1" "2" "row-cols-2" "3" "row-cols-3" "4" "row-cols-4" "5" "row-cols-5" }}
{{ $sizesMap = dict "auto" "100vw" "1" "100vw" "2" "50vw" "3" "33.3vw" "4" "25vw" "5" "20vw" }}
{{ end }}
<!-- Apply optional pagination -->
{{ $isPages := in (slice "page.Pages" "resource.Resources") (printf "%T" $list) }}
{{ $paginator := "" }}
@@ -103,7 +111,7 @@
{{- $colGrid := "" -}}
{{ if not $args.scroll }}
{{ $colGrid = index $colsMap $args.cols }}
{{ if $args.responsive }}{{ $sizes = index $sizesMap $args.cols }}{{ end }}
{{ $sizes = index $sizesMap $args.cols }}
{{ else }}
{{ if in (slice "2" "3" "4" "5") $args.cols }}
{{ $sizes = replace (printf "%.1fvw" (div 100.0 (int $args.cols))) ".0" "" }}
@@ -138,7 +146,7 @@
"style" $args.style
"align" $args.align
"button" $args.button
"buttonLabel" $args.buttonLabel
"buttonLabel" $element.buttonLabel
"buttonType" $args.buttonType
"iconRounded" $args.iconRounded
) -}}
@@ -172,7 +180,11 @@
{{- end -}}
{{ else }}
{{ if and (gt $count $max) $args.hrefTitle }}
<a class="btn btn-outline-primary mt-4" href="{{ $args.href| safeURL }}" role="button">{{ $args.hrefTitle }}</a>
{{ $href := $args.href }}
{{ if and $pretty (not (hasSuffix $href "/" )) (not (strings.Contains $href "#")) }}
{{ $href = printf "%s/" $href }}
{{ end }}
<a class="btn btn-outline-primary mt-4" href="{{ $href | safeURL }}" role="button">{{ $args.hrefTitle }}</a>
{{ end }}
{{ end }}
</div>

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -52,11 +52,12 @@
{{- $page := "" }}
{{- if .path }}
{{ $page = partial "utilities/GetPage.html" (dict "url" .path "page" page) }}
{{- if not $page }}
{{ $validate := site.Params.main.internalLinks.validate | default true }}
{{- if and $validate (not $page) }}
{{ if page.File }}
{{- errorf "partial [assets/card.html] - Cannot find target page '%s', see '%s'" .path page.File.Path -}}
{{- warnf "partial [assets/card.html] - Cannot find target page '%s', see '%s'" .path page.File.Path -}}
{{ else }}
{{- errorf "partial [assets/card.html] - Cannot find target page '%s'" .path -}}
{{- warnf "partial [assets/card.html] - Cannot find target page '%s'" .path -}}
{{ end }}
{{- end }}
{{- end }}
@@ -95,7 +96,7 @@
{{- if $href -}}
<a href="{{ $href }}" class="{{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }} stretched-link">
<p class="card-title fs-lg-5 fs-6 fw-bold">{{ $title }}</p>
<p class="card-title fs-lg-5 fs-6">{{ $title }}</p>
{{ with $description }}
<div class="card-text {{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }}">
{{ . | safeHTML }}
@@ -104,7 +105,7 @@
</a>
{{- else -}}
<div>
{{ with $title }}<p class="card-title fs-lg-5 fs-6 fw-bold">{{ . }}</p>{{ end -}}
{{ with $title }}<p class="card-title fs-lg-5 fs-6">{{ . }}</p>{{ end -}}
{{ with $description }}<div class="card-text">{{ . | safeHTML }}</div>{{ end -}}
</div>
{{- end -}}
@@ -176,7 +177,20 @@
<div class="row g-0 row-cols-2 h-100{{ if $button }} pb-5{{ end }}">
{{- if $thumbnail -}}
<div class="{{ $col1 }}">
{{- partial $hook (dict "url" $thumbnail "ratio" (or $ratio "1x1") "portrait" $portrait "sizes" $sizes "anchor" $anchor "wrapper" "h-100 card-img-wrap" "class" "rounded-start card-img-h100 card-img-bg" "title" $title "loading" $loading) -}}
{{ $fullHeight := "card-img-h100" }}
{{ $rounding := "rounded-start" }}
{{ if eq (lower (path.Ext $thumbnail)) ".svg" }}{{ $fullHeight = "" }}{{ $rounding = "" }}{{ end }}
{{- partial $hook (dict
"url" $thumbnail
"ratio" (or $ratio "1x1")
"portrait" $portrait
"sizes" $sizes
"anchor" $anchor
"wrapper" "h-100 card-img-wrap d-flex align-items-center"
"class" (printf "card-img-bg %s %s" $rounding $fullHeight)
"title" $title
"loading" $loading
) -}}
</div>
{{- else if $icon -}}
<div class="{{ $col1 }} p-{{ $padding }}">

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -20,10 +20,11 @@
{{- $ratio := .ratio -}}
{{- $portrait := .portrait -}}
{{- $loading := .loading | default "eager" -}}
{{- $title := .caption | default (T "image") -}}
<!-- Main code -->
<div class="carousel-item{{ if $active }} active{{ end }}" {{ if not $active }} fetchpriority="low"{{ end }}>
{{ partial "assets/image.html" (dict "url" $src "ratio" $ratio "page" $page "class" "d-block w-100" "portrait" $portrait "loading" $loading) }}
{{ partial "assets/image.html" (dict "url" $src "ratio" $ratio "page" $page "class" "d-block w-100" "portrait" $portrait "loading" $loading "title" $title) }}
<div class="carousel-caption gradient"></div>
{{ with $caption }}
<div class="carousel-caption d-none d-md-block">

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
-->
{{ $ratio := .ratio }}

View File

@@ -16,6 +16,7 @@
{{- $modes := .modes -}}
{{- $plain := .plain | default false }}
{{- $anchor := .anchor }}
{{- $alt := or $title $caption (T "image") }}
<!-- Split url into base and anchor when applicable (only relevant for vector images) -->
{{- $fileAnchor := "" -}}
@@ -71,7 +72,7 @@
{{ with $imgset -}}srcset="{{ . }}" sizes="{{ $sizes }}"{{- end }}
{{ with $height }}height="{{ . }}"{{ end }}
{{ with $width }}width="{{ . }}"{{ end }}
{{ with (or $title $caption) }}alt="{{ . }}"{{ end }}>
{{ with $alt }}alt="{{ . }}"{{ end }}>
{{- else }}
<svg class="{{ $class }}">
<use href="{{ $fallbackURL }}#{{ $fileAnchor }}"></use>

View File

@@ -52,10 +52,11 @@
{{- if hasSuffix $url "svg" -}}
{{- $res = partial "utilities/GetResource.html" (dict "url" $url "page" $page) -}}
{{ if not $res }}
{{- if not (fileExists (path.Join "/static" $url)) -}}
{{- $targetURL := partial "utilities/GetStaticURL" (dict "url" (strings.TrimPrefix "/static" $url)) -}}
{{- if not (fileExists (path.Join "/static" $targetURL)) -}}
{{ warnf "Cannot find vector image resource: %q" $url -}}
{{ else }}
{{ $width := string (partial "utilities/GetWidth.html" (dict "path" $url "height" 500)) }}
{{ $width := string (partial "utilities/GetWidth.html" (dict "path" $targetURL "height" 500)) }}
{{ if $width }}
{{ $dims = $dims | append (printf "%sx500" $width) }}
{{ else }}
@@ -118,7 +119,7 @@
<!-- Generate image url -->
{{ if or (hasSuffix $url "svg") $plain }}
{{- $targetURL = partial "utilities/GetStaticURL" (dict "url" $url) -}}
{{- $targetURL = partial "utilities/GetStaticURL" (dict "url" (strings.TrimPrefix "/static" $url)) -}}
{{ else }}
{{- $targetURL = partial "assets/helpers/image-set.html" (dict
"url" $url

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -13,7 +13,15 @@
{{ end }}
<!-- Initialize arguments -->
{{ $destination := strings.TrimPrefix (strings.TrimSuffix "/" site.BaseURL) .destination }}
{{ $destination := .destination }}
{{ $u := urls.Parse $destination }}
{{ if not $u.Scheme }}
{{ $b := urls.Parse site.BaseURL }}
{{ $destination = strings.TrimPrefix $b.Path $destination }}
{{ $destination = path.Clean $destination }}
{{ else }}
{{ $destination = (strings.TrimPrefix (strings.TrimSuffix "/" site.BaseURL) $destination) }}
{{ end }}
{{ if not $destination }}{{ $destination = "/" }}{{ end }}
{{- $target := "" -}}
@@ -22,6 +30,7 @@
{{- $external := .external | default false }}
{{- $cue := .cue | default site.Params.main.externalLinks.cue -}}
{{- $tab := .tab | default site.Params.main.externalLinks.tab -}}
{{- $pretty := site.Params.main.internalLinks.pretty | default false }}
{{- $isExternal := or (ne (urls.Parse (absURL $destination)).Host (urls.Parse site.BaseURL).Host) $external -}}
{{- $isLocal := hasPrefix $destination "#" -}}
{{- $page := .page -}}
@@ -60,7 +69,9 @@
{{ $ref := partial "utilities/GetPage.html" (dict "url" $destination "page" $page) }}
{{- if not $ref -}}
{{ $pageContext := "" }}
{{ with $page.File }}{{ $pageContext = path.Join "/content" .Dir }}{{ end }}
{{ with $page.File }}
{{ $pageContext = path.Dir (strings.TrimPrefix hugo.WorkingDir .Filename) }}
{{ end }}
{{ $isPageRes := fileExists (path.Join $pageContext $destination) }}
{{ $isStatic := fileExists (path.Join "static" $destination) }}
{{ if and (not $isPageRes) (not $isStatic) }}
@@ -90,6 +101,9 @@
{{ end }}
{{- if not $case }}{{ $text = lower $text }}{{ end -}}
{{ if and $pretty (not (hasSuffix $destination "/" )) (not (strings.Contains $destination "#")) }}
{{ $destination = printf "%s/" $destination }}
{{ end }}
{{- end -}}
{{ if not $error -}}

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,6 +1,6 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -52,47 +52,50 @@
<div class="d-none d-lg-block">
{{ end }}
<div class="nav{{ with $type }} nav-{{ . }}{{ end }}{{ with $class }} {{ . }}{{ end }}{{ if $vertical }} flex-column{{ end }}" id="nav-{{ $id }}" role="tablist"{{ if $vertical }} aria-orientation="vertical"{{ end }}>
<ul class="nav{{ with $type }} nav-{{ . }}{{ end }}{{ with $class }} {{ . }}{{ end }}{{ if $vertical }} flex-column{{ end }}" id="nav-{{ $id }}" role="tablist"{{ if $vertical }} aria-orientation="vertical"{{ end }}>
{{- range $index, $item := $list -}}
{{ $show := eq $index 0}}
<button class="nav-link {{ if not $wrap }} text-nowrap{{ end }}{{ if $show }} active{{ end }}" id="nav-{{ $id }}-btn-{{ $index }}" data-bs-toggle="pill" data-bs-target="#nav-{{ $id }}-{{ $index }}"
type="button" role="tab" aria-controls="nav-{{ $id }}-{{ $index }}" aria-selected="{{ if eq $index 0 }}true{{ else }}false{{ end }}">
{{ $item.Title }}
</button>
<li class="nav-item" role="presentation">
<button class="nav-link {{ if not $wrap }} text-nowrap{{ end }}{{ if $show }} active{{ end }}" id="nav-{{ $id }}-btn-{{ $index }}" data-bs-toggle="pill" data-bs-target="#nav-{{ $id }}-{{ $index }}"
type="button" role="tab" aria-controls="nav-{{ $id }}-{{ $index }}" aria-selected="{{ if eq $index 0 }}true{{ else }}false{{ end }}">
{{ $item.Title }}
</button>
</li>
{{ end -}}
</ul>
<div class="tab-content {{ if eq $type "tabs" }}border border-bottom-0 p-3{{ else if $vertical }}ms-3{{ else }}mt-3{{ end }}">
{{ range $index, $item := $list }}
{{ $header := $item.Title }}
{{ $body := $item.Content }}
{{ $show := eq $index 0}}
{{- $thumbnail := "" -}}
{{ if reflect.IsMap $item.Params.Thumbnail }}{{ $thumbnail = $item.Params.Thumbnail.url }}{{ else }}{{ $thumbnail = $item.Params.Thumbnail }}{{ end }}
<div class="tab-pane{{ if $show }} active{{ end }}" id="nav-{{ $id }}-{{ $index }}" role="tabpanel" aria-labelledby="{{ $id }}-btn-{{ $index }}" tabindex="0">
{{- if eq $pane "persona" -}}
{{- partial "assets/persona.html" (dict
"title" $item.Title
"class" $class
"color" $color
"content" (partial "utilities/GetDescription.html" (dict "page" $item))
"thumbnail" $thumbnail
) -}}
{{- else -}}
{{ $illustration := (partial "utilities/GetIllustration.html" (dict "item" $item)) }}
{{ if $illustration }}
<div class="row">
<div class="col-12 col-lg-10 order-1 order-lg-0">{{- (or $item.Description $item.Content) -}}</div>
<div class="col-12 col-lg-2 order-0 order-lg-1">{{ $illustration | safeHTML }}</div>
</div>
{{ else }}
{{- (or $item.Description $item.Content) -}}
{{ end }}
{{- end -}}
</div>
{{ end }}
</div>
<div class="tab-content {{ if eq $type "tabs" }}border border-bottom-0 p-3{{ else if $vertical }}ms-3{{ else }}mt-3{{ end }}">
{{ range $index, $item := $list }}
{{ $header := $item.Title }}
{{ $body := $item.Content }}
{{ $show := eq $index 0}}
{{- $thumbnail := "" -}}
{{ if reflect.IsMap $item.Params.Thumbnail }}{{ $thumbnail = $item.Params.Thumbnail.url }}{{ else }}{{ $thumbnail = $item.Params.Thumbnail }}{{ end }}
<div class="tab-pane{{ if $show }} active{{ end }}" id="nav-{{ $id }}-{{ $index }}" role="tabpanel" aria-labelledby="{{ $id }}-btn-{{ $index }}" tabindex="0">
{{- if eq $pane "persona" -}}
{{- partial "assets/persona.html" (dict
"title" $item.Title
"class" $class
"color" $color
"href" $item.Params.href
"content" (partial "utilities/GetDescription.html" (dict "page" $item))
"thumbnail" $thumbnail
) -}}
{{- else -}}
{{ $illustration := (partial "utilities/GetIllustration.html" (dict "item" $item)) }}
{{ if $illustration }}
<div class="row">
<div class="col-12 col-lg-10 order-1 order-lg-0">{{- (or $item.Description $item.Content) -}}</div>
<div class="col-12 col-lg-2 order-0 order-lg-1">{{ $illustration | safeHTML }}</div>
</div>
{{ else }}
{{- (or $item.Description $item.Content) -}}
{{ end }}
{{- end -}}
</div>
{{ end }}
</div>
{{ if eq $type "callout" }}</div>{{ end }}
{{ if $vertical }}</div>{{ end }}
</div>
</div>

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -85,10 +85,10 @@
"size" "sm"
)}}
{{ else }}
<a class="{{ $anchorClass }}{{ if $isActive }} active{{ end }}{{ with $class }} {{ . }}{{ end }}"
{{ cond (ne $menuURL "") "<a" "<div" | safeHTML }} class="{{ $anchorClass }}{{ if $isActive }} active{{ end }}{{ with $class }} {{ . }}{{ end }}"
{{ if $isIcon }}aria-label="{{ $menu.Name }}"{{ end }}
data-nav="main" data-nav-main="{{ $mainNav }}"{{ with $childNav }} data-nav-child="{{ . }}"{{ end }}
{{ if $menuURL }} href="{{ $menuURL }}{{ $params | safeHTMLAttr }}"{{ with $externalHref }} {{ . | safeHTMLAttr }}{{ end }}{{ end }} {{ $button | safeHTMLAttr }}>
{{ if $menuURL }} href="{{ $menuURL }}{{ $params | safeHTML }}"{{ with $externalHref }} {{ . | safeHTML }}{{ end }}{{ end }} {{ $button | safeHTML }}>
{{- with $menu.Pre }}
{{ if hasPrefix . "<i" }}
@@ -100,6 +100,6 @@
<span {{ if $isActive }} class="active"{{ end }}>{{ if or (not $isIcon) $plain }}{{ $menu.Name }}{{ end }}</span>
{{- with $menu.Post }}{{ . }}{{ end -}}
{{- if not $isIcon }}&nbsp;{{ $suffix }}{{ end -}}
</a>
{{ cond (ne $menuURL "") "</a>" "</div>" | safeHTML }}
{{ end }}
{{ end }}

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -18,14 +18,14 @@
{{- define "partials/navbar-mode.html" -}}
{{- $id := .id | default "navbar-mode" -}}
<div class="d-flex mode-switch align-items-center" id="{{ $id }}">
<input type="checkbox" class="checkbox navbar-mode-selector" id="{{ $id }}-checkbox" />
<li class="d-flex mode-switch align-items-center" id="{{ $id }}">
<input type="checkbox" class="checkbox navbar-mode-selector" id="{{ $id }}-checkbox" aria-label="{{ T "colorMode" }}" />
<label class="label" for="{{ $id }}-checkbox">
{{- partial "assets/icon.html" (dict "icon" "fas sun fa-fw" "spacing" false) }}
{{- partial "assets/icon.html" (dict "icon" "fas moon fa-fw" "spacing" false) }}
<div class="ball"></div>
</label>
</div>
</li>
{{- end -}}
<!-- Inline partial to render the version switcher -->
@@ -39,7 +39,7 @@
{{- $version := partial "utilities/GetVersion.html" (dict "page" $page) -}}
<li class="nav-item dropdown {{ if $collapsed }}d-{{ $size }}-none{{ else }}d-none d-{{ $size }}-block{{ end }}">
<a class="nav-link dropdown-toggle" href="#!" role="button" data-bs-toggle="dropdown" aria-expanded="false" id="{{ $id }}-version-switch">
<a class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false" id="{{ $id }}-version-switch">
{{ if $collapsed }}{{ site.Title }} {{ end }}{{ $version }}
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="{{ $id }}-version-switch">
@@ -263,10 +263,10 @@
{{- if $enableLanguage -}}
{{- $currentLang := $page.Language.Lang -}}
<li class="nav-item dropdown me-auto">
<a class="nav-link dropdown-toggle d-{{ $size }}-none" href="#!" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
<a class="nav-link dropdown-toggle d-{{ $size }}-none" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
{{- partial "assets/icon.html" (dict "icon" "fas globe fa-fw" "spacing" false) }}&nbsp;{{ T "languageSwitcherLabel" }}
</a>
<a class="nav-link dropdown-toggle d-none d-{{ $size }}-block" href="#!" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
<a class="nav-link dropdown-toggle d-none d-{{ $size }}-block" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
{{- partial "assets/icon.html" (dict "icon" "fas globe fa-fw" "spacing" false) }}
</a>
<ul class="dropdown-menu dropdown-menu-end " id="language-selector">
@@ -295,12 +295,16 @@
</li>
<li><hr class="dropdown-divider-bg"></li>
<a class="nav-link d-{{ $size }}-none" href="#!" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
<li class="d-{{ $size }}-none">
<a class="nav-link" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
{{ partial "assets/icon.html" (dict "icon" "fas magnifying-glass fa-fw") }}&nbsp;{{ T "ui_search" }}
</a>
<a class="nav-link d-none d-{{ $size }}-block" href="#!" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
</a>
</li>
<li class="d-none d-{{ $size }}-block">
<a class="nav-link" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
{{ partial "assets/icon.html" (dict "icon" "fas magnifying-glass fa-fw") }}
</a>
</a>
</li>
{{ end -}}
</ul>
</div>

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -21,7 +21,7 @@
<!-- Main code -->
{{- if and (not $error) $pageAlertMsg -}}
<div id="page-alert" class="alert alert-primary alert-no-decoration fade show d-flex align-items-center small m-0 py-1" data-page-alert-version="{{ $version }}">
<a href="{{ with $pageAlertURL }}{{ . }}{{ else }}#!{{ end }}" class="text-decoration-none flex-grow-1 text-center">{{ $pageAlertMsg }}</a>
<a {{ with $pageAlertURL }}href="{{ . }}"{{ end }} class="text-decoration-none flex-grow-1 text-center">{{ $pageAlertMsg }}</a>
<button id="page-alert-btn-close" type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ T "close" }}"></button>
</div>
{{- end -}}

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -52,14 +52,14 @@
{{- if .clipboard -}}
{{- $target = (printf "toast-message-%s-%d" (anchorize $item.name) $index ) -}}
{{- $clipboard = $url -}}
{{- $url = "#!" -}}
{{- $url = "" -}}
{{- partial "assets/toast.html" (dict "id" $target "message" (printf "%s %s" (T "link") (T "copiedToClipboard"))) -}}
{{- end -}}
{{ partial "assets/button.html" (dict "toast" $target "clipboard" $clipboard "href" $url "icon" (printf "%s fa-fw" $item.icon) "class" "btn-social p-0" "label" (T "shareLink" $item.name) "spacing" false) }}
{{- end -}}
{{ if $page.Site.Params.sharing.webshare }}
{{ $attr := dict "data-sharing-title" .Title "data-sharing-description" .Description "data-sharing-url" .Permalink }}
{{ partial "assets/button.html" (dict "href" "#!" "icon" "fas share-nodes fa-fw" "id" "btn-webshare" "class" "btn-social p-0" "attributes" $attr "label" (T "shareLink" (T "shareSystem")) "spacing" false) }}
{{ $attr := dict "data-sharing-title" $page.Title "data-sharing-description" $page.Description "data-sharing-url" $page.Permalink }}
{{ partial "assets/button.html" (dict "href" "" "icon" "fas share-nodes fa-fw" "class" "btn-social p-0" "attributes" $attr "label" (T "shareLink" (T "shareSystem")) "spacing" false) }}
{{- end -}}
{{ with $download }}
{{ $label := (T "download" ) }}

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -10,7 +10,8 @@
{{ $sortable := .sortable | default false }}
{{ $paging := .paging | default false }}
{{ $searchable := .searchable | default false }}
{{ $pagingOptionPerPage := .pagingOptionPerPage }}
{{ $pagingOptionPerPageSelect := .pagingOptionPerPageSelect }}
{{- $responsiveVals := slice "table-responsive" "table-responsive-none" "table-responsive-sm" "table-responsive-md" "table-responsive-lg" "table-responsive-xl" "table-responsive-xxl" -}}
{{- $responsive := intersect $args $responsiveVals -}}
{{- $main := complement $responsive $args -}}
@@ -30,7 +31,11 @@
{{ $attributes := "" }}
{{ if $sortable }}{{ $attributes = printf "%s data-table-sortable=true" $attributes }}{{ end }}
{{ if $paging }}{{ $attributes = printf "%s data-table-paging=true" $attributes }}{{ end }}
{{ if $paging }}
{{ $attributes = printf "%s data-table-paging=true" $attributes }}
{{ $attributes := printf "%s data-table-paging-option-perPage=%s" $attributes $pagingOptionPerPage }}
{{ if (ne $pagingOptionPerPageSelect "") }}{{ $attributes := printf "%s data-table-paging-option-perPageSelect=%d" $attributes $pagingOptionPerPageSelect }}{{ end }}
{{ end }}
{{ if $searchable }}{{ $attributes = printf "%s data-table-searchable=true" $attributes }}{{ end }}
{{- $new := printf `<table class="%s" %s` $target (trim $attributes " ") -}}

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->
@@ -121,7 +121,7 @@
{{ if not $error }}
<!-- include external scripts first -->
{{ range $mod, $cfg := $config.modules }}
{{ if eq (index $cfg "integration") $args.type }}
{{ if in $modules $mod }}
{{ if or (index $cfg "local") (not hugo.IsServer) }}
{{ with index $cfg "url" }}
{{ partial "templates/script.html" (dict "link" . "category" (index $cfg "category") "state" (index $cfg "state")) }}

View File

@@ -46,7 +46,7 @@
{{ if eq .Kind "404" -}}
<meta name="robots" content="noindex, follow">
{{ else }}
{{ with .Params.robots -}}
{{ with or .Params.robots .Params.meta.robots -}}
<meta name="robots" content="{{ . }}">
{{ else -}}
<meta name="robots" content="index, follow">
@@ -71,8 +71,6 @@
{{ if .Paginator.HasNext -}}
<link rel="next" href="{{ .Paginator.Next.URL | absURL }}">
{{ end -}}
{{ else -}}
<link rel="canonical" href="{{ .Permalink }}">
{{ end -}}
{{ partial "head/opengraph.html" . }}

View File

@@ -34,7 +34,7 @@
"name": "{{ .Site.Params.schema.name }}",
"url": {{ print $baseURL }},
"sameAs": {{ $alt | uniq | complement (slice "") }},
{{ if eq .Site.Params.schemaType "Organization" -}}
{{ if eq .Site.Params.schema.type "Organization" -}}
"logo": {
"@type": "ImageObject",
"@id": {{ print $baseURL "#/schema/image/1"}},
@@ -200,4 +200,4 @@
]
}
</script>
</script>

View File

@@ -1,8 +1,12 @@
{{- $transpiler := site.Params.main.build.transpiler | default "libsass" -}}
{{- $silence := slice -}}
{{- $supportedTranspilers := slice "libsass" "dartsass" -}}
{{- if not (in $supportedTranspilers $transpiler) -}}
{{- errorf "partial [head/stylesheet.html] - Invalid value for param 'transpiler': %s" $transpiler -}}
{{- end -}}
{{- if site.Params.main.build.silenceDeprecations -}}
{{- $silence = (slice "import" "mixed-decls" "color-functions" "global-builtin") -}}
{{- end -}}
{{- $absoluteURL := site.Params.main.canonifyAssetsURLs | default false -}}
{{- $source := .source }}
@@ -62,7 +66,7 @@
"dark-mode-tint" (default "0%" site.Params.style.darkModeTint)
-}}
{{- $options := (dict "transpiler" $transpiler "targetPath" $target "enableSourceMap" (not hugo.IsProduction) "vars" $vars) -}}
{{- $options := (dict "transpiler" $transpiler "silenceDeprecations" $silence "targetPath" $target "enableSourceMap" (not hugo.IsProduction) "vars" $vars) -}}
{{- $bundle := partial "utilities/bundle.html" (dict "match" $source "filename" (printf "scss/bundle-%d.scss" now.UnixNano) "modules" $modules "basepath" "scss" "debugging" site.Params.debugging.showSCSS) -}}
{{- if gt ($bundle.Content | len) 0 }}

View File

@@ -3,13 +3,15 @@
{{- with .wrapper }}{{ $wrapper = printf "img-wrap %s" . }}{{ end -}}
{{ $class := "rounded" }}
{{ with .class }}{{ $class = . }}{{ end }}
{{- $ratio := .ratio | default "21x9" -}}
{{- $ratio := .ratio | default (site.Params.thumbnails.ratio | default "21x9") -}}
{{- $thumbnail := "" -}}
{{- $anchor := "" -}}
{{- $credits := "" -}}
{{ $figclass := .figclass }}
{{- if reflect.IsMap $page.Params.Thumbnail -}}
{{- $thumbnail = $page.Params.Thumbnail.url -}}
{{- $anchor = $page.Params.Thumbnail.anchor }}
{{- $author := "" -}}
{{- if and $page.Params.Thumbnail.authorURL "text" $page.Params.Thumbnail.author }}
{{- $author = partial "assets/link.html" (dict "destination" $page.Params.Thumbnail.authorURL "text" $page.Params.Thumbnail.author "page" $page) -}}
@@ -38,5 +40,15 @@
{{- end -}}
{{ if $thumbnail -}}
{{- partial "assets/image.html" (dict "url" $thumbnail "ratio" $ratio "wrapper" $wrapper "class" $class "title" $page.Params.title "caption" $credits "figclass" $figclass "priority" "high") -}}
{{ end -}}
{{- partial "assets/image.html" (dict
"url" $thumbnail
"anchor" $anchor
"ratio" $ratio
"wrapper" $wrapper
"class" $class
"title" $page.Params.title
"caption" $credits
"figclass" $figclass
"priority" "high"
) -}}
{{ end -}}

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,7 +1,7 @@
{{ with .module }}
{{- $dependencies := page.Scratch.Get "dependencies" -}}
{{- if reflect.IsSlice $dependencies -}}
{{- $dependencies = complement $dependencies . -}}
{{- $dependencies = complement $dependencies (slice .) -}}
{{ else }}
{{- $dependencies = slice . -}}
{{ end }}

4
layouts/robots.txt Normal file
View File

@@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: {{ urls.JoinPath .Site.BaseURL "sitemap.xml" }}

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

View File

@@ -1,5 +1,5 @@
<!--
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
-->

Some files were not shown because too many files have changed in this diff Show More