diff --git a/deploy.sh b/deploy.sh index a76fa59..06adccf 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,7 @@ #!/bin/sh rsync -rv webpage django:/home/django/personalWebpage/ -ssh django "bash -s" < str: - return self.name """ -""" if(strpos($_SERVER["HTTP_HOST"], ".onion")){ $hosting = "tor!";} - elseif(strpos($_SERVER["HTTP_HOST"], ".i2p")){ $hosting = "i2p!";} - elseif(strpos($_SERVER["HTTP_HOST"], ".fai")){ $hosting = "fai!";} - else{$hosting = "???!";} """ \ No newline at end of file + hosting = models.CharField(max_length=10) \ No newline at end of file diff --git a/webpage/templates/about.html b/webpage/templates/about.html index 3fc7a2b..6b4b78d 100755 --- a/webpage/templates/about.html +++ b/webpage/templates/about.html @@ -79,35 +79,36 @@ What i am

+ A silly colection of bytes

Where to contact me

- - XMPP - - - Personal Mail - - - Pleroma - -
+ {# djlint: ignore D018 #} + XMPP + + + Personal Mail + + + Pleroma + - IDK return back - + IDK return back + + diff --git a/webpage/templates/index.html b/webpage/templates/index.html index bba06e2..20abbcf 100755 --- a/webpage/templates/index.html +++ b/webpage/templates/index.html @@ -14,7 +14,7 @@

@@ -22,7 +22,7 @@

{% for gif in banger_list %} - {{ gif.url }} + {{ gif.url }} {% endfor %}

@@ -30,7 +30,7 @@

{% for gif in gif_list %} - {{ gif.url }} + {{ gif.url }} {% endfor %}

@@ -39,7 +39,7 @@
{% for banner in banner_list %} - {{ banner.url }} + {{ banner.url }} {% endfor %}
@@ -48,7 +48,10 @@

- cronut.cafe/~bizcochito + cronut.cafe/~bizcochito

@@ -56,13 +59,16 @@

- yari.fai.st + yari.fai.st
- + ad
diff --git a/webpage/views.py b/webpage/views.py index 3d16b24..fcb1bb2 100755 --- a/webpage/views.py +++ b/webpage/views.py @@ -1,7 +1,9 @@ +import os +import random + from django.forms import ValidationError -from django.http import HttpResponseNotFound, HttpResponseRedirect +from django.http import HttpResponseNotFound from django.shortcuts import render -import os, random from .models import Booksigner from .forms import SignbookForm