You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.5 KiB
63 lines
1.5 KiB
#!/usr/bin/env python |
|
# -*- coding: utf-8 -*- # |
|
from __future__ import unicode_literals |
|
|
|
AUTHOR = 'Aprar' |
|
SITENAME = 'OS Oráčov 40+' |
|
SITEURL = '' |
|
|
|
PATH = 'content' |
|
|
|
TIMEZONE = 'Europe/Prague' |
|
|
|
DEFAULT_LANG = 'cs' |
|
|
|
# Feed generation is usually not desired when developing |
|
FEED_ALL_ATOM = None |
|
CATEGORY_FEED_ATOM = None |
|
TRANSLATION_FEED_ATOM = None |
|
AUTHOR_FEED_ATOM = None |
|
AUTHOR_FEED_RSS = None |
|
|
|
# Blogroll |
|
#LINKS = (('Pelican', 'http://getpelican.com/'), |
|
# ('Python.org', 'http://python.org/'), |
|
# ('Jinja2', 'http://jinja.pocoo.org/'), |
|
# ('You can modify those links in your config file', '#'),) |
|
|
|
# Social widget |
|
#SOCIAL = (('You can add links in your config file', '#'), |
|
# ('Another social link', '#'),) |
|
|
|
DEFAULT_PAGINATION = 10 |
|
|
|
# Uncomment following line if you want document-relative URLs when developing |
|
#RELATIVE_URLS = True |
|
|
|
#moje pridane |
|
STATIC_PATHS = ['images', 'static'] |
|
EXTRA_PATH_METADATA = { |
|
'static/index.stupid': {'path': 'index.html'}, |
|
} |
|
PLUGIN_PATHS = ["github/pelican-plugins"] |
|
PLUGINS = ["photos"] |
|
THEME = "theme" |
|
#THEME = "github/pelican-themes/sneakyidea" |
|
|
|
PHOTO_LIBRARY = "content/gallery" |
|
#PHOTO_LIBRARY = "/mnt/data/pohadky/osoracov-web/content/gallery" |
|
#PHOTO_LIBRARY = "~/osoracov/content/gallery" |
|
PHOTO_GALLERY = (1024, 768, 80) |
|
PHOTO_THUMB = (192, 144, 60) |
|
PHOTO_RESIZE_JOBS = 5 |
|
PHOTO_WATERMARK = False |
|
|
|
RELATIVE_URLS = True |
|
|
|
#STANDALONE_CATEGORY_PAGES = [ |
|
# { |
|
# 'category_name': 'Fotogalerie', |
|
# 'page_template': 'page', |
|
# 'article_template': 'article' |
|
# }, |
|
# ]
|
|
|