Tota is a simple and elegant static-site generator, written in Dart. Great for personal websites, side-projects, blogs, documentation, and more.
It only takes a few seconds to install Tota. Simply activate it with
the package manager for Dart.
pub global activate tota
Of course, if you don't already have Dart installed, you must install it first (don't worry, it's simple too).
tota init inside an empty directory will create the following
approximate directory structure.
. ├── .env ├── assets │ └── index.css ├── pages │ └── index.md ├── posts │ └── hello-world.md ├── README.md └── templates ├── base.mustache └── _partials └── head.mustache
You can configure all settings in this file.
Contains your site's main content. Markdown files in this directory will be processed into HTML and saved in the public directory.
Contains content intended to become blog posts. Similar to pages, Markdown files
will be processed into HTML and saved in the public directory, but under a
Contains the Mustache
HTML templates that wrap your site's content. You can create re-usable
components, like navigation or footers, in the
to avoid repeating them in every page.