enabled gram plugin and modified cookiecutter script

This commit is contained in:
Marvin Steadfast 2015-10-05 15:46:31 +02:00
parent f665406c14
commit 0ee4ccc582
2 changed files with 2 additions and 1 deletions

View File

@ -6,5 +6,6 @@ import pytz
cookiecutter(
'cookiecutter-new-post',
overwrite_if_exists=True,
extra_context={
'date': datetime.utcnow().replace(tzinfo=pytz.utc).astimezone(get_localzone()).strftime('%Y-%m-%d %H:%M')})

View File

@ -65,7 +65,7 @@ ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['liquid_tags.youtube', 'liquid_tags.vimeo', 'liquid_tags.notebook',
'liquid_tags.flickr', 'liquid_tags.soundcloud', 'liquid_tags.giphy',
'liquid_tags.audio', 'tipue_search']
'liquid_tags.audio', 'liquid_tags.gram', 'tipue_search']
NOTEBOOK_DIR = 'notebooks'
EXTRA_HEADER = open('_nb_header.html').read().replace(