Merge branch 'main' into dependabot/npm_and_yarn/hugo-bin-0.120.8

This commit is contained in:
Mark Dumay
2024-03-13 07:35:03 +01:00
committed by GitHub
4 changed files with 8 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
{{- $minimal := .minimal | default false -}} {{- $minimal := .minimal | default false -}}
{{- if and $download (not (fileExists (path.Join "static" $download))) -}} {{- if and $download (not (fileExists (path.Join "static" $download))) -}}
{{- errorf "Cannot find download file for page '%s': %s" page.File.Path $download -}} {{- warnf "Cannot find download file for page '%s': %s" page.File.Path $download -}}
{{- end -}} {{- end -}}
{{ with $download }} {{ with $download }}

View File

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

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.23.0-beta9", "version": "0.23.0-rc.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.23.0-beta9", "version": "0.23.0-rc.1",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@fullhuman/postcss-purgecss": "^5.0.0", "@fullhuman/postcss-purgecss": "^5.0.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.23.0-beta9", "version": "0.23.0-rc.1",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator", "description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [ "keywords": [
"hugo", "hugo",