-
Notifications
You must be signed in to change notification settings - Fork 0
/
publishconf.py
39 lines (30 loc) · 1013 Bytes
/
publishconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
# This file is only used if you use `make publish` or
# explicitly specify it as your config file.
import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *
HOSTNAME = 'luord.com'
SITEURL = f'https://{HOSTNAME}'
RELATIVE_URLS = False
FEED_DOMAIN = SITEURL
FEED_ALL_ATOM = 'feeds/all.atom.xml'
FEED_MAX_ITEMS = 10
CATEGORY_FEED_ATOM = 'feed/{slug}.atom.xml'
NEWSLETTER_URL = 'pages/newsletter'
NEWSLETTER_ENDPOINT = 'https://luord-newsletter.web.val.run/subscribe'
# Following items are often useful when publishing
# SOCIAL SETTINGS
FACEBOOK_USERNAME = "luord"
LINKEDIN_USERNAME = "luis-orduz"
TWITTER_USERNAME = "luord"
# IndieWeb settings
WEBSUB_URL="https://luord.superfeedr.com/"
WEBMENTION_URL="https://webmention.io/luord.com/webmention"
INDIEAUTH_TOKEN="https://tokens.indieauth.com/token"
INDIEAUTH_ENDPOINT="https://indieauth.com/auth"
FEED_EXTRA_ROOT_TAGS = [
{"name": "icon", "contents": f"{FEED_DOMAIN}/{USER_LOGO_ICON}"}
]