-
Install Hugo Note: you need to install the extended version.
-
If you need to use tools, or deploy, you also need NodeJS and Yarn.
git submodule init
git submodule update themes/devfest-theme-hugo
When you have made changes on the theme, you need to add the
git add themes/devfest-theme-hugo
Just run
hugo server -D
Notice that the -D
flag is used to rendrer draft elements.
More information here
Just run
hugo
More information here
You can edit
- general information about the site into the
config.toml
file. - some data into
data/*.yml
files, like header or footer information - some content into
content/**
files. - some static assets like images into the
static/*
folder
You can use hugo new blog/i-create-a-new-entry.md
command and then edit it.
Or just copy an already existing blog entry, and update the content.
First you need to install dependencies with yarn
.
To publish the site on firebase, just run firebase deploy
.
Note that you need to authenticate once with firebase login
TODO...