diff options
author | 2018-02-26 18:49:44 +0000 | |
---|---|---|
committer | 2018-02-26 18:49:44 +0000 | |
commit | 47db7991f11a1f4e803eaf5cd331f9d6bb2de244 (patch) | |
tree | 8e9ca8a41fdf5f2b6851ef088125e4fcc18f4496 /pysite | |
parent | brings coverage to 90% (#24) (diff) |
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
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/views/main/help.py | 10 |
1 files changed, 10 insertions, 0 deletions
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") |