Serve the same content over Gemini, Spartan and WAP
smolnet renders a capsule beside the HTML: plain Markdown plus sidecars, which itsybitsy converts per request. The plugin lives in the sites repo because it is not specific to any one site; the relative path is for working locally with the repos side by side, and the Nix builder copies it in. era rather than category on the article line. Everything here is Pelican's default misc, while era is what the site is actually organised around.
This commit is contained in:
parent
1e5a8ae7e2
commit
40b701b405
1 changed files with 15 additions and 0 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue