Posts mit dem Label Jekyll werden angezeigt. Alle Posts anzeigen
Posts mit dem Label Jekyll werden angezeigt. Alle Posts anzeigen

2015-09-13

Generate a glossary with Jekyll

With Jekyll you can generate page content out of data files. Below is shown how this can be used to generate a glossary from a simple glossary file given as term - description list (in a json file).

Example data file:
Given a glossary file (e.g. glossary.json) with this content is in the _data folder of a jekyll site directory. To generate a page with the content where the glossary is sorted by term.