Skip to content

Commit

Permalink
Add tor onion link
Browse files Browse the repository at this point in the history
Signed-off-by: Shield of Self-Defense (ocf.tw) <[email protected]>
  • Loading branch information
ocf-ssd committed Sep 30, 2024
1 parent 4073fc0 commit 18bdddd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{% extends "base.html" %} {% block site_meta %}
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta
http-equiv="onion-location"
content="http://ssdocftwvq6csls7gnjubyrmar7no7ww3gmgodhznxgsoor6ot42lrad.onion/{{page.url}}"
/>

<!-- Page description -->
{% if page.meta and page.meta.description %}
Expand Down
6 changes: 6 additions & 0 deletions overrides/partials/copyright.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
<a href="/support/copyright.html">如何引用?</a>) |
<a href="https://ocf.tw/">{{ config.site_author }}</a>
</div>
<div>
教材網址 (Tor):<a
href="http://ssdocftwvq6csls7gnjubyrmar7no7ww3gmgodhznxgsoor6ot42lrad.onion/{{page.url}}"
>http://ssdocftwvq6csls7gnjubyrmar7no7ww3gmgodhznxgsoor6ot42lrad.onion/{{page.url}}</a
>
</div>
{% endif %} {% if not config.extra.generator == false %} Made with
<a
href="https://squidfunk.github.io/mkdocs-material/"
Expand Down

0 comments on commit 18bdddd

Please sign in to comment.