Skip to content

Commit

Permalink
fix: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Jul 30, 2023
1 parent 51178d9 commit 3b7e307
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .frontmatter/config/custom/scripts/screenshot.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://frontmatter.codes/config/custom.scripts.schema.json",
"command": "~/.config/nvm/versions/node/v18.12.1/bin/node",
"command": "~/.nvm/versions/node/v20.4.0/bin/node",
"script": "./.frontmatter/scripts/screenshot-header-image.js",
"title": "Retrieve Screenshot"
}
2 changes: 1 addition & 1 deletion .frontmatter/config/custom/scripts/unsplash.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://frontmatter.codes/config/custom.scripts.schema.json",
"command": "~/.config/nvm/versions/node/v18.12.1/bin/node",
"command": "~/.nvm/versions/node/v20.4.0/bin/node",
"script": "./.frontmatter/scripts/retrieve-unsplash-header-image-info.js",
"title": "Retrieve Unsplash image"
}
2 changes: 1 addition & 1 deletion .frontmatter/config/custom/scripts/youtube.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "https://frontmatter.codes/config/custom.scripts.schema.json",
"title": "Generate social image for Youtube",
"script": "./.frontmatter/scripts/create-youtube-header-image.js",
"command": "~/.config/nvm/versions/node/v18.12.1/bin/node",
"command": "~/.nvm/versions/node/v20.4.0/bin/node",
"type": "content"
}
2 changes: 2 additions & 0 deletions bin/hugo/server
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ if [ -f "$FILE" ]; then
set +a
fi

rm -rf public

# cleanup hugo logging
# npm run clean:hugo

Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ NODE_ENV = "development"
directory = "assets/functions"

[[plugins]]
package = "/bin/netlify/plugins/hugo-helper"
package = "./bin/netlify/plugins/hugo-helper"

[plugins.inputs]
debug = false
Expand Down

0 comments on commit 3b7e307

Please sign in to comment.