Skip to content

kevinstsauveur/kevin.st-sauveur.net

Repository files navigation

Website

This is the repository used to build and publish Kevin's website.

Quick start

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

Organization

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 page

Sections

Each section delimit a new functionality to the website.

  • Home
  • About
  • Archive
  • Posts
  • Search
  • Tags

Pages

Docs are written as markdown files with extension .md.

Images

Images are stored in /static/images.

Image optimization and compression

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.