Customization
Try fossilizer init --customize, which unpacks the following for customization:
-
a
data/webdirectory with static web assets that will be copied into thebuilddirectory -
a
data/templatesdirectory with Tera templates used to produce the HTML output -
Note: this will not overwrite the database for an existing
datadirectory, though it will overwrite any existingtemplatesorwebdirectories.
Check out the templates to see how the pages are built.
Template Features
The default templates support the following features:
- Quote reposts: When a post includes a quoted/referenced post, the template will render the quoted content in a styled blockquote.
- Media attachments: Images and other media are displayed in a lightbox-enabled gallery.
- Boosts/Reblogs: Boosted posts are displayed with attribution to the original author.
For a more in-depth reference on what variables are supplied when rendering templates, check out the crate documentation: