Florian Sorg
2a2534cfa8
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/push Build is passing
Details
|
||
---|---|---|
archetypes | ||
assets | ||
content | ||
i18n | ||
layouts | ||
static | ||
.drone.yml | ||
.editorconfig | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
config.toml |
README.md
Docker for local development and testing
- Build Docker image:
docker build -t hugo .
- Run container:
docker run --rm -v $PWD:/var/www/html -p 1313:1313 hugo
Create a new news post
export TITLE="insert-title-here"
hugo new "news/$TITLE.md" && cp "content/news/$TITLE.md" "content/news/$TITLE.de.md"