diff --git a/.gitignore b/.gitignore index f62091b..d163863 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -*.html -!*.j2.html +build/ \ No newline at end of file diff --git a/Makefile b/Makefile index 37584d4..733a7e6 100644 --- a/Makefile +++ b/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/$@ diff --git a/index.j2.html b/index.j2.html index ef9fdf5..0a9d449 100644 --- a/index.j2.html +++ b/index.j2.html @@ -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 %}

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. Please read the rules before using any of these services.

Planned services

None at the moment.