Browse Source

Add some social links

pull/4/head
LecygneNoir 3 years ago
parent
commit
0c6bdc3939
2 changed files with 14 additions and 3 deletions
  1. +9
    -3
      pelicanconf.py
  2. +5
    -0
      theme/templates/_includes/social_links.html

+ 9
- 3
pelicanconf.py View File

@ -90,9 +90,15 @@ LINKS = (('Blog statique avec Pelican', 'http://getpelican.com/'),
('Thème graphique Elegant', 'http://oncrashreboot.com/elegant-best-pelican-theme-features'),)
# Social widget
#SOCIAL = (('You can add links in your config file', '#'),
# ('Another social link', '#'),)
SOCIAL = ''
SOCIAL = (
("RSS", SITEURL + "/feeds/all.atom.xml"),
("git", "https://git.lecygnenoir.info/LecygneNoir/blog.victor-hery.com"),
("keybase", "https://keybase.io/victorhery"),
("mastodon", "https://mamot.fr/@victorhery"),
("Twitter", "https://twitter.com/victorhery"),
)
SOCIAL_PROFILE_LABEL = "Restez en contact"
DEFAULT_METADATA = {
'status': 'draft',

+ 5
- 0
theme/templates/_includes/social_links.html
File diff suppressed because it is too large
View File


Loading…
Cancel
Save