chore: cleanup

This commit is contained in:
Cory Dransfeldt 2024-10-25 12:52:20 -07:00
parent 56c9a128f0
commit e327e44f1d
No known key found for this signature in database
38 changed files with 93 additions and 106 deletions

14
src/meta/robots.liquid Normal file
View 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: /

View 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"
}
]
}