https://github.com/patilshreyas/forestryblogexample
https://github.com/patilshreyas/forestryblogexample
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patilshreyas/forestryblogexample
- Owner: PatilShreyas
- License: mit
- Created: 2020-05-24T12:00:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-24T16:56:47.000Z (over 5 years ago)
- Last Synced: 2025-01-22T19:48:10.982Z (9 months ago)
- Size: 15.3 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Casper 3 Hugo Starter for Forestry
[Hugo port of the Casper 3 theme](https://github.com/jonathanjanssens/hugo-casper3) originally by Ghost.
## Prerequisites
- Hugo > 0.54.0
## Content Management

This project has been pre-configured to work with [Forestry](https://forestry.io), just import your repository ✨. \
Any changes you make will be commited back to the repo, and deployed if you're using Netlify.## Customization
You can customize the theme through the [params in the `config.toml` file](https://github.com/forestryio/casper3-hugo-starter/blob/master/config.toml#L13-L19). Those values are accessible from within Forestry.
## Deployment and hosting with Netlify
Import your site in [Netlify](https://netlify.com)
1. Create a new site in Netlify and import your repository.
2. Set the build command to: `hugo --gc --minify`
3. Set the publish directory to: `public`
4. Make sure to set `HUGO_VERSION` to 0.54.0 or above (tested with 0.63.1)
3. 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
```bash
# 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](https://gohugo.io/getting-started/).