diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 1078cf9e..03eda92e 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -38,6 +38,8 @@ jobs: git rev-parse --abbrev-ref HEAD | grep master > /dev/null || export INDEX_HTML_HEAD_INCLUSION="" - name: 🌐 Build Graphite website with Zola + env: + MODE: prod run: | cd website zola --config config_prod.toml build diff --git a/website/content/_index.md b/website/content/_index.md index 359a4cef..1ec67278 100644 --- a/website/content/_index.md +++ b/website/content/_index.md @@ -3,8 +3,9 @@ title = "Free online vector editor & procedural design tool" template = "section.html" [extra] -css_inline = ["index.css"] -js = ["carousel.js", "youtube-embed.js", "video-autoplay.js"] +css = ["/index.css", "/balance-text.css"] +js = ["/js/carousel.js", "/js/youtube-embed.js", "/js/video-autoplay.js"] +linked_js = ["https://static.graphite.rs/text-balancer/text-balancer.js"] meta_description = "Open source free software. A vector graphics creativity suite with a clean, intuitive interface. Opens instantly (no signup) and runs locally in a browser. Exports SVG, PNG, JPG." +++ @@ -80,13 +81,15 @@ meta_description = "Open source free software. A vector graphics creativity suit