mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
In the documentation, both `SOCIAL` and `LINKS` are described as a list of tuples, but all examples show them as tuples of tuples. It makes the most sense for them to be lists, so the examples should match the docs going forward. Similarly, `LOCALE` is described as a list, but the examples show it as a tuple. Likewise, the examples should be lists, in line with the description.
35 lines
801 B
Django/Jinja
35 lines
801 B
Django/Jinja
AUTHOR = {{author}}
|
|
SITENAME = {{sitename}}
|
|
SITEURL = ""
|
|
|
|
PATH = "content"
|
|
|
|
TIMEZONE = {{timezone}}
|
|
|
|
DEFAULT_LANG = {{lang}}
|
|
|
|
# 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", "https://getpelican.com/"),
|
|
("Python.org", "https://www.python.org/"),
|
|
("Jinja2", "https://palletsprojects.com/p/jinja/"),
|
|
("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 = {{default_pagination}}
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
# RELATIVE_URLS = True
|