mirror of
https://github.com/Threnklyn/casper3-hugo-starter.git
synced 2026-05-18 12:13:26 +02:00
1.4 KiB
1.4 KiB
Casper 3 Hugo Starter for Forestry
Hugo port of the Casper 3 theme originally by Ghost.
Prerequisites
- Hugo > 0.54.0
Content Management
This project has been pre-configured to work with Forestry, just import your repository ✨.
Any changes you make will be commited back to the repo, and deployed if you're using Netlify.
Deployment and hosting with Netlify
Import your site in Netlify
- Create a new site in Netlify and import your repository.
- Set the build command to:
hugo --gc --minify - Set the publish directory to:
public - Make sure to set
HUGO_VERSIONto 0.54.0 or above (tested with 0.63.1) - Set the publish directory to:
public
That's it, now your site gets deployed automatically on git push or when saving documents from Forestry.
Development
# clone the repository
git clone git@github.com:forestryio/casper3-hugo-starter.git
# cd in the project directory
cd casper3-hugo-starter
# Start local dev server
hugo server
For more information, see official Hugo documentation.
