Compare commits

...

52 Commits

Author SHA1 Message Date
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
15 changed files with 750 additions and 427 deletions

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

@@ -287,6 +287,16 @@ As an example, the following shortcode displays a vector image with a symbol ref
{{< /example >}}
{{% 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.

View File

@@ -22,6 +22,7 @@
"iframe",
"img",
"input",
"ins",
"label",
"li",
"link",
@@ -315,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",
@@ -500,7 +501,7 @@
"badge",
"barre-de-navigation",
"blog",
"body-docs-collapse-15",
"body-docs-collapse-41",
"body-file-collapse-1",
"bouton",
"breadcrumb",
@@ -517,6 +518,8 @@
"collapse",
"collapse-1",
"command-prompt",
"comment-nous-partageons-vos-informations",
"comment-utilisons-nous-les-cookies-",
"cookies-etc",
"custom-activity",
"data-tables",
@@ -557,13 +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",
@@ -572,11 +576,13 @@
"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",
@@ -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,8 +627,11 @@
"toast-message-email-4",
"toc-collapse",
"tooltip",
"types-de-cookies-que-nous-utilisons",
"types-of-cookies-we-use",
"video",
"vidéo",
"vos-droits",
"what-are-cookies",
"your-rights"
]

10
go.mod
View File

@@ -5,15 +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-csp v1.0.4 // 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.1.4 // 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.2.0 // indirect
github.com/gethinode/mod-lottie v1.5.11 // indirect
github.com/gethinode/mod-simple-datatables v1.1.3 // indirect
github.com/gethinode/mod-utils/v2 v2.8.3 // 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
)

10
go.sum
View File

@@ -34,6 +34,8 @@ github.com/gethinode/mod-csp v1.0.3 h1:tRmnuVZ3UpCc9HR8qsAwbU0OJ/UsNVSbse0SZuwGc
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=
@@ -146,6 +148,8 @@ github.com/gethinode/mod-google-analytics v1.1.3 h1:24qxV5vKIex3zSdow+5r0o8rox1l
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=
@@ -242,6 +246,8 @@ github.com/gethinode/mod-lottie v1.5.10 h1:tYFgk74T9zWy2FRkfkRI+8QVQy6lnuABnTeWQ
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=
@@ -272,6 +278,8 @@ github.com/gethinode/mod-simple-datatables v1.1.1 h1:rzX3+rsOfcW9Z8wiQ1Fp6Ry5Tkc
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=
@@ -336,6 +344,8 @@ github.com/gethinode/mod-utils/v2 v2.8.2 h1:rKndAMmRBSO5Cgoa/2CvF5XchDSvLvd4TYAb
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

@@ -177,7 +177,19 @@
<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" }}
{{ if eq (lower (path.Ext $thumbnail)) ".svg" }}{{ $fullHeight = "" }}{{ 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 "rounded-start card-img-bg %s" $fullHeight)
"title" $title
"loading" $loading
) -}}
</div>
{{- else if $icon -}}
<div class="{{ $col1 }} p-{{ $padding }}">

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

@@ -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">
@@ -296,12 +296,12 @@
<li><hr class="dropdown-divider-bg"></li>
<li class="d-{{ $size }}-none">
<a class="nav-link" href="#!" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
<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>
</li>
<li class="d-none d-{{ $size }}-block">
<a class="nav-link" href="#!" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
<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>
</li>

View File

@@ -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

@@ -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" $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) }}
{{ 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

@@ -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

@@ -5,11 +5,13 @@
{{ with .class }}{{ $class = . }}{{ end }}
{{- $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") -}}
{{- 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

@@ -0,0 +1,24 @@
<!--
Copyright © 2024 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.
-->
{{ $error := false -}}
{{ $args := partial "utilities/InitArgs.html" (dict "structure" "ins" "args" .Params) }}
{{ if $args.err }}
{{ partial "utilities/LogErr.html" (dict
"partial" "shortcodes/ins.html"
"msg" "Invalid arguments"
"details" $args.errmsg
"file" page.File
)}}
{{ end }}
{{ $text := .Inner | default "" }}
<!-- Main code -->
{{- if not $error -}}
<ins>{{ $text | strings.TrimSpace | .Page.RenderString }}</ins>
{{- end -}}

1033
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@gethinode/hinode",
"version": "0.27.9",
"version": "0.27.14",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [
"hugo",
@@ -69,27 +69,27 @@
},
"homepage": "https://gethinode.com",
"dependencies": {
"@fullhuman/postcss-purgecss": "^6.0.0",
"@fullhuman/postcss-purgecss": "^7.0.2",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
"cssnano-preset-advanced": "^7.0.6",
"hugo-bin": "0.136.0",
"hugo-bin": "0.137.0",
"purgecss-whitelister": "^2.4.0"
},
"devDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0",
"cpy-cli": "^5.0.0",
"eslint": "^9.15.0",
"markdownlint-cli2": "^0.15.0",
"neostandard": "^0.11.8",
"eslint": "^9.17.0",
"markdownlint-cli2": "^0.16.0",
"neostandard": "^0.12.0",
"netlify-plugin-hugo-cache-resources": "^0.2.1",
"npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.0",
"replace-in-files-cli": "^3.0.0",
"rimraf": "^6.0.1",
"shx": "^0.3.4",
"stylelint": "^16.10.0",
"stylelint-config-standard-scss": "^13.1.0"
"stylelint": "^16.12.0",
"stylelint-config-standard-scss": "^14.0.0"
},
"optionalDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0",