Compare commits

...

23 Commits

Author SHA1 Message Date
Mark Dumay
b3c0b7a4e8 Merge pull request #839 from gethinode/develop
Finalize release v0.23.0
2024-03-17 05:52:04 +01:00
Mark Dumay
3705aea23d Merge branch 'main' into develop 2024-03-17 05:36:04 +01:00
Mark Dumay
5a7f215604 Bump package release 2024-03-17 05:35:02 +01:00
Mark Dumay
2608545104 Bump Hugo bin 2024-03-17 05:34:45 +01:00
Mark Dumay
a78361ec9f Update Netlify build environment 2024-03-17 05:33:47 +01:00
Mark Dumay
9b79092328 Merge pull request #838 from gethinode/develop
Bump package release
2024-03-15 10:20:45 +01:00
Mark Dumay
41198b04be Merge branch 'main' into develop 2024-03-15 10:14:41 +01:00
Mark Dumay
c4684f0073 Bump package release 2024-03-15 10:14:04 +01:00
Mark Dumay
063cabc610 Merge pull request #837 from gethinode/develop
Fix icon path
2024-03-15 10:09:38 +01:00
Mark Dumay
72304ff12e Merge branch 'main' into develop 2024-03-15 10:02:40 +01:00
Mark Dumay
d7e0aacd9a Fix icon path 2024-03-15 10:02:07 +01:00
Mark Dumay
3add028519 Merge pull request #836 from gethinode/develop
Fix icon resource handling
2024-03-15 06:58:14 +01:00
Mark Dumay
1ef26ef98b Merge branch 'main' into develop 2024-03-15 06:40:58 +01:00
Mark Dumay
5d56f2bd01 Merge pull request #835 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-03-15 06:40:34 +01:00
Mark Dumay
71c57b277b Bump package release 2024-03-15 06:40:16 +01:00
Mark Dumay
38afd31cff Fix icon resource handling 2024-03-15 06:39:53 +01:00
markdumay
7a460ca0de fix: update Hugo module dependencies 2024-03-15 03:17:58 +00:00
Mark Dumay
f3d5fef59d Merge pull request #833 from deining/fix-typo
Fix typo
2024-03-14 20:29:54 +01:00
Andreas Deininger
10f1519c33 Fix typo 2024-03-14 19:26:34 +01:00
Mark Dumay
aecb6d45ff Merge pull request #830 from gethinode/develop
Enable markdown content for card body
2024-03-14 16:42:19 +01:00
Mark Dumay
1c763939b9 Merge branch 'main' into develop 2024-03-14 16:35:21 +01:00
Mark Dumay
fbabf9c02c Bump package release 2024-03-14 16:34:47 +01:00
Mark Dumay
d584761891 Enable markdown content for card body 2024-03-14 16:34:18 +01:00
8 changed files with 19 additions and 19 deletions

View File

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

2
go.mod
View File

@@ -5,7 +5,7 @@ go 1.19
require (
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
github.com/gethinode/mod-bootstrap v1.2.5 // indirect
github.com/gethinode/mod-flexsearch v1.9.0 // indirect
github.com/gethinode/mod-flexsearch v1.10.0 // indirect
github.com/gethinode/mod-fontawesome v1.8.1 // indirect
github.com/gethinode/mod-katex v1.0.7 // indirect
github.com/gethinode/mod-leaflet v1.0.0 // indirect

2
go.sum
View File

@@ -50,6 +50,8 @@ github.com/gethinode/mod-flexsearch v1.8.1 h1:xwPvmmxd8Tdyxp8/rnd9KRGqIDtZs/YwAQ
github.com/gethinode/mod-flexsearch v1.8.1/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-flexsearch v1.9.0 h1:AE+w7QeZTxh36JNTG+CASDLxaqlCZKn+EUD6ulnPGak=
github.com/gethinode/mod-flexsearch v1.9.0/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
github.com/gethinode/mod-flexsearch v1.10.0 h1:ymlHu5G2635D/h2axG4jgpGS+Vvtzxg07SZX8pJOJSo=
github.com/gethinode/mod-flexsearch v1.10.0/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
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=

View File

@@ -76,12 +76,12 @@
{{- if $href -}}
<a href="{{ $href }}" class="{{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }} stretched-link">
<p class="card-title fs-5 fw-bold">{{ $title }}</p>
{{ with $description }}<p class="card-text {{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }}">{{ . }}</p>{{ end -}}
{{ with $description }}<div class="card-text {{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }}">{{ . | page.RenderString | safeHTML }}</div>{{ end -}}
</a>
{{- else -}}
<div>
{{ with $title }}<p class="card-title fs-5 fw-bold">{{ . }}</p>{{ end -}}
{{ with $description }}<p class="card-text">{{ . }}</p>{{ end -}}
{{ with $description }}<div class="card-text">{{ . | page.RenderString | safeHTML }}</div>{{ end -}}
</div>
{{- end -}}
{{- end -}}

View File

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

View File

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

12
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@gethinode/hinode",
"version": "0.23.0-rc.1",
"version": "0.23.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@gethinode/hinode",
"version": "0.23.0-rc.1",
"version": "0.23.0",
"license": "MIT",
"devDependencies": {
"@fullhuman/postcss-purgecss": "^5.0.0",
@@ -20,7 +20,7 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"hugo-bin": "^0.120.8",
"hugo-bin": "^0.121.0",
"markdownlint-cli2": "^0.12.1",
"netlify-plugin-hugo-cache-resources": "^0.2.1",
"npm-run-all": "^4.1.5",
@@ -4376,9 +4376,9 @@
"dev": true
},
"node_modules/hugo-bin": {
"version": "0.120.8",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.120.8.tgz",
"integrity": "sha512-i6JVZikfFLysMnpFw/N5/pq9Lx4ozNk3FzeHwDA5hahZfwHMf2ocJSDlKaFdohrRtefuUeLxXOSUwCZ0CJ9tzQ==",
"version": "0.121.0",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.121.0.tgz",
"integrity": "sha512-oftq6x7h8lKhGe4W2WiTLm38GNqGUqWgXoWjTjMHXkoDe7gizJHPpt9tzX5USlcEJ62vbfsVP+5yPVZxxzvxlw==",
"dev": true,
"funding": [
{

View File

@@ -1,6 +1,6 @@
{
"name": "@gethinode/hinode",
"version": "0.23.0-rc.1",
"version": "0.23.0",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [
"hugo",
@@ -78,7 +78,7 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"hugo-bin": "^0.120.8",
"hugo-bin": "^0.121.0",
"markdownlint-cli2": "^0.12.1",
"netlify-plugin-hugo-cache-resources": "^0.2.1",
"npm-run-all": "^4.1.5",