Fix hostmeta
This commit is contained in:
parent
367c3e9292
commit
c44b331b2e
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ def ap_article(generator, writer):
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
wfurl = os.path.join(generator.settings['SITEURL'], '.well-known/webfinger?resource={uri}')
|
wfurl = os.path.join(generator.settings['SITEURL'], '.well-known/webfinger?resource={uri}')
|
||||||
hostmeta = f'<xml version="1.0" encoding="UTF-8"?><XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"><Link rel="lrdd" template="{wfurl}" type="application/xrd+xml" /></XRD>'
|
hostmeta = f'<?xml version="1.0" encoding="UTF-8"?><XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"><Link rel="lrdd" template="{wfurl}" type="application/xrd+xml" /></XRD>'
|
||||||
webfinger = {
|
webfinger = {
|
||||||
'subject': f'acct:{author}@{domain}',
|
'subject': f'acct:{author}@{domain}',
|
||||||
'aliases': [
|
'aliases': [
|
||||||
|
|
Loading…
Reference in a new issue