This is the repository for my blog. It is setup with jekyll and github pages.
Install Ruby, best with rbenv. Check the latest stable version here: https://jekyllrb.com/docs/installation/macos/ (currently 3.1.3)
rbenv install 3.1.3
rbenv local 3.1.3
Install Bundler.
gem install bundler
Run
cd docs
bundle install
bundle exec jekyll serve --drafts
This blog is based on github pages and jekyll, checkout the guide here: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll
It uses the minimal mistakes theme
Changes:
pages
folder. data/navigation.yml
is configured to only show the posts and about link in the header._includes/custom.html
file and assets/scripts/js/cookie-consent.js
file.For comments giscus is added. The setup is based on this blogpost.
For the setup:
_config.yaml
in a comments
and giscus
sectionI registered the domains fabianhertwig.com and fabianhertwig.de with google domains.
For fabianhertwig.com I setup the DNS entries according to this guide, so first the apex domain and then as well the CNAME for the www subdomain: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain
For fabianhertwig.de I have setup a forward to the fabianhertwig.com domain.