fixed a variable call, reorganized routes, added sample apache config

This commit is contained in:
JesseBot 2016-01-03 21:09:01 +00:00
parent ad6d5c4cdf
commit 872509bc85
3 changed files with 7 additions and 12 deletions

View file

@ -47,7 +47,7 @@
<ul class="dropdown-menu" role="menu">
<li><a href="{{resume_pdf_download_URL}}">Download .PDF</a></li>
<li class="divider"></li>
<li><a href="resume_docx_download_URL">Download .Docx</a></li>
<li><a href="{{resume_docx_download_URL}}">Download .Docx</a></li>
</ul>
</div>
</div>

View file

@ -56,17 +56,6 @@ def index():
optional_panel_button_URL=optional_panel_button_URL)
@route('/hate')
def hate():
return template('hate')
@route('/photo')
@route('/photo/')
def photo():
redirect('http://photo.jessebot.com')
@route('/images/<filename>')
def images(filename):
return static_file(filename, root='{0}/front_end/images'.format(WEB_ROOT))
@ -80,3 +69,9 @@ def js(filename):
@route('/css/<filename>')
def css(filename):
return static_file(filename, root='{0}/front_end/css'.format(WEB_ROOT))
# example of how to create another route to something else
@route('/hate')
def hate():
return template('hate')