Pandoc
After the markdown has been preprocessed successfully, HTML files are created using Pandoc using the routine
run_pandoc.sh
If you run these routines locally, make sure to have pandoc --version
greater equal than 2.11
.
SSI Directives and Further Postprocessing Steps
Topics
In order to handle the dynamic server side processing, all includes are handles via specific SSI directives.
The template /static/ssi/topic_template.shtml
, is used as a basis for all topic files. The routine postproc_topic.sh
replaces all markers in the template with suitable values.
In order to avoid redundancy, all <h1>
title tags (created from pandoc
) are deleted, as there is already an SSI directive to set the title.
Staff and Working Group Pages
Here the <h2>
tags (created by pandoc
) are substituted by <div>
tags. This is done in the respective parts of build_webpage.sh
.