This is a quick start template for Hugo theme Prism. It uses Hugo modules feature to load the theme.
It comes with a basic theme structure and configuration. GitHub action has been set up to deploy the theme to a public GitHub page automatically. Also, there's a cron job to update the theme automatically everyday.
In case you got lost and prefer a video tutorial, check this video.
-
Click Use this template, and create your repository as
<username>.github.ioon GitHub.
-
Once the repository is created, create a GitHub codespace associated with it.

-
And voila! You're ready to go. The codespace has been configured with the latest version of Hugo extended, just run
hugo serverin the terminal and see your new site in action. -
Check
configfolder for the configuration files. You can edit them to suit your needs. Make sure to update thebaseurlproperty inconfig/_default/config.tomlto your site's URL. -
Open Settings -> Pages. Change the build source to GitHub Action:

-
Once you're done editing the site, just commit it and push it. GitHub action will deploy the site automatically to GitHub page asociated with the repository.

In case you don't want to use GitHub codespace, you can also run this template in your local machine. You need to install Git, Go, Dart SCSS and Hugo extended locally.
Run:
hugo mod get -u github.com/CaiJimmy/hugo-theme-prism
hugo mod tidyIf you want to build this site using another static page hosting, you need to make sure that Go and Dart SCSS are installed. You can check the official Hugo documentation for more information: https://gohugo.io/host-and-deploy/
