Compare commits

...

13 Commits

14 changed files with 133 additions and 10 deletions

15
.gitattributes vendored
View File

@ -12,12 +12,15 @@
*.{md,markdown} diff=markdown *.{md,markdown} diff=markdown
# These don't feel like mine # These don't feel like mine
.github/** text=auto -linguist-detectable .github/** text=auto -linguist-detectable linguist-vendored
css/** text=auto -linguist-detectable css/** text=auto -linguist-detectable linguist-vendored
_data/** text=auto -linguist-detectable _data/** text=auto -linguist-detectable linguist-vendored
_includes/** text=auto -linguist-detectable _includes/** text=auto -linguist-detectable linguist-vendored
_layouts/** text=auto -linguist-detectable _layouts/** text=auto -linguist-detectable linguist-vendored
_sass/** text=auto -linguist-detectable _sass/** text=auto -linguist-detectable linguist-vendored
# automagic
package.json text -linguist-detectable linguist-vendored
pnpm-lock.yaml -linguist-detectable linguist-vendored
# Unnecessary for statistics # Unnecessary for statistics
Gemfile text linguist-vendored Gemfile text linguist-vendored

View File

@ -26,6 +26,15 @@ updates:
interval: "daily" interval: "daily"
timezone: "Europe/Helsinki" timezone: "Europe/Helsinki"
groups: groups:
github-actions: gitsubmodule:
patterns:
- "*"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
groups:
npm:
patterns: patterns:
- "*" - "*"

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ keys.txt.asc
.jekyll-cache .jekyll-cache
.jekyll-metadata .jekyll-metadata
vendor/ vendor/
node_modules/

0
.prettierrc Normal file
View File

23
_includes/ad.html vendored Normal file
View File

@ -0,0 +1,23 @@
<detect-missing-adblocker>
<hr/>
<span slot="title"><p>Dear reader, you may be missing a content blocker!
🙀</p></span>
<span slot="message">
<p>Please consider installing one to protect yourself, and your close ones,
from <a
href="https://www.wired.com/story/why-dont-we-just-ban-targeted-advertising/">manipulation</a> and <a
href="https://en.m.wikipedia.org/wiki/Malvertising">targeted
malvertising</a>!</p>
<p>Personally I love <a href="https://privacybadger.org">Privacy Badger</a> and
<a href="https://github.com/gorhill/uBlock/blob/master/README.md">uBlock Origin</a>
with
(<a href="https://www.eff.org/files/effdntlist.txt">EFF DNT Policy Allowlist</a>)
although Android users may be better served by <a href="https://f-droid.org/packages/com.celzero.bravedns">Rethink</a> while
for iOS there is <a
href="https://adguard.com/adguard-ios/overview.html">AdGuard</a>.</p>
<p><a
href="https://en.m.wikipedia.org/wiki/Targeted_advertising#Disadvantages">Learn
more about targeted advertising!</a>
</span>
<hr/>
</detect-missing-adblocker>

4
_includes/head.html vendored
View File

@ -30,4 +30,8 @@
<!-- https://indieweb.org/How_to_set_up_web_sign-in_on_your_own_domain#How_to_setup_RelMeAuth - regardless of antipattern, the things I do for verified checkboxes at Mastodon... --> <!-- https://indieweb.org/How_to_set_up_web_sign-in_on_your_own_domain#How_to_setup_RelMeAuth - regardless of antipattern, the things I do for verified checkboxes at Mastodon... -->
<link rel="me" type="application/activity+json" href="https://sauna.social/users/aminda" /> <link rel="me" type="application/activity+json" href="https://sauna.social/users/aminda" />
<link rel="me" type="application/activity+json" href="https://mastodon.pirateparty.be/users/MikaelaPPFI" /> <link rel="me" type="application/activity+json" href="https://mastodon.pirateparty.be/users/MikaelaPPFI" />
<!-- https://github.com/macdonst/detect-missing-adblocker -->
<script type="module" src="https://unpkg.com/detect-missing-adblocker@latest/dist/detect-missing-adblocker.js?module=true"></script>
<link rel="stylesheet" href="https://unpkg.com/detect-missing-adblocker@latest/nativeads.js.css">
</head> </head>

View File

@ -9,6 +9,6 @@
<div class="wrapper">{{ content }}</div> <div class="wrapper">{{ content }}</div>
</div> </div>
{% include footer.html %} {% include footer.html %} {% include ad.html %}
</body> </body>
</html> </html>

1
_layouts/index.html vendored
View File

@ -8,5 +8,6 @@
<div class="page-content"> <div class="page-content">
<div class="wrapper">{{ content }}</div> <div class="wrapper">{{ content }}</div>
</div> </div>
{% include ad.html %}
</body> </body>
</html> </html>

1
_layouts/mini.html vendored
View File

@ -4,4 +4,5 @@
<body> <body>
{{ content }} {{ content }}
</body> </body>
{% include ad.html %}
</html> </html>

3
_layouts/page.html vendored
View File

@ -6,6 +6,7 @@ layout: default
<header class="post-header"> <header class="post-header">
<h1 class="post-title">{{ page.title }}</h1> <h1 class="post-title">{{ page.title }}</h1>
</header> </header>
<article class="post-content">{{ content }}</article> <article class="post-content">{{ content }}</article>
</div> </div>
{% include ad.html %}

3
_layouts/post.html vendored
View File

@ -21,9 +21,10 @@ tags_content_temp %} {% endif %} {% endfor %} {% else %} {% assign tags_content
}}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %} }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}
</p> </p>
</header> </header>
<article class="post-content"> <article class="post-content">
{{ content }} {{ content }}
<p id="post-meta">{{ tags_content }}</p> <p id="post-meta">{{ tags_content }}</p>
</article> </article>
</div> </div>
{% include ad.html %}

6
package.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"devDependencies": {
"@prettier/plugin-xml": "3.4.1",
"prettier": "3.2.5"
}
}

68
pnpm-lock.yaml generated vendored Normal file
View File

@ -0,0 +1,68 @@
lockfileVersion: "9.0"
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
devDependencies:
"@prettier/plugin-xml":
specifier: 3.4.1
version: 3.4.1(prettier@3.2.5)
prettier:
specifier: 3.2.5
version: 3.2.5
packages:
"@prettier/plugin-xml@3.4.1":
resolution:
{
integrity: sha512-Uf/6/+9ez6z/IvZErgobZ2G9n1ybxF5BhCd7eMcKqfoWuOzzNUxBipNo3QAP8kRC1VD18TIo84no7LhqtyDcTg==,
}
peerDependencies:
prettier: ^3.0.0
"@xml-tools/parser@1.0.11":
resolution:
{
integrity: sha512-aKqQ077XnR+oQtHJlrAflaZaL7qZsulWc/i/ZEooar5JiWj1eLt0+Wg28cpa+XLney107wXqneC+oG1IZvxkTA==,
}
chevrotain@7.1.1:
resolution:
{
integrity: sha512-wy3mC1x4ye+O+QkEinVJkPf5u2vsrDIYW9G7ZuwFl6v/Yu0LwUuT2POsb+NUWApebyxfkQq6+yDfRExbnI5rcw==,
}
prettier@3.2.5:
resolution:
{
integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==,
}
engines: { node: ">=14" }
hasBin: true
regexp-to-ast@0.5.0:
resolution:
{
integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==,
}
snapshots:
"@prettier/plugin-xml@3.4.1(prettier@3.2.5)":
dependencies:
"@xml-tools/parser": 1.0.11
prettier: 3.2.5
"@xml-tools/parser@1.0.11":
dependencies:
chevrotain: 7.1.1
chevrotain@7.1.1:
dependencies:
regexp-to-ast: 0.5.0
prettier@3.2.5: {}
regexp-to-ast@0.5.0: {}

5
r/dnt.md Normal file
View File

@ -0,0 +1,5 @@
---
redirect_to: https://www.eff.org/files/effdntlist.txt
permalink: /r/dnt.html
sitemap: false
---