aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app.py5
-rwxr-xr-xstatic/images/switch.jpgbin0 -> 90618 bytes
-rw-r--r--static/index.md1
-rwxr-xr-xstatic/robots.txt2
4 files changed, 5 insertions, 3 deletions
diff --git a/app.py b/app.py
index 28d431e..d4b20f3 100644
--- a/app.py
+++ b/app.py
@@ -37,9 +37,9 @@ def get_correct_article_headers(db:database.Database, title):
for i in db_headers:
if i[0] != title:
out.append(i)
- return out + [("index", "/")]
+ return out + [("index", "/~")]
else:
- return db_headers + [("index", "/")]
+ return db_headers + [("index", "/~")]
def get_template_items(title, db):
return {
@@ -50,6 +50,7 @@ def get_template_items(title, db):
}
@app.route("/")
+@app.route("/~")
def index():
with database.Database() as db:
with open(os.path.join("static", "index.md"), "r") as f:
diff --git a/static/images/switch.jpg b/static/images/switch.jpg
new file mode 100755
index 0000000..64ab20c
--- /dev/null
+++ b/static/images/switch.jpg
Binary files differ
diff --git a/static/index.md b/static/index.md
index c781cb2..e740d9d 100644
--- a/static/index.md
+++ b/static/index.md
@@ -10,3 +10,4 @@ i'll post my thoughts on here sometimes, and use this site to link to other stuf
- [nitter - alternative twitter frontend](https://nitter.eda.gay)
- [gitea - github alternative](https://git.eda.gay/) (currently down while i migrate to gitlab docker)
- [bibliogram - less annoying instagram front end](https://bibliogram.eda.gay/applysettings/c8009ec7533d542a90bb1d41563435c1)
+- [emby - web player for ~~legally downloaded~~ TV and films](https://emby.eda.gay)
diff --git a/static/robots.txt b/static/robots.txt
index 8093c87..c2aab7e 100755
--- a/static/robots.txt
+++ b/static/robots.txt
@@ -1,2 +1,2 @@
User-agent: *
-Disallow: \ No newline at end of file
+Disallow: / \ No newline at end of file