From f3a17a3f69a9a7da3e9546abe650fd658e739ea4 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 1 Nov 2021 01:02:23 -0500 Subject: [PATCH] Revert mastodon testing changes --- .editorconfig | 4 ---- config.toml | 12 ------------ layouts/_default/section.activitypub.json | 10 ---------- static/.well-known/host-meta | 4 ---- static/.well-known/webfinger | 16 ---------------- static/mastodon/user.json | 17 ----------------- 6 files changed, 63 deletions(-) delete mode 100644 layouts/_default/section.activitypub.json delete mode 100644 static/.well-known/host-meta delete mode 100644 static/.well-known/webfinger delete mode 100644 static/mastodon/user.json diff --git a/.editorconfig b/.editorconfig index ec6a2b8..4266da6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,7 +7,3 @@ trim_trailing_whitespace = true charset = utf-8 indent_style = space indent_size = 4 - -[*.json] -indent_size = 2 - diff --git a/config.toml b/config.toml index 6b7c7a6..27a505d 100644 --- a/config.toml +++ b/config.toml @@ -11,15 +11,3 @@ language = "languages" endLevel = 4 ordered = true startLevel = 2 - -[mediaTypes."application/activitypub"] -suffixes = ["json"] - -[outputs] -section = ["HTML", "ActivityPub"] - -[outputFormats.ActivityPub] -baseName = "ActivityPub" -mediaType = "application/activitypub" -isPlainText = true - diff --git a/layouts/_default/section.activitypub.json b/layouts/_default/section.activitypub.json deleted file mode 100644 index 0844e7d..0000000 --- a/layouts/_default/section.activitypub.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "posts": [ - {{- range $i, $page := .Pages -}} - {{- if $i -}} , {{- end -}} - { - "title": {{ $page.Title | jsonify }} - } - {{- end -}} - ] -} diff --git a/static/.well-known/host-meta b/static/.well-known/host-meta deleted file mode 100644 index f45bb49..0000000 --- a/static/.well-known/host-meta +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/static/.well-known/webfinger b/static/.well-known/webfinger deleted file mode 100644 index 926ba83..0000000 --- a/static/.well-known/webfinger +++ /dev/null @@ -1,16 +0,0 @@ -{ - "subject": "acct:blogger@mzhang.io", - "aliases": [], - "links": [ - { - "rel": "http://webfinger.net/rel/profile-page", - "type": "text/html", - "href": "https://mzhang.io" - }, - { - "rel": "self", - "type": "application/activity+json", - "href": "https://mzhang.io/mastodon/user.json" - } - ] -} diff --git a/static/mastodon/user.json b/static/mastodon/user.json deleted file mode 100644 index 83ca3ef..0000000 --- a/static/mastodon/user.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "@context": [ - "https://www.w3.org/ns/activitystreams" - ], - "id": "https://mzhang.io/mastodon/user.json", - "type": "Person", - "outbox": "https://mzhang.io/posts/activitypub.json", - "name": "Michael Zhang", - "url": "https://mzhang.io", - "attachment": [ - { - "type": "PropertyValue", - "name": "hellosu", - "value": "https://osu.ppy.sh/u/2688103" - } - ] -}