Commit Diff


commit - 832628898f110544058f5fff6d421333e83abcdf
commit + c99336885b66c2f9e58e98e65251398696904984
blob - 4c68ed32b7011443f3a5471c644fd4cdc9d6e891
blob + 8a2d130e0a6057641438afb75e5528d8537681df
--- config.toml
+++ config.toml
@@ -3,6 +3,7 @@ title = "wiredspace.de"
 disableKinds = ["taxonomy", "term"]
 
 [params]
+onion_location = "s55il2a2sq6u7jrminfxvcbtdqhez2ug5zfxiioowtojpv3kdfomdbid.onion"
 email = "witcher@wiredspace.de"
 public_inbox = "~witcher/public-inbox@lists.sr.ht"
 mastodon_url = "https://digitalcourage.social/@witcher"
blob - 98ce1e93666a9cb12b9c8f1261e8ccf4af4bd5e8
blob + 3ec81eca27dab1874da3e06a8661b84c78a08c2c
--- layouts/_default/baseof.html
+++ layouts/_default/baseof.html
@@ -14,6 +14,9 @@
 		<link href="{{ .Site.Params.mastodon_url }}" rel="me">
 		<meta name="fediverse:creator" content="{{ .Site.Params.mastodon_handle }}">
 
+		<!-- Redirect Tor users to the onion version -->
+		<meta http-equiv="onion-location" content="http://{{ .Site.Params.onion_location }}"/>
+
 		{{ block "title" . }}
 		<title>
 			{{ .Title }}