The 'src' directory is created when you run By default, tt2site creates the following subdirectiories in
'src':
What you do need to modify are the files in the 'lib' directory:
The TT2Site library templates reside in the For the time being, the contents of the files need to be taken as a
guide how to write your own. Here is a short description of some
files:
setup
, and
the 'html' directory is created when you first use the
build
subcommand.
src/images
src/css
css
contains the style sheet for the site. As you
might guess, you can edit css/site.css
to change a number
of aspects of the look of your website one place.
You will also see that an 'etc' directory has been created, with
this file in it:
etc/ttree.cfg
You shouldn't need to modify this.
lib/config/site
lib/config/images
Template::TT2Site site is configured to take templates from two
sources: from the local directory, and from the TT2Site library.
The templates in the library directory provide (almost) all the
necessary information to create the site (except for the contents, of
course), the library templates can be overruled locally to customize a
particular site.
lib
directory. Its major subdirectories are config
(configuration data), page
(page formatting), and
util
(utility functions).
config/main
config/site
config/images
config/lang
page/wrapper
page/html
page/layout