forked from oyd/ozgurkon-2021-site
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shprink
88ada853bc
|
6 years ago | |
---|---|---|
content | 6 years ago | |
data | 6 years ago | |
static | 6 years ago | |
themes | 6 years ago | |
.firebaserc | 6 years ago | |
.gitignore | 6 years ago | |
.gitlab-ci.yml | 6 years ago | |
.gitmodules | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
config.toml | 6 years ago | |
firebase.json | 6 years ago |
README.md
Site DevFest 2019
Requirement
-
Install Hugo Note: you need to install the extended version.
-
If you need to use tools, or deploy, you also need NodeJS and Yarn.
Install Theme
git submodule init
git submodule update themes/devfest-theme-hugo
Commit theme update
When you have made changes on the theme, you need to add the
git add themes/devfest-theme-hugo
Run Local site
Just run
hugo server -D
Notice that the -D
flag is used to rendrer draft elements.
More information here
Build
Just run
hugo
More information here
Edit data
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
Create a new blog entry
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.
Tooling
First you need to install dependencies with yarn
.
Publish
To publish the site on firebase, just run firebase deploy
.
Note that you need to authenticate once with firebase login
Extract data from CFP
TODO...