This is the repository used to build and publish Kevin's website.
This website is built with Hugo and the Papermod theme.
Steps needed to have this working locally:
- Follow the Install Hugo instructions
- Clone this repository
- Run
git submodule update --init --recursive
- Run
hugo server
The site is organized by section.
# URL structure
https://kevin.st-sauveur.ca/{ section }/{ page name }
# Example
https://kevin.st-sauveur.ca/posts/hello-world/
- Home: kevin.st-sauveur.ca
- About: https://kevin.st-sauveur.ca/about/
- Posts: https://kevin.st-sauveur.ca/posts/
Each section delimit a new functionality to the website.
- Home
- About
- Archive
- Posts
- Search
- Tags
Docs are written as markdown files with extension .md
.
Images are stored in /static/images
.
To reduce loading time, use the AVIF and WebP format to optimize and compress JPG/PNG/GIF images.
Code has been added to handle AVIF and WebP. As a fallback, JPG will be used for non supported browsers.