drtranvanhan

Minimalist Hugo Template for Academic Websites

This repository contains a Hugo template to create a personal academic website. The template uses the PaperMod theme but modifies it in various ways to be more minimalist and better suited for academic websites. The website is hosted on GitHub Pages.

Documentation

The template is documented at https://pascalmichaillat.org/b/.

Illustration

The website produced by the template can be viewed at https://pascalmichaillat.org/hugo-website/.

Installation

On your local machine

On your GitHub account

Usage

Local development

Navigate to the website directory (cd) and run in the terminal:

hugo server

The command builds the website on your machine and makes it available at http://localhost:1313, rebuilding automatically as you edit. You can modify the content of the repository and develop your website entirely on your machine.

Online deployment

Once your website is ready to be made public, commit your content and template changes and push them to the website repository on GitHub. It is convenient to use GitHub Desktop for this Git operation.

On each push, the GitHub Actions workflow invokes Hugo to generate the website and deploys the output to GitHub Pages. During the workflow, Hugo processes your content, templates, and other project files and generates a static website.

Performance

The website performs well on mobile and desktop devices. Here is an overview of the mobile performance from PageSpeed Insights:

mobile

And here is an overview of the desktop performance:

desktop

Software

License

This repository is licensed under the MIT License.

Real-world implementations