mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 12:52:10 +00:00
Compare commits
2 commits
244eea49ee
...
1a35c861df
Author | SHA1 | Date | |
---|---|---|---|
|
1a35c861df | ||
|
b0d260e82b |
5 changed files with 46 additions and 10 deletions
|
@ -50,14 +50,14 @@ $ tool --help
|
|||
║ ║
|
||||
╚═════════════════════════════════════════════════════════╝
|
||||
|
||||
Usage: tool <command> [options]
|
||||
Usage: tool <command> [options]
|
||||
Commands:
|
||||
tool init [directory] creates a new project
|
||||
tool manage allows you to manage an existing project
|
||||
tool manage allows you to manage an existing project
|
||||
|
||||
Options:
|
||||
--help Show help [boolean]
|
||||
--version Show version number [boolean]
|
||||
--version Show version number [boolean]
|
||||
```
|
||||
|
||||
{{</codefigure>}}
|
||||
|
|
|
@ -175,6 +175,8 @@ More minor corrections:
|
|||
|
||||
- August 2023: I assumed that an account called "Shishihime" was a bot. The admin later claimed that it was an actual user. I then retracted the "bot" description.
|
||||
|
||||
- September 2023: I incorrectly stated that a local user on ap.maladaptive.art was a staff member. I retracted the statement.
|
||||
|
||||
## Important modifications before importing
|
||||
|
||||
**If you have read this far** and plan to import my lists or a list that imports mine, please delete the following fake entries from the lists or modify the "canary" subdomains:
|
||||
|
@ -712,7 +714,7 @@ kompost.cz
|
|||
: [Racism](https://ghostarchive.org/archive/cWEbG), [more racism](https://web.archive.org/web/20230804231946/https://kompost.cz/@fuxoft/110656548914018074), [transphobia](https://web.archive.org/web/20230804232125/https://kompost.cz/@fuxoft/110321506728744090), [queerphobia](https://ghostarchive.org/archive/Nmop2). All from admin.
|
||||
|
||||
maladaptive.art
|
||||
: [Blatant racism in a transphobic sui-bait thread](https://web.archive.org/web/20230927221541/https://ap.maladaptive.art/notice/Aa4MbafnEqYugwYMca) from a local user who [appears to be a staff member](https://web.archive.org/web/20230927222451/https://ap.maladaptive.art/notice/ANZimzWDcU3GqX0dge).
|
||||
: [Blatant racism in a transphobic sui-bait thread](https://web.archive.org/web/20230927221541/https://ap.maladaptive.art/notice/Aa4MbafnEqYugwYMca).
|
||||
: Same user [posting blatant transphobia](https://web.archive.org/web/20230927225431/https://ap.maladaptive.art/@opal/posts/AZM01RTPDcsHmrse24), [misgendering in a transphobic thread](https://web.archive.org/web/20230927224155/https://ap.maladaptive.art/notice/Aa4Mj9DfC7jTrW01OC).
|
||||
|
||||
occultist.space OR enjoyer.network
|
||||
|
|
|
@ -1540,7 +1540,7 @@ A workaround is to use the "text" ARIA role to remove the semantics of elements.
|
|||
```figure {str1="text" str2="br"}
|
||||
<h1>
|
||||
<span role="text">Digital accessibility, <br>
|
||||
for everyone.
|
||||
for everyone.
|
||||
</span>
|
||||
</h1>
|
||||
```
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
{{ $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | truncate 35 -}}
|
||||
{{ end -}}
|
||||
<a class="u-url" itemprop="url" href="{{ $src }}" rel="nofollow ugc">liked</a> this
|
||||
{{ else -}}
|
||||
{{- else -}}
|
||||
{{- if findRE `^https://brid.gy/[^/]*/mastodon` $webmention.source -}}
|
||||
{{- $canonicalSrc := replaceRE "https://brid.gy/.*mastodon/@Seirdy@pleroma.envs.net/([^/]*)(.*)?" `https://pleroma.envs.net/notice/$1` $src -}}
|
||||
<a class="u-url" itemprop="url" href="{{ $canonicalSrc }}" rel="nofollow ugc">
|
||||
|
@ -96,10 +96,10 @@
|
|||
{{- end -}}
|
||||
<span itemprop="name" class="p-name">
|
||||
{{ if $webmention.title -}}
|
||||
{{ $title | truncate 200 | replaceRE ` \n` `
|
||||
{{ $title | truncate 200 | replaceRE ` *\n` `
|
||||
` | safeHTML -}}
|
||||
{{ else -}}
|
||||
{{- $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | truncate 35 -}}
|
||||
{{- $webmention.source | strings.TrimPrefix "https://" | strings.TrimPrefix "www." | strings.TrimRight "/" | replaceRE ` *\n` "\n" | truncate 35 -}}
|
||||
{{ end -}}
|
||||
</span
|
||||
></a>
|
||||
|
@ -110,8 +110,8 @@
|
|||
{{- if findRE `^https://brid.gy/[^/]*/mastodon` $webmention.source -}}
|
||||
<p role="doc-tip" itemprop="accessibilitySummary">This comment may have major formatting errors that could impact screen reader comprehension.</p>
|
||||
{{- end -}}
|
||||
<p><q itemprop="text" class="p-content">{{ $webmention.content | replaceRE `^@Seirdy(@pleroma.envs.net)? ?` "" | replaceRE ` \n` `
|
||||
`}}</q></p>
|
||||
<p><q itemprop="text" class="p-content">{{ $webmention.content | replaceRE `^@Seirdy(@pleroma.envs.net)? ?` "" | replaceRE `([ \t]*)?\n*([ \t]*)?` `
|
||||
` | trim "\n\t" | chomp}}</q></p>
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
</dd>
|
||||
|
|
34
linter-configs/htmlvalidate.json
Normal file
34
linter-configs/htmlvalidate.json
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"extends": [
|
||||
"html-validate:recommended",
|
||||
"html-validate:standard",
|
||||
"html-validate:a11y",
|
||||
"html-validate:document"
|
||||
],
|
||||
"rules": {
|
||||
"attribute-empty-style": [
|
||||
"error",
|
||||
{
|
||||
"style": "empty"
|
||||
}
|
||||
],
|
||||
"attribute-boolean-style": [
|
||||
"error",
|
||||
{
|
||||
"style": "empty"
|
||||
}
|
||||
],
|
||||
"void-style": [
|
||||
"error",
|
||||
{
|
||||
"style": "selfclosing"
|
||||
}
|
||||
],
|
||||
"require-sri": [
|
||||
"off"
|
||||
],
|
||||
"prefer-button": [
|
||||
"off"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue