use tor links when accessed over tor
This commit is contained in:
parent
8ff56a0b4c
commit
a776f7199e
|
@ -1,2 +1 @@
|
|||
*.html
|
||||
!*.j2.html
|
||||
build/
|
12
Makefile
12
Makefile
|
@ -1,9 +1,15 @@
|
|||
PAGES = index.html rules.html donate.html
|
||||
|
||||
all: $(PAGES)
|
||||
all: $(PAGES) symlinks
|
||||
|
||||
symlinks:
|
||||
ln -sf ../../static build/tor/
|
||||
ln -sf ../../static build/clearnet/
|
||||
|
||||
clean:
|
||||
rm $(PAGES)
|
||||
rm -f $(addprefix build/tor/,$(PAGES))
|
||||
rm -f $(addprefix build/clearnet/,$(PAGES))
|
||||
|
||||
%.html: %.j2.html base.j2.html
|
||||
j2 $< > $@
|
||||
j2 -D site tor $< > build/tor/$@
|
||||
j2 -D site clearnet $< > build/clearnet/$@
|
||||
|
|
|
@ -5,16 +5,28 @@
|
|||
{# the home page does not need a link back to home #}
|
||||
{% block header %}{% endblock header %}
|
||||
|
||||
|
||||
root@freak.university ~ [1]# cat /var/lib/tor/hidden_services/mural/hostname
|
||||
muralfu7fod6lmkff3suou4ipkqan35hdirn4ejzm5lpp7y4nqxbm3ad.onion
|
||||
root@freak.university ~# cat /var/lib/tor/hidden_services/badge/hostname
|
||||
badgefulkavesk2jeeooav3tvabd63hk5tj25h75ckmsnossulox6gad.onion
|
||||
root@freak.university ~# cat /var/lib/tor/hidden_services/emojos/hostname
|
||||
emojosjty2mdo6ed3yq7eul7u3eb7hpqv7ud424xg2arturqdsrnkyqd.onion
|
||||
root@freak.university ~# cat /var/lib/tor/hidden_services/takahe/hostname
|
||||
tkhfu4xpnadqzzdc4cdxd7a7zn2neyeihwz425z3xaac2mzvcx65ewad.onion
|
||||
|
||||
|
||||
{% block content %}
|
||||
<p>Welcome to Freak University! There used to be a public fediverse instance here, but not anymore. However, we are working on restoring some of the affiliated services, and those restored are listed below. <strong>Please read <a href="/rules.html">the rules</a> before using any of these services.</strong></p>
|
||||
<ul>
|
||||
<li><a href="https://ask.freak.university">Freak University Ask</a>, our anonymous question/answer site
|
||||
<li>The Freak University <a href="https://lab.freak.university">Computer Lab</a>, our code sharing site
|
||||
<li>The Freak University <a href="https://mural.freak.university">Mural</a>, a canvas site like r/place
|
||||
<li><a href="https://badge.freak.university">pronouns fu</a>, our pronouns/preferred names sharing site
|
||||
<li>The Freak University <a href="https://theater.freak.university">Theater</a>, our synchronized watch party site
|
||||
<li><a href="https://emojos.freak.university">emojos.freak.university</a>, a custom emoji viewer for fediverse instances
|
||||
<li>Freak University’s <a href="https://takahe.freak.university/">Takahē instance</a>, used by admins only for administrative updates
|
||||
<li><a href="{{ 'https://ask.freak.university' if site != 'tor' else 'http://askfu5xv6ejcvlgxykas7bmar2zqdkmrzllwfxeyo7v6pkzrzqdzygqd.onion' }}">Freak University Ask</a>, our anonymous question/answer site
|
||||
<li>The Freak University <a href="{{ 'https://lab.freak.university' if site != 'tor' else 'http://labfurwl6xt24teypo5hb7vjoyf3ituolpebdnfgvkqrt765mo6574qd.onion' }}">Computer Lab</a>, our code sharing site
|
||||
<li>The Freak University <a href="{{ 'https://mural.freak.university' if site != 'tor' else 'http://muralfu7fod6lmkff3suou4ipkqan35hdirn4ejzm5lpp7y4nqxbm3ad.onion' }}">Mural</a>, a canvas site like r/place
|
||||
<li><a href="{{ 'https://badge.freak.university' if site != 'tor' else 'http://badgefulkavesk2jeeooav3tvabd63hk5tj25h75ckmsnossulox6gad.onion' }}">pronouns fu</a>, our pronouns/preferred names sharing site
|
||||
{# no onion for this one #}
|
||||
<li>The Freak University <a href="https://theater.freak.university">Theater</a>, our synchronized watch party site/
|
||||
<li><a href="{{ 'https://emojos.freak.university' if site != 'tor' else 'http://emojosjty2mdo6ed3yq7eul7u3eb7hpqv7ud424xg2arturqdsrnkyqd.onion' }}">emojos.freak.university</a>, a custom emoji viewer for fediverse instances
|
||||
<li>Freak University’s <a href="{{ 'https://takahe.freak.university/' if site != 'tor' else 'http://tkhfu4xpnadqzzdc4cdxd7a7zn2neyeihwz425z3xaac2mzvcx65ewad.onion' }}">Takahē instance</a>, used by admins only for administrative updates
|
||||
</ul>
|
||||
<h2>Planned services</h2>
|
||||
<i>None at the moment.</i>
|
||||
|
|
Loading…
Reference in New Issue