Add a DEFAULT_METADATA setting.

It is now possible to have soem default metadata defined in the settings. Fixes #98
This commit is contained in:
Alexis Metaireau 2011-05-07 19:56:55 +01:00
commit 56effc24cb
5 changed files with 11 additions and 1 deletions

View file

@ -2,5 +2,6 @@ Article 1
#########
:date: 2011-02-17
:yeah: oh yeah !
Article 1

View file

@ -24,4 +24,7 @@ SOCIAL = (('twitter', 'http://twitter.com/ametaireau'),
('lastfm', 'http://lastfm.com/user/akounet'),
('github', 'http://github.com/ametaireau'),)
# global metadata to all the contents
DEFAULT_METADATA = (('yeah', 'it is'),)
STATIC_PATHS = ["pictures",]