How to create a post
Here is the steps you must follow to create a post.
-
Write the post in
.texformat. -
Pass the
.texfile, along with thereferences.bib, if existing, through thetextomdapplication to convert the.texinto.mdfiles. -
Put the
.mdfiles into the respectivecontentfolder of thepeanorepository and push them. As for images and figures, their path is always relative to thestaticfolder. So, if in the.mdfile the path is/figures/post/my_figure.png, you must create thepostfolder instatic/figuresand put the image file there. You must have the forward slash at the start of the path too. -
sshinto the server and pull the files. -
Build the site with
hugo. -
Put the
publicfolder into/var/www/html/peano/public_html