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 -}}
{{- 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 -}}
{{ with $download }}

View File

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

4
package-lock.json generated
View File

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

View File

@@ -1,6 +1,6 @@
{
"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",
"keywords": [
"hugo",