diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2011-05-07 19:56:55 +0100 |
---|---|---|
committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-05-07 19:56:55 +0100 |
commit | 56effc24cbc940bf4423ec24693a045700c5f43e (patch) | |
tree | 5ebe2ee1e93f6dae4f30fad27580736a1faa3c00 /samples | |
parent | e09444fa89ba6d809ae900448892d6ee6e62ea89 (diff) | |
download | pelican-56effc24cbc940bf4423ec24693a045700c5f43e.tar.gz |
Add a DEFAULT_METADATA setting.
It is now possible to have soem default metadata defined in the settings. Fixes #98
Diffstat (limited to 'samples')
-rw-r--r-- | samples/content/cat1/article1.rst | 1 | ||||
-rwxr-xr-x | samples/pelican.conf.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/samples/content/cat1/article1.rst b/samples/content/cat1/article1.rst index 4789543b..1148a8f9 100644 --- a/samples/content/cat1/article1.rst +++ b/samples/content/cat1/article1.rst @@ -2,5 +2,6 @@ Article 1 ######### :date: 2011-02-17 +:yeah: oh yeah ! Article 1 diff --git a/samples/pelican.conf.py b/samples/pelican.conf.py index 07c49d01..20eb1605 100755 --- a/samples/pelican.conf.py +++ b/samples/pelican.conf.py @@ -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",] |