forked from github/pelican
Fix #2888 -- Apply ruff and pyupgrade to templates
This commit is contained in:
parent
903ce3ce33
commit
db241feaa4
3 changed files with 82 additions and 64 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue