From 47db7991f11a1f4e803eaf5cd331f9d6bb2de244 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Mon, 26 Feb 2018 18:49:44 +0000 Subject: Help page #z62n (#25) * Help page and misc improvements Committing so I can go home >:| * Changes for @lmn * Rephrase first paragraph * Rephrase questions so they aren't all about discord.py * Remove _every single header_ on the help page from the nav * Unit test the help route * Small styling fixes * Add page-specific classes to body element * Clean up section padding * IndexView -> HelpView * Remove unnecessary path in test --- pysite/views/main/help.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pysite/views/main/help.py (limited to 'pysite/views/main/help.py') diff --git a/pysite/views/main/help.py b/pysite/views/main/help.py new file mode 100644 index 00000000..783b9b31 --- /dev/null +++ b/pysite/views/main/help.py @@ -0,0 +1,10 @@ +# coding=utf-8 +from pysite.base_route import RouteView + + +class HelpView(RouteView): + path = "/help" + name = "help" + + def get(self): + return self.render("main/help.html") -- cgit v1.2.3