chore: cleanup
This commit is contained in:
parent
56c9a128f0
commit
e327e44f1d
38 changed files with 93 additions and 106 deletions
14
src/meta/robots.liquid
Normal file
14
src/meta/robots.liquid
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
permalink: "/robots.txt"
|
||||
layout: null
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
Sitemap: https://coryd.dev/sitemap.xml
|
||||
|
||||
User-agent: *
|
||||
Disallow:
|
||||
|
||||
{% for robot in robots -%}
|
||||
User-agent: {{ robot }}
|
||||
{% endfor -%}
|
||||
Disallow: /
|
33
src/meta/webfinger.json.liquid
Normal file
33
src/meta/webfinger.json.liquid
Normal file
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
permalink: "/.well-known/webfinger"
|
||||
layout: null
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
{
|
||||
"subject":"acct:{{ globals.webfinger_username }}@{{ globals.webfinger_hostname }}",
|
||||
"aliases":[
|
||||
"https://{{ globals.webfinger_hostname }}/@{{ globals.webfinger_username }}",
|
||||
"https://{{ globals.webfinger_hostname }}/users/{{ globals.webfinger_username }}"
|
||||
],
|
||||
"links":[
|
||||
{
|
||||
"rel":"http://webfinger.net/rel/profile-page",
|
||||
"type":"text/html",
|
||||
"href":"https://{{ globals.webfinger_hostname }}/@{{ globals.webfinger_username }}"
|
||||
},
|
||||
{
|
||||
"rel":"self",
|
||||
"type":"application/activity+json",
|
||||
"href":"https://{{ globals.webfinger_hostname }}/users/{{ globals.webfinger_username }}"
|
||||
},
|
||||
{
|
||||
"rel":"http://ostatus.org/schema/1.0/subscribe",
|
||||
"template":"https://{{ globals.webfinger_hostname }}/authorize_interaction?uri={uri}"
|
||||
},
|
||||
{
|
||||
"rel":"http://webfinger.net/rel/avatar",
|
||||
"type":"image/png",
|
||||
"href":"{{ globals.cdn_url }}{{ globals.avatar }}?class=squarebase"
|
||||
}
|
||||
]
|
||||
}
|
Reference in a new issue