lmnwest/pelicanconf.py

57 lines
1.5 KiB
Python
Raw Normal View History

2021-08-04 10:19:09 -07:00
#!/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'),
2021-08-04 11:08:56 -07:00
('Source', 'https://git.boringonian.com/trent/lmnwest'),
2021-08-04 10:19:09 -07:00
('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
}