Creating content
Overview of the Academic theme layouts
The content of this website rely on two different type defined by the Academic theme. Each .Md must specify, in its header, what type it is based on in order for Hugo to produce the correct html page.
- page (for meetings and post)
- Single page output;
- The page contains a header block describing the post/meeting and that information is taken from the
Markdownheader; - Followed by a body for regular
Markdownfor the post or if you want to add more details to a meeting.
- docs (for workshops and resources)
- Each
docsfile is associated with a singlehtmlpage, but multipledocscan be associted together within a folder to form different pages of a single workshop; - Consists of a simple
Markdownbody; - A within-workshop table of content is added to the left;
- A within-pasge table of content on the right.
- Each
Create your author profile
First things first, you need to create an authors profile in order to associate multiple content to the same author. Unfortunately, Hugo does not provide a command to create a new author from command line, so the fastest way to go is to copy the blank author folder and give it a name representing your’s (say username from now on). Then, edit the _index.md contained in the new username folder and edit its content. It should be documented well enough for you to complete.
If you want to add a picture of yourself, place it in the username folder with the name avatar.jpg/.png.