Theme settings
A theme may optionally contain a settings.properties files that contains a list of properties that apply to the whole site.
Some of theses properties are used by Gianadda itself, while some others are only used in the theme’s templates.
The following properties are used by Gianadda:
preview-size
: size of the preview (large) images. default:800,600
thumb-size
: size of the thumbnails. default:150,100
pic-name-pattern
: regexp to filter picture image names. default:^[^.].*[.](jpg|jpeg)$
dir-name-pattern
: regexp to filter folder names. default:^[^._].*$
template-name-pattern
: regexp to filter template names. default:^[^.].*[.](html|css|txt|xml|rss)$
preview-template
: name of the preview template. default:preview.html
track-template
: name of the track template template. default:track.html
folder-meta-name
: name of the file containing the folder’s metadata. default:folder-meta.xml
simplify
:true
if the tracks are to be simplified with the Douglas-Peucker algorithm. default:true
tolerance
: tolerance for the Douglas-Peucker algorithm, in meters. default:5