How to create a post
Here is the steps you must follow to create a post.
-
Write the post in
.tex
format. -
Pass the
.tex
file, along with thereferences.bib
, if existing, through thetextomd
application to convert the.tex
into.md
files. -
Put the
.md
files into the respectivecontent
folder of thepeano
repository and push them. As for images and figures, their path is always relative to thestatic
folder. So, if in the.md
file the path is/figures/post/my_figure.png
, you must create thepost
folder instatic/figures
and put the image file there. You must have the forward slash at the start of the path too. -
ssh
into the server and pull the files. -
Build the site with
hugo
. -
Put the
public
folder into/var/www/html/peano/public_html