Yoctolio

What is this project

A strip down static site generator, the idea is to generate a simple single page portfolio using information collected in csv files.

How to use it

Add video content

The first step needed to add content on your portifolio is to create a file at the following path : config/config.txt

As well as the config/categories.txt file with the following content :

csv 1, directing 2, editing

The words directing and editing can be changed and any category can be added as long as their id (the number in front of the name) is uniq.

Inside this file you can now add one line per section on the index page of the portfolio :

Name of the section, file_name_of_the_section.txt

Yoctolio will now generate a section called Name of the section, the videos you wish to include in this section need to be listed in the file you defined. In this case config/file_name_of_the_section.txt

To add a video you need to follow this pattern :

Name of the video, youtube_url, category_number, year

Where :

Changing the template

The default templates are visible in the project repository, to create your own you can simply create a templates folder with an index.html inside and it will be used by default.

If you want another page you can create a folder at the following path templates/pages containing any html page that will be included in you portfolio.