This repository contains the source code for Lemon's Resting Area, a website built using Hugo, a fast and flexible static site generator. The site supports both Japanese and English content.
Here are the steps to build site on Ubuntu-based system (tested on KDE neon 24.04):
# install golang
sudo apt install golang
# install latest version of Hugo (the example uses v0.128.0)
wget https://github.com/gohugoio/hugo/releases/download/v0.128.0/hugo_extended_0.128.0_linux-amd64.deb
sudo dpkg -i hugo_extended_0.128.0_linux-amd64.deb
# build the site
hugo server
# http://localhost:1313
To create an article using the default archetype:
# Japanese
hugo new content posts/2024/something.md
# English
hugo new content/en/posts/2024/something.md
To create an article using the release note archetype:
# Japanese
hugo new content -k releasenote posts/2024/something.md
# English
hugo new -k releasenote content/en/posts/2024/something.md
https://gohugo.io/content-management/archetypes
https://discourse.gohugo.io/t/multilingual-archetypes/39542/8)
Licensed under the CC BY-SA 4.0.