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