Compare commits

...

17 Commits

Author SHA1 Message Date
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
3 changed files with 382 additions and 293 deletions

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

654
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.11",
"version": "0.27.12",
"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.136.3",
"purgecss-whitelister": "^2.4.0"
},
"devDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0",
"cpy-cli": "^5.0.0",
"eslint": "^9.15.0",
"eslint": "^9.16.0",
"markdownlint-cli2": "^0.15.0",
"neostandard": "^0.11.8",
"neostandard": "^0.11.9",
"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.11.0",
"stylelint-config-standard-scss": "^14.0.0"
},
"optionalDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0",