2025-04-09 19:11:01 +02:00

blog.privacynerd.de

This is my blog, which is run by hugo. The repository contains the hugo sources of it.

Cloning

To clone and make some changes, you need to clone the repository. This one also contains git submodules (the re-terminal theme), that's why you should use the argument --recurse-submodules. The commands after that pull all branches of the forked terminal theme so that nothing bad happens (commands taken from here.

git clone --recurse-submodules https://git.privacynerd.de/git.privacynerd.de/blog.privacynerd.de blog
cd blog/themes/terminal-fork
git branch -r \
  | grep -v '\->' \
  | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" \
  | while read remote; do \
      git branch --track "${remote#origin/}" "$remote"; \
    done
git fetch --all
git pull --all
cd ../../

Running & Building

To build or run, just use one of the commands below. It will generate a new html in a fresh public folder.

IMPORTANT! You have to be in the root of this repository to proceed. Executing one of the below commands will delete the public folder (to allow for a really fresh build).

rm -r public/ && hugo server --bind 127.0.0.1 -b http://127.0.0.1/ --minify --openBrowser --appendPort --printI18nWarnings
rm -r public/ && hugo build --minify --printI18nWarnings

Acknowledgements

Favicon(s) generated by the RealFaviconGenerator out of my original.png (I drew this when I was a young child!).

Description
Base repo of the hugo-powered web page https://blog.privacynerd.de/
Readme 4.3 MiB
Languages
HTML 99.9%
CSS 0.1%