mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-30 15:22:09 +00:00
Compare commits
No commits in common. "25367c55e76495be5ccce0074b46f4b3d2bb374b" and "41fee8f13d86791e7e71f54a25415a1fcc440d85" have entirely different histories.
25367c55e7
...
41fee8f13d
6 changed files with 27 additions and 22 deletions
11
Makefile
11
Makefile
|
@ -87,17 +87,8 @@ hint: hugo .hintrc-local
|
||||||
html-validate:
|
html-validate:
|
||||||
pnpm -s dlx html-validate --ext=html -c linter-configs/htmlvalidate.json $(OUTPUT_DIR)
|
pnpm -s dlx html-validate --ext=html -c linter-configs/htmlvalidate.json $(OUTPUT_DIR)
|
||||||
|
|
||||||
.validate-feed-main:
|
|
||||||
scripts/bin/validate-feed file://$(PWD)/$(OUTPUT_DIR)/atom.xml
|
|
||||||
.validate-feed-posts:
|
|
||||||
scripts/bin/validate-feed file://$(PWD)/$(OUTPUT_DIR)/posts/atom.xml
|
|
||||||
.validate-feed-notes:
|
|
||||||
scripts/bin/validate-feed file://$(PWD)/$(OUTPUT_DIR)/notes/atom.xml
|
|
||||||
validate-feeds: .validate-feed-main .validate-feed-posts .validate-feed-notes
|
|
||||||
.PHONY: validate-feeds .validate-feed-main .validate-feed-posts .validate-feed-notes
|
|
||||||
|
|
||||||
.PHONY: lint-local
|
.PHONY: lint-local
|
||||||
lint-local: html-validate validate-html validate-json lint-css htmlproofer validate-feeds
|
lint-local: html-validate validate-html validate-json lint-css htmlproofer
|
||||||
|
|
||||||
# dev server, includes future and draft posts
|
# dev server, includes future and draft posts
|
||||||
.PHONY: serve
|
.PHONY: serve
|
||||||
|
|
|
@ -42,6 +42,15 @@ axe-ff:
|
||||||
|
|
||||||
.PHONY: axe axe-ff
|
.PHONY: axe axe-ff
|
||||||
|
|
||||||
|
.validate-feed-main:
|
||||||
|
scripts/bin/validate-feed $(HUGO_BASEURL)atom.xml
|
||||||
|
.validate-feed-posts:
|
||||||
|
scripts/bin/validate-feed $(HUGO_BASEURL)posts/atom.xml
|
||||||
|
.validate-feed-notes:
|
||||||
|
scripts/bin/validate-feed $(HUGO_BASEURL)notes/atom.xml
|
||||||
|
validate-feeds: .validate-feed-main .validate-feed-posts .validate-feed-notes
|
||||||
|
.PHONY: validate-feeds .validate-feed-main .validate-feed-posts .validate-feed-notes
|
||||||
|
|
||||||
.PHONY: all-extra
|
.PHONY: all-extra
|
||||||
all-extra: axe-ff validate-json equal-access htmlproofer lint-css validate-feeds
|
all-extra: axe-ff validate-json equal-access htmlproofer lint-css validate-feeds
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@ This repository is pushed to the following forges:
|
||||||
- [Sourcehut](https://sr.ht/~seirdy/seirdy.one/)
|
- [Sourcehut](https://sr.ht/~seirdy/seirdy.one/)
|
||||||
- [GitLab.com](https://gitlab.com/Seirdy/seirdy.one)
|
- [GitLab.com](https://gitlab.com/Seirdy/seirdy.one)
|
||||||
- [GitHub](https://github.com/Seirdy/seirdy.one)
|
- [GitHub](https://github.com/Seirdy/seirdy.one)
|
||||||
- [Codeberg (forgejo)](https://codeberg.org/Seirdy/seirdy.one)
|
- [Codeberg](https://codeberg.org/Seirdy/seirdy.one)
|
||||||
- [envs.net (gitea)](https://git.envs.net/Seirdy/seirdy.one)
|
- [envs.net gitea](https://git.envs.net/Seirdy/seirdy.one)
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
|
|
|
@ -183,9 +183,11 @@ html {
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
|
html,
|
||||||
main,
|
main,
|
||||||
pre,
|
pre,
|
||||||
summary,
|
summary,
|
||||||
|
dl > div,
|
||||||
:not(nav) > ol,
|
:not(nav) > ol,
|
||||||
[role="doc-endnotes"],
|
[role="doc-endnotes"],
|
||||||
[role="doc-preface"] {
|
[role="doc-preface"] {
|
||||||
|
@ -255,6 +257,7 @@ html {
|
||||||
dd {
|
dd {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: .25em .25em .5em 1.75em;
|
padding: .25em .25em .5em 1.75em;
|
||||||
|
contain: inline-size layout paint;
|
||||||
}
|
}
|
||||||
|
|
||||||
aside > a,
|
aside > a,
|
||||||
|
@ -284,9 +287,11 @@ html {
|
||||||
margin-left: -.25em;
|
margin-left: -.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 + ul a {
|
/* stylelint-disable selector-max-compound-selectors -- simplest way to target post-meta */
|
||||||
|
h1 + ul > li > a {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
/* stylelint-enable selector-max-compound-selectors */
|
||||||
|
|
||||||
/* Increase tap-target size of title links. */
|
/* Increase tap-target size of title links. */
|
||||||
|
|
||||||
|
|
|
@ -287,10 +287,8 @@ asbestos.cafe {#asbestos}
|
||||||
: [Antisemitism from local user](https://web.archive.org/web/20230803032450/https://shrine.moe/notice/AYJfESHlqB0IvHPfqS) followed by ableism from admin.
|
: [Antisemitism from local user](https://web.archive.org/web/20230803032450/https://shrine.moe/notice/AYJfESHlqB0IvHPfqS) followed by ableism from admin.
|
||||||
: [Queerphobic user](https://web.archive.org/web/20230803032850/https://pl.starnix.network/notice/AY1JMsQpMH4NukiNE0).
|
: [Queerphobic user](https://web.archive.org/web/20230803032850/https://pl.starnix.network/notice/AY1JMsQpMH4NukiNE0).
|
||||||
|
|
||||||
bae.st {#baest} OR skippers-bin.com
|
bae.st {#baest}
|
||||||
: [Admin profile page has an "n-word pass"](https://web.archive.org/web/20230730000208/https://bae.st/sjw). Runs a host of bots posting lewd artwork, some of which venture into lolicon and Black-fetishism territory (e.g. "NessaBot"). Runs "glow_in_the_dark_cia_agent", one of the biggest followbots on Fedi. Instance rejects deletes.
|
: [Admin profile page has an "n-word pass"](https://web.archive.org/web/20230730000208/https://bae.st/sjw). Runs a host of bots posting lewd artwork, some of which venture into lolicon and Black-fetishism territory (e.g. "NessaBot"). Runs "glow_in_the_dark_cia_agent", one of the biggest followbots on Fedi. Instance rejects deletes.
|
||||||
: [Another admin has a Confederate battle-flag and unreclaimed transphobic slurs in their display name](https://web.archive.org/web/20231117114815/https://bae.st/users/mactonite).
|
|
||||||
: [skippers-bin.com is run by the same person as bae.st](http://archive.today/2023.11.17-114233/https://skippers-bin.com/@sjw).
|
|
||||||
|
|
||||||
banepo.st {#banepost}
|
banepo.st {#banepost}
|
||||||
: [Runs a blockbot](https://archive.ph/2c9Js). Admin posts [antisemitism, homophobia, and transphobia in one post](https://web.archive.org/web/20230730035807/https://www.banepo.st/notice/AXRzgFfrwY1BRaa9SK), [another with more of the same](https://archive.ph/JxXRv), [all of that with a side of ableism](https://web.archive.org/web/20230730040446/https://www.banepo.st/notice/AXql6rXn1tybo4umiO).
|
: [Runs a blockbot](https://archive.ph/2c9Js). Admin posts [antisemitism, homophobia, and transphobia in one post](https://web.archive.org/web/20230730035807/https://www.banepo.st/notice/AXRzgFfrwY1BRaa9SK), [another with more of the same](https://archive.ph/JxXRv), [all of that with a side of ableism](https://web.archive.org/web/20230730040446/https://www.banepo.st/notice/AXql6rXn1tybo4umiO).
|
||||||
|
@ -540,7 +538,7 @@ nicecrew.digital {#nicecrew}
|
||||||
: Has [a bot to spam threads with racist slurs](http://archive.today/2023.08.03-153949/https://nicecrew.digital/@nice-nigger).
|
: Has [a bot to spam threads with racist slurs](http://archive.today/2023.08.03-153949/https://nicecrew.digital/@nice-nigger).
|
||||||
|
|
||||||
nnia.cc OR nnia.space {#nnia}
|
nnia.cc OR nnia.space {#nnia}
|
||||||
: Paraphile pro-zoo pro-MAP instance that also allows both minors and pro-contact users to register. [Pro-C zoosexuality](https://web.archive.org/web/20230819210233/https://nnia.space/@scramblecore/110910301694831861).
|
: Paraphile pro-zoo pro-MAP _and pro-contact_ instance that also allows minors. [Pro-C zoosexuality](https://web.archive.org/web/20230819210233/https://nnia.space/@scramblecore/110910301694831861). They try to avoid getting defederated by moving discourse around contact stances to their Matrix servers, but is very clearly full of pro-C individuals and minors alike.
|
||||||
: nnia.cc is a newer instance that [claims to be a continuation of nnia.space](https://web.archive.org/web/20231104224647/https://nnia.cc/about). It also claims to have closed federation, but I included it alongside nnia.space should that ever change, since I can't imagine that FediNuke users would wish to federate with it anyway.
|
: nnia.cc is a newer instance that [claims to be a continuation of nnia.space](https://web.archive.org/web/20231104224647/https://nnia.cc/about). It also claims to have closed federation, but I included it alongside nnia.space should that ever change, since I can't imagine that FediNuke users would wish to federate with it anyway.
|
||||||
|
|
||||||
noagendasocial.com {#nas}
|
noagendasocial.com {#nas}
|
||||||
|
|
|
@ -17,19 +17,21 @@
|
||||||
{{- $oldTarget := $target | replaceRE "/posts" "" | replaceRE "/$" ".html" -}}
|
{{- $oldTarget := $target | replaceRE "/posts" "" | replaceRE "/$" ".html" -}}
|
||||||
{{ $targets = (slice $target $oldTarget) }}
|
{{ $targets = (slice $target $oldTarget) }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- /* We can't just use a simple "where" function because we need to ignore URL anchors/query-params when making a comparison: https://discourse.gohugo.io/t/add-like-comparison-operator-to-the-where-function/42013/4 */ -}}
|
{{- /* We can't just use a simple "where" function because we need to ignore URL anchors when making a comparison: https://discourse.gohugo.io/t/add-like-comparison-operator-to-the-where-function/42013/4 */ -}}
|
||||||
{{- $webmentions := slice -}}
|
{{- $webmentions := slice -}}
|
||||||
{{- range $allMentions -}}
|
{{- range $allMentions -}}
|
||||||
{{- if in $targets .target -}}
|
{{- if in $targets .target -}}
|
||||||
{{ $webmentions = $webmentions | append . }}
|
{{ $webmentions = $webmentions | append . }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $u := urls.Parse .target -}}
|
{{- $fragment := printf `#%s` (urls.Parse .target).Fragment -}}
|
||||||
{{- $trimmedTarget := printf `https://%s%s` $u.Hostname $u.Path -}}
|
{{- if gt (len $fragment) 1 -}}
|
||||||
|
{{- $trimmedTarget := strings.TrimSuffix $fragment .target -}}
|
||||||
{{- if in $targets $trimmedTarget -}}
|
{{- if in $targets $trimmedTarget -}}
|
||||||
{{ $webmentions = $webmentions | append . }}
|
{{ $webmentions = $webmentions | append . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
{{- /* Render webmentions if they exist */ -}}
|
{{- /* Render webmentions if they exist */ -}}
|
||||||
{{- $count := (len $webmentions) -}}
|
{{- $count := (len $webmentions) -}}
|
||||||
{{- if gt $count 0 -}}
|
{{- if gt $count 0 -}}
|
||||||
|
|
Loading…
Reference in a new issue