Skip to content

Commit

Permalink
feat: add a LOGO settings to pelican for SEO enhancer
Browse files Browse the repository at this point in the history
  • Loading branch information
g0di committed Jan 20, 2025
1 parent 2daeb05 commit a2bab6f
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions pelicanconf.py
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
from urllib.parse import urljoin

AUTHOR = 'Benoît Godard'
DEFAULT_LANG = 'en'
DEFAULT_DATE_FORMAT = '%Y-%m-%d'
AUTHOR = "Benoît Godard"
DEFAULT_LANG = "en"
DEFAULT_DATE_FORMAT = "%Y-%m-%d"
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_PAGES_ON_MENU = False
JINJA_FILTERS = { "urljoin": urljoin }
JINJA_FILTERS = {"urljoin": urljoin}
LINKS = (
('fastapi-problem-details', 'https://github.com/g0di/fastapi-problem-details'),
('rename', 'https://github.com/g0di/rename')
("fastapi-problem-details", "https://github.com/g0di/fastapi-problem-details"),
("rename", "https://github.com/g0di/rename"),
)
LOGO = "https://g0di.github.io/images/benoit-godard.jpg"
MENUITEMS = (
('Articles', '/category/articles.html'),
('Curated', '/category/curated.html'),
('Tags', '/tags.html'),
('About me', '/pages/about.html'),
("Articles", "/category/articles.html"),
("Curated", "/category/curated.html"),
("Tags", "/tags.html"),
("About me", "/pages/about.html"),
)
PATH = "content"
SEO_ARTICLES_LIMIT = 20
SEO_ENHANCER = True
SEO_ENHANCER_OPEN_GRAPH = True
SEO_ENHANCER_TWITTER_CARDS = True
SEO_PAGES_LIMIT = 20
SITENAME = 'Yet Another Dev Blog'
SITENAME = "Yet Another Dev Blog"
SITEURL = "http://localhost:8000"
STATIC_PATHS = [
'images',
'favicon.ico',
'apple-touch-icon.png',
'favicon-16x16.png',
'favicon-32x32.png',
'site.webmanifest',
'android-chrome-192x192.png',
'android-chrome-512x512.png'
"images",
"favicon.ico",
"apple-touch-icon.png",
"favicon-16x16.png",
"favicon-32x32.png",
"site.webmanifest",
"android-chrome-192x192.png",
"android-chrome-512x512.png",
]
SUMMARY_MAX_LENGTH = None
SUMMARY_MAX_PARAGRAPHS = 1
THEME= './themes/notmyidea2'
TIMEZONE = 'Europe/Paris'
THEME = "./themes/notmyidea2"
TIMEZONE = "Europe/Paris"
SOCIAL = (
("GitHub", "https://github.com/g0di"),
("LinkedIn", "https://www.linkedin.com/in/benoit-godard-0b40a7122"),

)

0 comments on commit a2bab6f

Please sign in to comment.