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

@ -3,19 +3,20 @@
import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *
# If your site is available via HTTPS, make sure SITEURL begins with https://
SITEURL = '{{siteurl}}'
SITEURL = "{{siteurl}}"
RELATIVE_URLS = False
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml"
DELETE_OUTPUT_DIRECTORY = True
# Following items are often useful when publishing
#DISQUS_SITENAME = ""
#GOOGLE_ANALYTICS = ""
# DISQUS_SITENAME = ""
# GOOGLE_ANALYTICS = ""