chore: webfinger -- deps
This commit is contained in:
parent
0c21aa06d0
commit
6004eae584
5 changed files with 35 additions and 26 deletions
|
@ -9,7 +9,6 @@ const markdownItFootnote = require('markdown-it-footnote')
|
||||||
const filters = require('./config/filters.js')
|
const filters = require('./config/filters.js')
|
||||||
const dateFilters = require('./config/dateFilters.js')
|
const dateFilters = require('./config/dateFilters.js')
|
||||||
const mediaFilters = require('./config/mediaFilters.js')
|
const mediaFilters = require('./config/mediaFilters.js')
|
||||||
const activityPubPlugin = require('eleventy-plugin-activity-pub')
|
|
||||||
const now = String(Date.now())
|
const now = String(Date.now())
|
||||||
|
|
||||||
// load .env
|
// load .env
|
||||||
|
@ -22,14 +21,6 @@ module.exports = function (eleventyConfig) {
|
||||||
eleventyConfig.addPlugin(pluginUnfurl)
|
eleventyConfig.addPlugin(pluginUnfurl)
|
||||||
eleventyConfig.addPlugin(pluginFilesMinifier)
|
eleventyConfig.addPlugin(pluginFilesMinifier)
|
||||||
eleventyConfig.addPlugin(schema)
|
eleventyConfig.addPlugin(schema)
|
||||||
eleventyConfig.addPlugin(activityPubPlugin, {
|
|
||||||
username: 'hi',
|
|
||||||
domain: 'coryd.dev',
|
|
||||||
alias: {
|
|
||||||
username: 'cory',
|
|
||||||
domain: 'social.lol',
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
// tailwind watches
|
// tailwind watches
|
||||||
eleventyConfig.addWatchTarget('./tailwind.config.js')
|
eleventyConfig.addWatchTarget('./tailwind.config.js')
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
"@typescript-eslint/parser": "^5.59.7",
|
"@typescript-eslint/parser": "^5.59.7",
|
||||||
"autoprefixer": "^10.4.2",
|
"autoprefixer": "^10.4.2",
|
||||||
"dotenv-flow": "^3.2.0",
|
"dotenv-flow": "^3.2.0",
|
||||||
"eleventy-plugin-activity-pub": "^0.1.1",
|
|
||||||
"eleventy-plugin-unfurl": "^1.0.0",
|
"eleventy-plugin-unfurl": "^1.0.0",
|
||||||
"eslint-plugin-jsx-a11y": "^6.7.1",
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
|
|
35
src/feeds/webfinger.liquid
Normal file
35
src/feeds/webfinger.liquid
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
---
|
||||||
|
permalink: '.well-known/webfinger'
|
||||||
|
eleventyExcludeFromCollections: true
|
||||||
|
dynamicPermalink: false
|
||||||
|
---
|
||||||
|
{
|
||||||
|
"subject": "acct:coryd@social.lol",
|
||||||
|
"aliases": ["https://coryd.dev", "https://social.lol/@coryd", "https://social.lol/users/coryd"],
|
||||||
|
"links": [
|
||||||
|
{
|
||||||
|
"rel": "http://webfinger.net/rel/avatar",
|
||||||
|
"type": "image/webp",
|
||||||
|
"href": "https://coryd.dev/static/images/avatar.webp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rel": "http://webfinger.net/rel/profile-page",
|
||||||
|
"type": "text/html",
|
||||||
|
"href": "https://coryd.dev"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rel": "http://webfinger.net/rel/profile-page",
|
||||||
|
"type": "text/html",
|
||||||
|
"href": "https://social.lol/users/coryd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rel": "self",
|
||||||
|
"type": "application/activity+json",
|
||||||
|
"href": "https://social.lol/users/coryd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rel": "http://ostatus.org/schema/1.0/subscribe",
|
||||||
|
"template": "social.lol/authorize_interaction?uri={uri}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -37,15 +37,6 @@
|
||||||
"value": "application/jrd+json; charset=utf-8"
|
"value": "application/jrd+json; charset=utf-8"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"source": "/hi",
|
|
||||||
"headers": [
|
|
||||||
{
|
|
||||||
"key": "Content-Type",
|
|
||||||
"value": "application/activity+json; charset=utf-8"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"redirects": [
|
"redirects": [
|
||||||
|
|
|
@ -1870,13 +1870,6 @@ electron-to-chromium@^1.4.284:
|
||||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.373.tgz#58eb1c180e56550fdbf8cd6e4f04a84abd414bb9"
|
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.373.tgz#58eb1c180e56550fdbf8cd6e4f04a84abd414bb9"
|
||||||
integrity sha512-whGyixOVSRlyOBQDsRH9xltFaMij2/+DQRdaYahCq0P/fiVnAVGaW7OVsFnEjze/qUo298ez9C46gnALpo6ukg==
|
integrity sha512-whGyixOVSRlyOBQDsRH9xltFaMij2/+DQRdaYahCq0P/fiVnAVGaW7OVsFnEjze/qUo298ez9C46gnALpo6ukg==
|
||||||
|
|
||||||
eleventy-plugin-activity-pub@^0.1.1:
|
|
||||||
version "0.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/eleventy-plugin-activity-pub/-/eleventy-plugin-activity-pub-0.1.1.tgz#1e23e71a3502154d599c3e1bb2dccf16c3838236"
|
|
||||||
integrity sha512-9U4gEKi5mlk4J73NF6i33Qyp5+GKm20A9D6ExwuJnQP7nalbFpSblpTsdebU6/vDJeC82fsP/Klt2jNPFPsLew==
|
|
||||||
dependencies:
|
|
||||||
node-fetch "^2.6.7"
|
|
||||||
|
|
||||||
eleventy-plugin-heroicons@^1.1.0:
|
eleventy-plugin-heroicons@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/eleventy-plugin-heroicons/-/eleventy-plugin-heroicons-1.1.0.tgz#5799b37251269e9d3b46c27185f724d319f4b28b"
|
resolved "https://registry.yarnpkg.com/eleventy-plugin-heroicons/-/eleventy-plugin-heroicons-1.1.0.tgz#5799b37251269e9d3b46c27185f724d319f4b28b"
|
||||||
|
|
Reference in a new issue