Compare commits

...

2 Commits

Author SHA1 Message Date
Moritz Hölting 25689c88e0 update dependencies 2025-02-09 18:15:16 +01:00
Moritz Hölting f73478a9d1 add onion site as meta tag http-equiv 2025-02-09 17:57:19 +01:00
4 changed files with 4211 additions and 4099 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site output
uses: withastro/action@v1
uses: withastro/action@v2
with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
@ -36,4 +36,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

View File

@ -14,14 +14,14 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@astrojs/check": "^0.5.10",
"@astrojs/mdx": "^2.2.4",
"@astrojs/rss": "^4.0.5",
"@astrojs/sitemap": "^3.1.2",
"@astrojs/solid-js": "^4.0.1",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^4.0.8",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/solid-js": "^5.0.4",
"@astrojs/tailwind": "^6.0.0",
"@tailwindcss/typography": "^0.5.12",
"astro": "^4.5.16",
"astro": "^5.2.5",
"astro-og-canvas": "^0.4.2",
"canvaskit-wasm": "^0.39.1",
"clsx": "^2.1.0",

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
---
import { ViewTransitions } from "astro:transitions";
import { ClientRouter } from "astro:transitions";
export interface Props {
title: string;
@ -66,12 +66,18 @@ const { title, description, image = "/open-graph.jpg" } = Astro.props;
href={`${Astro.site}rss.xml`}
/>
<!-- Alternative Onion/Tor site -->
<meta
http-equiv="onion-location"
content={`http://hoeltingqgu7jntic7tj4wdamw42zbl26yzpw4guwgor4aejwp6zjvid.onion${Astro.url.pathname}`}
/>
<!-- Global Scripts -->
<script is:inline src="/js/theme.js"></script>
<script is:inline src="/js/scroll.js"></script>
<script is:inline src="/js/animate.js"></script>
<ViewTransitions />
<ClientRouter />
<script>
import type { TransitionBeforeSwapEvent } from "astro:transitions/client";