Skip to content

pwittchen/wittchen.io

Repository files navigation

wittchen.io

this is source of wittchen.io, which is my personal website and blog based on hugo

writing

to create a new note (post), type

hugo new content/notes/my-new-note.md

running

hugo server -D

-D flag generates website with drafts

deployment

just update content and run command:

hugo

then commit and push your changes

deployment will be triggered automatically with github actions

docker

build and run:

docker compose up -d

to rebuild container, use --build flag

by default, the base URL is http://localhost:8080/, for production, override it via build argument:

docker build -t wittchen-io --build-arg BASE_URL="https://wittchen.io/" .
docker run -p 80:80 wittchen-io

or in docker-compose.yml:

build:
  context: .
  args:
    BASE_URL: https://wittchen.io/

to stop and remove everything:

docker compose down --rmi all -v

theme

Currently I'm using PaperMod Hugo theme, with some modifications inspired by the shadcn-ui

About

a source code of my personal website and blog

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages