diff --git a/pelicanconf.py b/pelicanconf.py index 59ad52a..a28b905 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -69,3 +69,18 @@ PAGINATION_PATTERNS = ( (1, '{url}', '{save_as}'), (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'), ) + +# The capsule: the same content over Gemini, Spartan and WAP. smolnet lives in +# the sites repo because it is not specific to any one site; the Nix builder +# copies it into plugins/, and the relative path is for working locally with +# the repos checked out side by side. +PLUGIN_PATHS = ['plugins', '../sites/plugins'] +PLUGINS = ['smolnet'] + +# Filed by tag, not category, so there is nothing to index by section and the +# plugin drops that block rather than offering a single bucket called misc. +SMOLNET_LATEST = 20 + +# `era` rather than the category: everything here is Pelican's default `misc`, +# while era is what the site is actually organised around. +SMOLNET_META = ['date', 'era']