Building My Web Site

Two Jinja2 filters take care of the minimal localisation that needs to be done in templates. The blog and its articles are put below the page tree root. PATH_METADATA and FILENAME_METADATA are thoroughly deconstructed.

Inspired by the page_hierarchy.py-plugin I have developed a page_relations.py plugin. It does not need special settings, changes no slug meta data, but analyses directly the directory hierarchy. Directory names have to match slug. Additionally it recognises slug groups like same00, same01, same02, etc. Resulting prequel/sequel relations can be used for forward/backward navigation.

Besides changed colours and spacings skeleton.css was amended by two asymmetrically shrinking screen halves. The right-hand half shrinks faster than the left-hand half.

The template landingpage.html layouts my top page and includes the blog appropriately. parentpage.html is used, like on this very page, for pages that have sub pages whose summary texts are presented on the right side.

pelicanconf.py - General Configuration

Translation filters for category names and phrases in templates, localisation filter for datetime in meta data, detailed PATH_METADTA and FILENAME_METADATA

page-relations.py - Page Relations

Parent-Child-Relations by Directory Structure, Sibbling-Relations by Numerical Suffixes

skeleton.css - The Skeleton with Style

left and right area for asymmetric resizing, menĂ¼, bread crumbs


Copyright © 2016 Uwe Ritzmann - Created with Pelican, Python and Skeleton.