kitchen homepage mit hugo (https://gohugo.io/) https://binary.kitchen/
Go to file
Andi Hechtbauer 789a2690c6 home: layout grid (http://tachyons.io/) 2017-12-11 15:07:12 +01:00
content home: layout grid (http://tachyons.io/) 2017-12-11 15:07:12 +01:00
layouts home: layout grid (http://tachyons.io/) 2017-12-11 15:07:12 +01:00
public home: layout grid (http://tachyons.io/) 2017-12-11 15:07:12 +01:00
static add logo, structure, test content 2017-11-29 15:10:21 +01:00
themes initial check in 2017-11-28 15:51:05 +01:00
.gitignore initial check in 2017-11-28 15:51:05 +01:00
.gitmodules initial check in 2017-11-28 15:51:05 +01:00
README.md some changes 2017-11-30 13:51:34 +01:00
config.toml social-buttons: add facebook and github 2017-11-29 18:57:12 +01:00

README.md

Kitchen Homepage Mitmachanleitung

TL;DR

Viele der Schritte braucht's nur einmal. Ist alles soweit am Start, sieht eine Änderung beispielsweise so aus:

cd kitchen-homepage; git pull
vi content/kitchenlog/2017/November.md
hugo
git add content public; git commit -m "new kitchenlog content"; git push

git

git installieren

Entweder mit dem jeweiligen Paketmanager oder:

https://git-scm.com/downloads

SSH Public Cert unter git.binary-kitchen.de hinterlegen

Einloggen mit Zugangsdaten, dann unter Einstellungen - SSH Schlüssel - diesen hinterlegen

homepage repo holen

git clone --recursive gogs@git.binary-kitchen.de:webredaktion/kitchen-homepage.git

ins verzeichnis wechseln

cd kitchen-homepage

hugo

hugo installieren

linux:

snap install hugo

macos:

brew install hugo

windows:

choco install hugo -confirm

(oder https://gohugo.io/getting-started/installing/)

lokalen sever starten

hugo serve

anschauen

Im Terminal angezeigte URL im Browser öffnen

content

editieren

Inhalte in content/... ändern oder hinzufügen. zb. in content/kitchenlog/2017/...

änderungen ins repo aufnehmen

git add content/kitchenlog
git add public
git commit -m "new kitchenlog content"

publizieren

git push