PeANo

How to create a post

Here is the steps you must follow to create a post.

  1. Write the post in .tex format.

  2. Pass the .tex file, along with the references.bib, if existing, through the textomd application to convert the .tex into .md files.

  3. Put the .md files into the respective content folder of the peano repository and push them. As for images and figures, their path is always relative to the static folder. So, if in the .md file the path is /figures/post/my_figure.png, you must create the post folder in static/figures and put the image file there. You must have the forward slash at the start of the path too.

  4. ssh into the server and pull the files.

  5. Build the site with hugo.

  6. Put the public folder into /var/www/html/peano/public_html