// Instructions

Setting the theme up

Getting started

Hugo 0.158 or newer, extended edition not required. From the theme folder, run `hugo server --source exampleSite`. The site runs at localhost:1313 with the demo content already in it, so you can see every page before changing anything.

Hugo documentation : https://gohugo.io/documentation/
Hosting and deployment : https://gohugo.io/host-and-deploy/
What to edit first

One file carries the name, the URL, the contact details, the menus and the footer columns: hugo.toml. Set baseURL before the first deploy — the canonical tags, the sitemap and the feed are all built from it, and nothing fails when it is wrong.

hugo.toml : /style-guide/
Hugo configuration : https://gohugo.io/configuration/
Where the content lives

Everything the pages list comes out of content/ and data/. Long-form content is Markdown with front matter, structured lists are JSON, and the templates in layouts/ read both.

1. Products are Markdown files in content/products. The front matter carries the price as a number, the SKU, the category and the images; the body is the description.

2. Journal articles are Markdown files in content/blog, with the article itself as the body.

3. The categories are folders under content/categories and content/product-categories; the makers, the reviews, the questions and the photographs are JSON in data/.

4. Adding a file adds a page. Deleting one removes it, and the listings and the sitemap follow.

5. Images live in assets/images and are resized at build time; a front matter field names one by its path, such as images/vase.webp.

Motion

Every reveal is declared in the markup as data-anim and defined once in assets/js/motion.ts. Change a duration there and it changes everywhere; delete an effect and the elements simply appear. Readers who ask for reduced motion get the page with nothing moving.

Selling things

Every Add to Cart is a real form carrying the id, name, price, currency and quantity. Nothing on a static site answers it — attach Snipcart, a Shopify Buy Button or any provider that reads a form, and the shop is live without a markup change. See docs/commerce.md.

Styling

tailwind/theme.css holds the design tokens and components.css the class for every block in the design; hand-written corrections go in additions.css, which loads last. npm run build:css compiles them into assets/css/main.css, which ships with the theme, so Hugo builds the site with no Node at all.

Images and fonts

Images in assets/images are resized and re-encoded at build time; drop a file in and reference it from the content. Both faces are bundled rather than fetched, so a build works offline and a visitor loads nothing from a third party.

Before you deploy

Run hugo --source exampleSite and read the output — the theme builds with no errors and no warnings, and keeping it that way is the cheapest test you have. Then set baseURL, and check that the host you deploy to is the host it names.

Great job on choosing the right template! Just one more step to start building.