-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
39 lines (32 loc) · 1.59 KB
/
config.toml
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
baseurl = "https://my-awesome.site"
[webmentions]
newDir = "testdata/staging" # the directory where newly created site is
oldDir = "testdata/prod/" # the directory where old (or current) site is
webmentionsFile = "mentions.json" # the file to store pending webmentions in
concurrentFiles = 2 # number of files to process simultaneously, defaults to 1
concurrentRequests = 5 # number of requests that can be simultaneously sent to the same host when sending webmentions
## by default, only the `h-entry` is checked for changes; you can add other parts of a page here
## using CSS selectors
alsoWatch = [
"#webmentions",
".comments",
]
## pages that should not be considered as webmention sources
excludeSources = [
"/tags/*", # only trailing * are supported at the moment
"/posts", # this only excludes /posts/index.html, not /posts/somepost/
"/", # same as "/index.html"
]
## addresses that we don't want to send webmentions to
excludeDestinations = [
"https://my-awesome.site", # this still allows mentioning pages other than the homepage
"mailto:", # schemes are accepted
"/tags" # relative paths for our own site include all the pages under that directory
]
## CSS selectors that we don't want to look into for webmention targets
excludeSelectors = [
"#comments",
]
[params]
websubHub = ["https://pubsubhubbub.superfeedr.com/","https://thehub.pubsub"] # if this is present, will look for changes in XML files and notify the hub(s)
feedFiles = ["index.xml", "other.xml"]