Skip to content

AndreyNautilus/AndreyNautilus.github.io

Repository files navigation

Personal website

Push to Deploy pages-build-deployment pre-commit

Website Static Badge Static Badge

Powered by Hugo with PaperMod theme (as submodule). GitHub Pages are deployed from deploy branch.

Local commands

hugo server - run the server on localhost

hugo server --bind=0.0.0.0 --baseURL=http://AAA.BBB.CCC.DDD:1313 - run the server and expose it to local network (where AAA.BBB.CCC.DDD is your local IP address). To get local IP address: ipconfig (on Windows), find the correct adapter (Wi-Fi, Ethernet or something else) and take IPv4 Address.

hugo server --buildDrafts - run the server (including draft content)

hugo new content posts/my-post.md - create a new post

Local environment

  • hugo (see hugo_version.txt for the version)
  • python 3.9+
  • pre-commit install to enable pre-commit hooks locally

Windows terminal

  • Shift + Alt + '-' split window horizontally
  • Shift + Alt + '+' split window vertically