57 lines
1.5 KiB
Python
57 lines
1.5 KiB
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*- #
|
|
from __future__ import unicode_literals
|
|
|
|
AUTHOR = 'trent'
|
|
SITENAME = 'Landscape Materials NW'
|
|
SITEURL = 'https://lmnwdemo.boringonian.com'
|
|
|
|
PATH = 'content'
|
|
|
|
TIMEZONE = 'America/Los_Angeles'
|
|
|
|
DEFAULT_LANG = 'en'
|
|
|
|
# Feed generation is usually not desired when developing
|
|
FEED_ALL_ATOM = None
|
|
FEED_ALL_RSS = 'feeds/lmnw.all.rss.xml'
|
|
CATEGORY_FEED_ATOM = None
|
|
TRANSLATION_FEED_ATOM = None
|
|
AUTHOR_FEED_ATOM = None
|
|
AUTHOR_FEED_RSS = None
|
|
PLUGIN_PATHS = ["plugins"]
|
|
PLUGINS = ['neighbors', 'tipue_search']
|
|
TIPUE_SEARCH = True
|
|
TEMPLATE_PAGES = {
|
|
'search.html': 'search.html',
|
|
}
|
|
|
|
# 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', '#'),)
|
|
|
|
MENUITEMS = (('RSS', '/feeds/lmnw.all.rss.xml'),
|
|
('Source', 'https://git.boringonian.com/trent/lmnwest'),
|
|
('Search', '/search'),
|
|
('Tags', '/tags'),
|
|
('Facebook', 'http://facebook.com/landscapematerialsnw'),
|
|
('Instagram', 'http://instagram.com/landscapematerialsnw1'),)
|
|
|
|
DEFAULT_PAGINATION = 10
|
|
|
|
THEME = 'themes/simple'
|
|
|
|
SUMMARY_MAX_LENGTH = 50
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
# RELATIVE_URLS = True
|
|
EXTRA_PATH_METADATA = {
|
|
'extra/favicon.ico': {'path': 'favicon.ico'}, # and this
|
|
}
|