Skip to content

mitchellolsthoorn/personal-website

Repository files navigation

Personal Website

Open in Visual Studio Code

Netlify Status Security Headers Website

This repo contains the sources for my personal website. The website uses the open-source static site generator Hugo for building the website. It is based on the Wowchemy theme and is hosted on Netlify.

Build and preview locally

When making changes to the website, it is useful to build and preview the website locally before committing the changes to the repository. Before you can build the website, you first need to install the following dependencies:

  1. Install Hugo using this documentation.
  2. Install NPM using this documentation
  3. Install the development dependencies: npm install

To preview the website:

  1. Run view.sh

When making changes, format the files afterwards:

  1. Run npm run format

When an error occurs during building, try deleting the local Hugo cache:

  • MacOS/Linux: sudo rm -rf $TMPDIR/hugo_cache/

Deploy website

The website is automatically deployed whenever a new commit is merged into the main branch. To see a preview of the changes in a PR, press the details link in the deploy status check.

License

The content of this project itself is licensed under the CC BY 4.0, and the underlying source code used to format and display that content is licensed under the MIT license.