sites/tobias.raayoni-last.com/pelicanconf.py
randogoth 8505b7e9e0 Three sites, one directory each
flux.vision, tobias.raayoni-last.com and randogoth.com. They were one site until
October 2026, serving four audiences from a single dated list, which is the only
format that can hold unrelated things at once.

flux.vision is recovered from the Wayback Machine, where it had sat since being
deleted in 2021: 90 articles, closed and maintained rather than updated.
tobias.raayoni-last.com is the professional record, 97 articles back to 1999.
randogoth.com is the technical work, 41 articles across six areas, served as an
ANSI bulletin board.

History starts here deliberately. The development history, the 266-row inventory
that records why each article went where it did, the Wayback pipelines, the
pruned articles, the source archives and the full-size images are kept beside
the repo rather than in it, so a clone is the web presence and not the argument
that produced it. REFACTOR.md is gitignored for the same reason. See README.md
for where that material lives, and keep it: the sort is not reproducible from
these three directories alone.

Each site documents itself in its own README, including the traps that cost time
and look like nothing when you get them wrong.
2026-10-05 20:54:45 +03:00

74 lines
2.3 KiB
Python

AUTHOR = 'Tobias Raayoni Last'
SITENAME = 'Tobias Raayoni Last'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'Asia/Jerusalem'
DEFAULT_LANG = 'en'
THEME = 'raayoni'
PLUGIN_PATHS = ['plugins']
PLUGINS = ['assetcheck', 'lostimages']
# Dark is the register this work belongs to, so it is the default rather than
# following the system. An explicit toggle (persisted in localStorage) wins.
THEME_DEFAULT = 'dark'
# Articles live flat in content/; pages and assets are carved out of that.
ARTICLE_PATHS = ['']
ARTICLE_EXCLUDES = ['pages', 'library', 'images']
PAGE_PATHS = ['pages']
STATIC_PATHS = ['library', 'images']
# URLs no longer embed the category: the discipline taxonomy was reworked once
# already and every reassignment moved a URL. Slugs are stable, categories are not.
ARTICLE_URL = '{slug}.html'
ARTICLE_SAVE_AS = '{slug}.html'
PAGE_URL = '{slug}.html'
PAGE_SAVE_AS = '{slug}.html'
CATEGORY_URL = 'discipline/{slug}.html'
CATEGORY_SAVE_AS = 'discipline/{slug}.html'
CATEGORIES_SAVE_AS = 'disciplines.html'
TAG_URL = 'tag/{slug}.html'
TAG_SAVE_AS = 'tag/{slug}.html'
TAGS_SAVE_AS = 'tags.html'
ARCHIVES_SAVE_AS = 'timeline.html'
AUTHOR_SAVE_AS = ''
AUTHORS_SAVE_AS = ''
DRAFT_URL = 'draft/{slug}.html'
DRAFT_SAVE_AS = 'draft/{slug}.html'
# Grid tiles need a one-line description. Most entries have no Summary, so
# Pelican derives one from the body; the median entry is 34 words, so this is
# a first clause rather than an excerpt.
SUMMARY_MAX_LENGTH = 18
# The index is a single Muuri grid over everything; paginating it would break
# client-side filtering and sorting.
DEFAULT_PAGINATION = False
MENUITEMS = [
('about', '/about.html'),
('timeline', '/timeline.html'),
('disciplines', '/disciplines.html'),
('bio', '/bio.html'),
('connect', '/connect.html'),
]
# No nl2br. The recovered bodies are hard wrapped at roughly 70 characters, so
# it turned every source line into a forced break: 67 of 69 multi-line articles
# were affected and the About page carried twelve, each one mid-sentence.
MARKDOWN = {
'extension_configs': {
'markdown.extensions.tables': {},
'markdown.extensions.footnotes': {},
},
'output_format': 'html5',
}
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
DELETE_OUTPUT_DIRECTORY = True
CACHE_CONTENT = False