mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
fixed a variable call, reorganized routes, added sample apache config
This commit is contained in:
parent
ad6d5c4cdf
commit
872509bc85
3 changed files with 7 additions and 12 deletions
|
@ -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>
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue