From 34ba0ebcd62c6b59182838e4c019ca82bc6011af Mon Sep 17 00:00:00 2001 From: Splitter Date: Sat, 20 Apr 2024 21:52:51 +0000 Subject: [PATCH] starters: update - plugin framework --- .github/workflows/publish.yaml | 2 +- config/_default/module.yaml | 14 ++++++++++++++ go.mod | 2 +- hugo-blox/blox/all-access/README.md | 7 +++++++ hugo-blox/blox/community/README.md | 5 +++++ hugoblox.yaml | 2 +- netlify.toml | 2 +- 7 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 hugo-blox/blox/all-access/README.md create mode 100644 hugo-blox/blox/community/README.md diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b0f85a4..8bcc944 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,7 +1,7 @@ name: Deploy website to GitHub Pages env: - WC_HUGO_VERSION: '0.125.1' + WC_HUGO_VERSION: '0.125.2' on: # Trigger the workflow every time you push to the `main` branch diff --git a/config/_default/module.yaml b/config/_default/module.yaml index 2d7e6af..b4b0878 100644 --- a/config/_default/module.yaml +++ b/config/_default/module.yaml @@ -7,3 +7,17 @@ imports: - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind + +# Install any Hugo Blox within the `hugo-blox/blox/` folder +mounts: + - source: hugo-blox/blox/community + target: layouts/partials/blox/community/ + includeFiles: '**.html' + - source: hugo-blox/blox/all-access + target: layouts/partials/blox/ + includeFiles: '**.html' + - source: hugo-blox/blox + target: assets/dist/community/blox/ + includeFiles: '**.css' + - source: layouts + target: layouts diff --git a/go.mod b/go.mod index 7206d22..19a82c2 100644 --- a/go.mod +++ b/go.mod @@ -4,5 +4,5 @@ go 1.19 require ( github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b - github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240420123751-9547f9a844cf + github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240420214532-11a51f8e9f01 ) diff --git a/hugo-blox/blox/all-access/README.md b/hugo-blox/blox/all-access/README.md new file mode 100644 index 0000000..42cbda7 --- /dev/null +++ b/hugo-blox/blox/all-access/README.md @@ -0,0 +1,7 @@ +# Hugo Blox Builder: All Access + +Elevate your web projects with [All Access](https://hugoblox.com/sponsor/), our premium Tailwind blox collection! + +Get access to a diverse range of professionally designed, responsive components — from sleek pricing sections to interactive forms. Save time with our ready-to-use blox, fully customizable to fit your brand, and focus on creating unique features that set your website apart. Optimize your development process and enhance your designs effortlessly with our Tailwind blox! + +Upload All Access blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/hugo-blox/blox/community/README.md b/hugo-blox/blox/community/README.md new file mode 100644 index 0000000..f77979b --- /dev/null +++ b/hugo-blox/blox/community/README.md @@ -0,0 +1,5 @@ +# Hugo Blox Builder: Community Blox + +Upload custom or community Hugo Blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). + +Creating your own blox? [Follow the step-by-step tutorial](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/hugoblox.yaml b/hugoblox.yaml index 8203c6b..cc53fc8 100644 --- a/hugoblox.yaml +++ b/hugoblox.yaml @@ -1,2 +1,2 @@ build: - hugo_version: '0.125.1' + hugo_version: '0.125.2' diff --git a/netlify.toml b/netlify.toml index ed40bd2..363a411 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "public" [build.environment] - HUGO_VERSION = "0.125.1" + HUGO_VERSION = "0.125.2" HUGO_ENABLEGITINFO = "true" [context.production.environment]