starters: port Academic theme to Tailwind

This commit is contained in:
Splitter
2024-05-19 15:39:33 +00:00
parent cefb239da0
commit 915d9bdad1
86 changed files with 1299 additions and 1442 deletions

View File

@@ -1,19 +1,19 @@
[build]
command = "hugo --gc --minify -b $URL"
command = "hugo --gc --minify -b $URL && npx pagefind --source 'public'"
publish = "public"
[build.environment]
HUGO_VERSION = "0.123.3"
HUGO_VERSION = "0.126.1"
HUGO_ENABLEGITINFO = "true"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL && npx pagefind --source 'public'"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && npx pagefind --source 'public'"
[[plugins]]
package = "netlify-plugin-hugo-cache-resources"