Skip to content

Commit

Permalink
highlight current page
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolerd committed Aug 19, 2015
1 parent d011ee6 commit 884c761
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion project/templates/feed/vacancies.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@
<script src="{{ url_for('static', filename='dist/js/feed.bundle.js') }}"
type="text/javascript"></script>

{% endblock %}
{% endblock %}
{% block meta %}
{{ super() }}
<style> .nav li:nth-child(1) a {color: #2e2a2c; }</style>
{% endblock %}
4 changes: 4 additions & 0 deletions project/templates/pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
</div>

{% endblock %}
{% block meta %}
{{ super() }}
<style> .nav li:nth-child(3) a {color: #2e2a2c; }</style>
{% endblock %}
4 changes: 4 additions & 0 deletions project/templates/pages/contacts.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
<iframe src="{{ pagechunks.map_url }}" class="center-block" width="640" height="480"></iframe>
</div>
{% endblock %}
{% block meta %}
{{ super() }}
<style> .nav li:nth-child(4) a {color: #2e2a2c; }</style>
{% endblock %}
4 changes: 4 additions & 0 deletions project/templates/pages/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
</div>

{% endblock %}
{% block meta %}
{{ super() }}
<style> .nav li:nth-child(2) a {color: #2e2a2c; }</style>
{% endblock %}

0 comments on commit 884c761

Please sign in to comment.