Table of Contents
This guide assumes you are looking to setup a working environment that can generate a local copy of the website hosted at solamarpreet.github.io which you can then modify to suit your needs.
The following external dependencies need to be pre-installed
- Clone the repo and cd into the folder
git clone https://github.com/solamarpreet/solamarpreet.github.io.git && cd solamarpreet.github.io
- Download the theme submodule required by the project
git submodule update --init --recursive
Note: You will need to manually update the submodules if the theme changes upstream as git pull wont automatically do that for you
git submodule update --remote --merge
- Start the Hugo development server
hugo server -D
- Generate the static HTML files by simply running the hugo command. Files will appear in the /public folder
hugo
If your changes are not reflected correctly by the live development server try restarting the server.
If that does not help address your issue check the open issues for a list of known issues and open a new issue. Additionally check theme related issues at PaperMod.
If you have a suggestion regarding the website or wish to see some specific content on the blog simply open an issue with the tag "suggestion". You can also fork the repo, add your code and create a pull request.
Distributed under the MIT License. See LICENSE for more information.
Amarpreet Singh - [email protected]
Blog & Portfolio : https://solamarpreet.github.io