Hugo Workshop (Setup Instructions)

Installing Chocolatey for Windows users To help our Window friends install Chocolatey first, this seems too tempting right now, but it is effortless. To install, press Super, type powershell, then run as “Administrator” and paste the following command. Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) Press enter. After this you have chocolatey. Installing Git Now we have a very powerfull package (yes, it is windows) choco....

October 13, 2023 · 207 words · Me

Hugo Workshop

Creating the HUGO site hugo new site <username>.github.io --format=yml Setting up git and gh repo First change dir to the newly created site dir with cd <username>.github.io. Now initialize git in the folder. git init Now we can add theme to our website as a submodule (yes, submodule as this give us power of clonig this repo with single command) git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod now we have to make sure that HUGO know that we want to use “PaperMod” theme....

October 13, 2023 · 772 words · Me