summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2023-10-25 18:02:21 +0200
committeruvok cheetah2023-10-25 18:02:21 +0200
commit4a7f635794083a2f55debe59970ea92634112fae (patch)
treee8284c37c69bc06cbfa3ab6a0bd1ceda4e9fbc8c
parente5340d0b0b6db772e95521022c59aa900fe575f7 (diff)
Set onion url header
-rw-r--r--_includes/head.html9
-rw-r--r--_layouts/postlist.html3
2 files changed, 11 insertions, 1 deletions
diff --git a/_includes/head.html b/_includes/head.html
new file mode 100644
index 0000000..6186408
--- /dev/null
+++ b/_includes/head.html
@@ -0,0 +1,9 @@
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ {%- seo -%}
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
+ {%- feed_meta -%}
+ <meta http-equiv="onion-location" content="http://iwccx6ebuapto7dlkd4m5fooud6nqn2z7go7aass5c4q6vl6gzs5htad.onion{{ page.url }}" />
+</head>
diff --git a/_layouts/postlist.html b/_layouts/postlist.html
index 675a2fc..454a8ae 100644
--- a/_layouts/postlist.html
+++ b/_layouts/postlist.html
@@ -10,7 +10,8 @@ layout: default
</p>
</div>
<div style="border-radius: 10px; padding: 5px; background: #eeeeee; margin-bottom: 1em;">
- Now also available via Tor: <code>http://iwccx6ebuapto7dlkd4m5fooud6nqn2z7go7aass5c4q6vl6gzs5htad.onion/</code>
+ <p>Now also available via Tor</p>
+ <code>http://iwccx6ebuapto7dlkd4m5fooud6nqn2z7go7aass5c4q6vl6gzs5htad.onion/</code>
</div>
{%- if page.title -%}