The blog has been created using Hugo, a static site generator.
Just send us a pull request or add an issue.
- Fork this repository.
- Run
git clone <URL-of-your-fork>
in your local machine. - Run
cd Gradient-s-Blog
. - Run
git submodule update --init --recursive
(This step is important). - Add your post by following the instructions given below.
- Push the changes by following the
add-commit-push
pattern. - Open a PR.
- Install Hugo.
- Run
hugo new posts/<YOUR POST NAME>.md
. - Add the content in markdown format.
- If you need
Latex
support, make sure that mathjax is set to true. - If you have images and/or code-snippets put them under
static/images
orstatic/code
folders respectively. - Run
hugo server -D
. You will get something likeWeb Server is available at http://localhost:1313/ (bind address 127.0.0.1)
- Check if your post has the proper look, content, feel, or not.
- Make a subfolder under
static/code
orstatic/images
folder. (Name them same as your post's name) - Put files under your subfolders.
- Use them in MD files as
images/<YOUR POST NAME>/<image>
orcode/<YOUR POST NAME>/<code-file>
.