all repos — zola-bearblog @ a1bcb91851d84d3796a8a281af8d01ce0a79a3fc

Port of bear blog theme to zola

netlify.toml (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[build]
publish = "public"
command = "zola build"

[build.environment]
# Set the version name that you want to use and Netlify will automatically use it.
ZOLA_VERSION = "0.17.2"

# The magic for deploying previews of branches.
# We need to override the base url with whatever url Netlify assigns to our
# preview site.  We do this using the Netlify environment variable
# `$DEPLOY_PRIME_URL`.

[context.deploy-preview]
command = "zola build --base-url $DEPLOY_PRIME_URL"