mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Removed the need for headers in site docs.
This commit is contained in:
parent
d4834a68c6
commit
02a2717d40
@ -104,7 +104,7 @@ class Page(object):
|
||||
tgt.write(contents)
|
||||
|
||||
def render(self):
|
||||
tmpl_name = self.headers.get('template', conf.DEFAULT_TEMPLATE)
|
||||
tmpl_name = self.headers.get('template')
|
||||
if not tmpl_name:
|
||||
return self.body
|
||||
|
||||
|
||||
@ -10,9 +10,6 @@ SITE_NAME = "Green Unicorn"
|
||||
SITE_URL = "http://www.gunicorn.org"
|
||||
SITE_DESCRIPTION = "A Python port of Ruby's Unicorn project."
|
||||
|
||||
DEFAULT_TEMPLATE = "default.html"
|
||||
CONTENT_TYPE = "textile"
|
||||
|
||||
# paths
|
||||
DOC_PATH = os.path.dirname(os.path.abspath(__file__))
|
||||
TEMPLATES_PATH = os.path.join(DOC_PATH, "templates")
|
||||
|
||||
0
doc/site/.nojekyll
Normal file
0
doc/site/.nojekyll
Normal file
@ -1,3 +1 @@
|
||||
template:
|
||||
|
||||
gunicorn.org
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user