Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1.08 KB

readme.md

File metadata and controls

36 lines (19 loc) · 1.08 KB

How to Contribute

For all practical purposes, all the content goes to ./content folder. It contains the static markdown files that are converted to HTML

Inside content, a new page can simply be created by creating a new .md file. They need to have a TOML header that goes in the following format.

+++
+++

Even if the contents inside this is empty, the delimiters need to be there.

Mostly try avoiding creating pages in the root folder (i.e. content folder).

Resources folder

Rules follow as above. Title is necessary else the page is ignored. Despite it being sorted by title, the date is still necessary in the above format to show the publish date.

Logic for the TOML follows from above.

Adding media

To add an image, the following snippet suffices.

{{ img(id="/path/from/content/folder.png", alt="Alt Text", class="textCenter") }}

To add a youtube video, this one works

{{ youtube(id="The id of the video", class="textCenter") }}

To add a link to go to the top of the page, put this at the bottom.

{{ webring(webring="#", webringName="Go to the Top") }}