Tota is an elegantly simple static-site generator written in Dart. Perfect 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 (a simple procedure in its own right).
tota init inside an empty directory will create the following
approximate directory structure.
. ├── assets │ └── styles.css ├── pages │ └── index.md ├── posts │ └── hello-world.md └── templates ├── base.mustache └── _partials └── head.mustache
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.