Starter templates
Hugo Starter
The Hugo Starter serves as an ideal template for developers who want to harness Hugo's speed and flexibility, featuring integrated Bookshop components designed specifically for CloudCannon deployment.

A starting template for developers looking to build a site suitable for editing in CloudCannon with Hugo. Created by, and optimized for, CloudCannon.
Create your own copy, and start creating your own components quickly, to build your own component-based page building system. A blog section demonstrates best practices for editing longer form text in CloudCannon, using fixed layouts with changing content, instead of the component-based approach with pages that have unique layouts.
This template is aimed at helping developers build sites quickly, rather than providing editors with a fully built editable site. If you are an editor looking for an fully built template, have a look at CloudCannon's templates page.
See a demo version of this site.
Getting started
Select
Use as template
in GitHub to create a copy of the repository on your own GitHub account.Build a site on CloudCannon, using your newly copied repository.
a. Create a CloudCannon account if you haven't already
b. Go to
Sites
c. Select
Create a new site
d. Select
Connect to a GitHub repository
(or whatever Git provider you use).e. Authenticate CloudCannon as an application on your Git provider if you haven't already
f. Select build site
g. Any changes pushed to your repository will trigger a rebuild for your attached site in CloudCannon. Similarly any changes you make on CloudCannon will push to your connected Git repository.
Prerequisites
Local development
Any changes you make locally, which you then push to your git repository, will trigger a rebuild on the site associated with that repository in CloudCannon, and update your live site. Similarly when you make changes to your repository - via CloudCannon, or by any other means - run git pull
to keep your local environment up to date.
To create a copy of your repository to work on your local machine:
Run
git clone
in the directory you want your repository.cd
into your newly cloned Hugo starter directory.Run
npm install
at the root of your cloned directory.Run
npm start
.Navigate to https://localhost:1313.