Skip to content

Commit

Permalink
Add hugo caching
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel committed Jan 20, 2025
1 parent 1dc8dc4 commit a25b207
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<<<<<<< HEAD
[build]
publish = "public"

Expand All @@ -12,12 +11,6 @@
srcdir = "public"

[[plugins]]
=======
[[plugins]]
package = "netlify-plugin-image-optim"

[[plugins]]
>>>>>>> 362585c37 (Inline critical css)
# https://github.com/philhawksworth/netlify-plugin-minify-html#readme
package = "netlify-plugin-minify-html"

Expand All @@ -37,3 +30,23 @@
removeComments = true
collapseInlineTagWhitespace = true

[[plugins]]
# https://github.com/cdeleeuwe/netlify-plugin-submit-sitemap#readme
package = "netlify-plugin-submit-sitemap"

[plugins.inputs]

# The base url of your site (optional, default = main URL set in Netlify)
baseUrl = "https://docs.viam.com"

# Path to the sitemap URL (optional, default = /sitemap.xml)
sitemapPath = "/sitemap.xml"

# Time in seconds to not submit the sitemap after successful submission
ignorePeriod = 0

# Enabled providers to submit sitemap to (optional, default = 'google', 'yandex'). Possible providers are currently only 'google', 'yandex'.
providers = [
"google",
"yandex"
]

0 comments on commit a25b207

Please sign in to comment.