Add separate code page with link to private git server.
This commit is contained in:
parent
85eaec2d92
commit
998228db84
@ -15,5 +15,11 @@ def labs():
|
|||||||
return render_template('labs.html')
|
return render_template('labs.html')
|
||||||
|
|
||||||
|
|
||||||
|
@app.route('/code')
|
||||||
|
def code():
|
||||||
|
return render_template('code.html')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run(debug=True)
|
app.run(debug=True)
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<li><a href="{{ url_for('home') }}#portfolio">Portfolio</a></li>
|
<li><a href="{{ url_for('home') }}#portfolio">Portfolio</a></li>
|
||||||
<li><a href="{{ url_for('home') }}#contact">Contact</a></li>
|
<li><a href="{{ url_for('home') }}#contact">Contact</a></li>
|
||||||
<li><a href="{{ url_for('labs') }}">Labs</a></li>
|
<li><a href="{{ url_for('labs') }}">Labs</a></li>
|
||||||
<li><a href="http://www.github.com/ianonavy">Code</a></li>
|
<li><a href="{{ url_for('code') }}">Code</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
10
src/templates/code.html
Normal file
10
src/templates/code.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block title %} | Labs{% endblock %}
|
||||||
|
|
||||||
|
{% block main %}
|
||||||
|
<div class="section">
|
||||||
|
<h2>Code</h2>
|
||||||
|
<p>You can find samples of my code on <a target="_blank" href="http://github.com/ianonavy">my GitHub</a> and <a target="_blank" href="https://git.ianonavy.com/public">my private Git server</a>.</p>
|
||||||
|
</div>
|
||||||
|
{% endblock main %}
|
Loading…
x
Reference in New Issue
Block a user