Customization

Try fossilizer init --customize, which unpacks the following for customization:

  • a data/web directory with static web assets that will be copied into the build directory

  • a data/templates directory with Tera templates used to produce the HTML output

  • Note: this will not overwrite the database for an existing data directory, though it will overwrite any existing templates or web directories.

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: