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.
Hendrik Langer
48952ecc19
|
8 years ago | |
---|---|---|
content/post | 8 years ago | |
themes | 8 years ago | |
README.md | 8 years ago | |
config.toml | 8 years ago |
README.md
xd0.de Website
New page
$ hugo new site xd0.de
$ cd xd0.de/themes
$ git clone https://dev.xd0.de/hendrik/xd0.de.git --branch
$ cd ..
$ nano config.toml
$ hugo new post/foo.md
$ nano content/post/foo.md
$ hugo undraft content/post/foo.md
$ hugo server --theme=hugo-theme-air --buildDrafts
Hosting
# build
$ hugo
$ cd public
# make repository
$ git init
$ git remote add origin $url
# push branch:public
$ git checkout -b public
$ git add .
$ git commit -m "first commit"
$ git push -u origin public
# open
$ git clone $url --branch public