1
0
Fork 0
forked from github/pelican

Fix #2888 -- Apply ruff and pyupgrade to templates

This commit is contained in:
Paolo Melchiorre 2023-11-12 15:06:02 +01:00
commit db241feaa4
No known key found for this signature in database
GPG key ID: 5F8222398E1ED035
3 changed files with 82 additions and 64 deletions

View file

@ -1,8 +1,8 @@
AUTHOR = {{author}}
SITENAME = {{sitename}}
SITEURL = ''
SITEURL = ""
PATH = 'content'
PATH = "content"
TIMEZONE = {{timezone}}
@ -16,16 +16,20 @@ 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', '#'),)
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', '#'),)
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
# RELATIVE_URLS = True