Skip to content

Instantly share code, notes, and snippets.

@umuthopeyildirim
Last active September 23, 2022 21:32
Show Gist options
  • Save umuthopeyildirim/5e97c99d1652a3f157b1f6a97d91e642 to your computer and use it in GitHub Desktop.
Save umuthopeyildirim/5e97c99d1652a3f157b1f6a97d91e642 to your computer and use it in GitHub Desktop.
Netlify build code for Obsidian Vault
[build]
command = "rm -rf __obsidian __site && mkdir __obsidian && mv * __obsidian || true && git clone https://github.com/umuthopeyildirim/hopes-mindmap-zola.git __site && __site/run.sh"
publish = "public"
[build.environment]
LANDING_BUTTON = "Explore"
LANDING_DESCRIPTION = "This garden is a collection of notes, ideas and explorations I am currently cultivating. It is a work in progress experiment to push myself to write and learn more."
LANDING_PAGE = "home"
LANDING_TITLE = "Welcome to my Digital Garden!"
PYTHON_VERSION = "3.8"
REPO_URL = "https://github.com/umuthopeyildirim/hopes-mindmap"
SITE_TITLE = "Your's Garden"
SITE_URL = "https://netlify_website_adress.netlify.com"
TIMEZONE = "Europe/Istanbul"
ZOLA_VERSION = "0.15.2"
[[plugins]]
package = "@netlify/plugin-sitemap"
[[plugins]]
package = "netlify-plugin-submit-sitemap"
[plugins.inputs]
# The base url of your site (optional, default = main URL set in Netlify)
baseUrl = "https://garden.umutyildirim.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', 'bing', 'yandex'). Possible providers are currently only 'google', 'bing', 'yandex'.
providers = [
"google",
"bing",
"yandex"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment