Go to file
Luca 1f925cc1ec Add 'news' archetype 2020-11-26 21:00:57 +01:00
archetypes Add 'news' archetype 2020-11-26 21:00:57 +01:00
assets Add padding to ul elements 2020-11-26 19:01:47 +01:00
content Highlight 'News' menu item when current page is a post 2020-11-26 15:33:10 +01:00
i18n Add page title to window title, last modification time (according to Git) to footer 2020-11-24 21:50:02 +01:00
layouts Add padding to ul elements 2020-11-26 19:01:47 +01:00
static Add about page and move some content from start 2020-11-23 23:40:23 +01:00
.drone.yml Fix site being extracted into ./public/ 2020-11-13 19:21:04 +01:00
.gitignore Use SASS for styling 2020-11-12 21:12:42 +01:00
Dockerfile Improve Dockerfile and README 2020-11-23 22:53:05 +01:00
README.md Add 'news' archetype 2020-11-26 21:00:57 +01:00
config.toml Merge branch 'main' of https://git.luj0ga.de/franconian/www.franconian.net into main 2020-11-24 22:54:37 +01:00

README.md

Docker for local development and testing

  1. Build Docker image: docker build -t hugo .
  2. 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"