diff --git a/README.md b/README.md index 3ec4d7f..7696dcd 100755 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ users can read and comment. ## Setup Python3 virtual environment cd freepost-directory - python3 -m venv venv (if this doesn't work, try `virtualenv -p python3 venv`) + python3 -m venv venv (if this doesn't work, try `virtualenv -p /usr/bin/python3 venv`) source venv/bin/activate pip3 install -r requirements.txt diff --git a/freepost/__init__.py b/freepost/__init__.py index 157c763..76da281 100755 --- a/freepost/__init__.py +++ b/freepost/__init__.py @@ -66,7 +66,7 @@ template = functools.partial ( # "bleach" library is used to sanitize the HTML output of jinja2's "md2html" # filter. The library has only a very restrictive list of white-listed # tags, so we add some more here. -bleach.sanitizer.ALLOWED_TAGS += [ 'br', 'img', 'p', 'pre', 'h1', 'h2', 'h3' ] +bleach.sanitizer.ALLOWED_TAGS += [ 'br', 'img', 'p', 'pre', 'h1', 'h2', 'h3', 'hr' ] bleach.sanitizer.ALLOWED_ATTRIBUTES.update ({ 'img': [ 'src' ] }) diff --git a/freepost/templates/about.html b/freepost/templates/about.html index eeea2e0..4c49079 100755 --- a/freepost/templates/about.html +++ b/freepost/templates/about.html @@ -58,7 +58,7 @@ Terms of Use

- By using this website, you irrevocably agree to release your posts and comments under the CC BY 4.0 License. A link is sufficient for CC BY 4.0 attribution. + By using this website, you irrevocably agree to release your posts and comments under the CC BY 4.0 License. A link is sufficient for CC BY 4.0 attribution.

The website is offered in the hope that it will be useful, but we do not assume any sort of legal responsibility or liability and we do not offer any sort of warranty. We cannot be held responsible for any misuse or money loss derived from the use of the website. diff --git a/freepost/templates/banner.html b/freepost/templates/banner.html index f995586..ace21b3 100644 --- a/freepost/templates/banner.html +++ b/freepost/templates/banner.html @@ -13,6 +13,7 @@ # To maintain alignment, keep al lines below of the same length # and with no padding. #} + {#

                       .''.    
@@ -23,14 +24,15 @@
    *_\/_*     -= o =-  /)\    
    * /\ *     .'/.\'.   '     
     *..*         :            
-     ____   ___  _  ___       
-    |___ \ / _ \/ |/ _ \      
-      __) | | | | | (_) |     
-     / __/| |_| | |\__, |     
-    |_____|\___/|_|  /_/      
+     ____   ___ ____   ___    
+    |___ \ / _ \___ \ / _ \   
+      __) | | | |__) | | | |  
+     / __/| |_| / __/| |_| |  
+    |_____|\___/_____|\___/   
 
#} + {# Peers Jam #} {% set datetime = now() %} {% if datetime.isoweekday() == 5 and datetime['hour'] >= 19 and datetime['hour'] <= 20 %} diff --git a/freepost/templates/layout.html b/freepost/templates/layout.html index 163382b..86837cb 100644 --- a/freepost/templates/layout.html +++ b/freepost/templates/layout.html @@ -100,17 +100,8 @@