mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-07 10:04:22 +00:00
Merge branch 'main' into dependabot/npm_and_yarn/hugo-bin-0.120.8
This commit is contained in:
@@ -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 }}
|
||||
|
@@ -36,6 +36,8 @@
|
||||
{{- end -}}
|
||||
|
||||
{{- range $index, $element := resources.Match "icons/**.svg" -}}
|
||||
{{- $icon := resources.Get $element | resources.ExecuteAsTemplate $element $params -}}
|
||||
{{- $icon.Publish -}}
|
||||
{{ with resources.Get $element }}
|
||||
{{- $icon := . | resources.ExecuteAsTemplate $element $params -}}
|
||||
{{- $icon.Publish -}}
|
||||
{{ end }}
|
||||
{{- end -}}
|
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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",
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user