A port of Narative's beautiful Gatsby theme Novela for Hugo ๐๐
This starter is importing the theme as a Hugo Module
- Go > 1.12
- Hugo > 0.65.0
Use your CMS of choice, or none at all.
Import your repository 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
- Set
GO_VERSION
to1.12
or above - Set
HUGO_VERSION
to0.65.3
or above
That's it, now your site gets deployed automatically on git push
or when saving documents from Forestry.
# clone your repository
# cd in your project directory
# Start local server
hugo server
For more information, see official Hugo documentation.
Add to your projects layout directory your logo's SVG:
/layouts/icons/ui/logo.html
In order for the Socials to be surfaced in Forestry, you should copy the theme's config/_default/social.yaml
to your project.
You should register authors as a taxonomy in your project's `config.yaml``
taxonomies:
author: authors
Add a similar file to your content directory and Front Matter example.
# /content/authors/firstname-lastname/_index.md
---
title: Full Name
bio: |
Written by You. This is where your author bio lives. Share your work, your
joys and of course, your Twitter handle.
avatar: /images/your-picture.jpg
featured: true
social:
- title: github
url: https://github.com
- title: twitter
url: https://twitter.com
- title: instagram
url: https://instagram.com
- title: dribbble
url: https://dribbble.com
- title: unsplash
url: https://unsplash.com
---
Add the name of the author to the "authors" field:
authors:
- Your Name
MIT