Fix hostmeta

This commit is contained in:
s3lph 2022-11-18 01:09:40 +01:00
parent 367c3e9292
commit c44b331b2e
Signed by: s3lph
GPG Key ID: 8AC98A811E5BEFF5
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ def ap_article(generator, writer):
}
}
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 = {
'subject': f'acct:{author}@{domain}',
'aliases': [