Tota logo

Docs

Getting started

  • Overview
  • Commands
  • Configuration

Usage

  • Pages
  • Posts
  • Front matter
  • Templates
  • Assets
  • Deployment

Assets

Assets are any static files that Tota doesn't need to process. This includes images, CSS and JavaScript files.


Directory

The entire assets directory is copied to the public directory when Tota builds your site. So, if you had an image called party-parrot.gif in your assets directory, you can easily reference the file in your pages and templates:

<img src="/assets/party-parrot.gif" alt="dancing parrot" />

The assets directory location can be changed in the directory configuration.

TOTA_ASSETS_DIRECTORY="static"

Related

  • Pages
  • Templates
  • Deployment
Tota logo

Tota is a static-site generator made by @izolate.


© 2025 Tota. MIT license.

Site links

  • house Home
  • open book Docs
  • question mark Articles

Open source

  • Pub
  • GitHub
  • File an issue
  • Edit this site