
New Hugo Theme
Table of Contents
Well, it has been a while with this currect theme I have used for this platform. Now I think I need to spin up a little bit.
So, I looked up and found HugoPlate
Let’s try it!
543 git clone https://github.com/zeon-studio/hugoplate.git
552 npm run project-setup 553 npm install 554 npm run dev
sudo dnf remove hugo
Download the latest extended version
wget https://github.com/gohugoio/hugo/releases/download/v0.142.0/hugo_extended_0.142.0_linux-amd64.tar.gz
Extract the archive
tar -xvf hugo_extended_0.142.0_linux-amd64.tar.gz
Move the binary to your path
sudo mv hugo /usr/local/bin/
Make sure you have:
⚙️ Prerequisites
To start using this template, you need to have some prerequisites installed on your machine.
Great! Now I’ll start exploring about it.
Deploying
Now that site is working locally how can we deploy.
I have pushed the project to codeberg.
Build the project
npm run build
👉 Deploy Site
We have provided 5 different deploy platform configurations with this template, so you can deploy easily.
And if you want to Host some other hosting platforms. then you can build your project, and you will get a public
folder. that you can copy and paste on your hosting platform.
Note: You must change the
baseURL
in thehugo.toml
file. Otherwise, your site will not work properly.
- So, I am not hosting my site to these platform so I copied out the
public
. - Pushed the code to new repo named pages.
Changing baseURL
But to what??