|
@@ -17,7 +17,7 @@ class PageNotFoundError(Exception): pass |
|
|
|
|
|
|
|
|
def render(path, http_status_code=None): |
|
|
def render(path, http_status_code=None): |
|
|
"""render html page""" |
|
|
"""render html page""" |
|
|
path = resolve_path(path.strip("/")) |
|
|
|
|
|
|
|
|
path = resolve_path(path.strip("/ ")) |
|
|
|
|
|
|
|
|
try: |
|
|
try: |
|
|
data = render_page(path) |
|
|
data = render_page(path) |
|
|