diff --git a/config.txt b/config.txt index ca83213..8b1fd17 100644 --- a/config.txt +++ b/config.txt @@ -34,7 +34,7 @@ request_timeout_sec 5 access_log yes # These are debug options -show_io yes +show_io no show_requests no # Address and port the HTTP server will listen on. diff --git a/pages/login.html b/pages/login.html index bc5a573..e5ce171 100644 --- a/pages/login.html +++ b/pages/login.html @@ -3,7 +3,7 @@ Log in - +
-
+ +
+
- \ No newline at end of file + diff --git a/pages/post.html b/pages/post.html index 727186c..62dfbbd 100644 --- a/pages/post.html +++ b/pages/post.html @@ -3,7 +3,7 @@ {{title}} - +
diff --git a/pages/posts.html b/pages/posts.html index d50f4d0..33f20d1 100644 --- a/pages/posts.html +++ b/pages/posts.html @@ -3,7 +3,7 @@ Posts - +
- {% if login %} -
- - - -
- {% end %} - {% for post in posts %}
- {{post.title}} by {{post.author}} +
+ + {{post.title}} + +
+
+ + + + + + + +
+ {{post.upvotes}} + + {{post.downvotes}} + + by {{post.author}} at {{post.created_}} + + {{post.num_comments}} comments +
+
{% end %}
+ + {% if login %} + +
+
+ + +
+ + +
+ {% end %} + + + \ No newline at end of file diff --git a/pages/signup.html b/pages/signup.html index 62c7196..0d2235d 100644 --- a/pages/signup.html +++ b/pages/signup.html @@ -3,7 +3,7 @@ Sign up - +