Skip to content

Commit 138e6fc

Browse files
author
Faris Chebib
committed
updated nav button
1 parent 16a55f4 commit 138e6fc

File tree

7 files changed

+28
-6
lines changed

7 files changed

+28
-6
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
0. Requirements: Pretty simple. You’ll need to install
66
[`jekyll`](http://jekyllrb.com/) and [`bower`](http://bower.io).
77
1. Install the bower components: `cd static/ && bower install`
8-
2. `jekyll serve`
8+
2. Start the local server: `jekyll serve`
99

1010
## Resources
1111

Diff for: _includes/topnav.html

+20-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,37 @@
11
<nav>
22
<ul class="nav nav-pills pull-right">
3-
<li role="presentation">
3+
<li role="presentation"
4+
{% if page.home-nav %}
5+
class="active"
6+
{% endif %}
7+
>
48
<a ui-sref="home">
59
<span class="glyphicon glyphicon-home"></span>
610
</a>
711
</li>
8-
<li role="presentation">
12+
<li role="presentation"
13+
{% if page.about-nav %}
14+
class="active"
15+
{% endif %}
16+
>
917
<a ui-sref="about">
1018
About
1119
</a>
1220
</li>
13-
<li role="presentation">
21+
<li role="presentation"
22+
{% if page.upcoming-nav %}
23+
class="active"
24+
{% endif %}
25+
>
1426
<a ui-sref="upcoming">
1527
Meetups
1628
</a>
1729
</li>
18-
<li role="presentation">
30+
<li role="presentation"
31+
{% if page.present-nav %}
32+
class="active"
33+
{% endif %}
34+
>
1935
<a ui-sref="past_present">Past Presentations</a>
2036
</li>
2137
</ul>

Diff for: _layouts/utahpython.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
<div class='container' ui-view>
55
<div class="header clearfix">
66
{% include topnav.html %}
7-
<h3 class="text-muted">Utah Python</h3>
7+
<h3 class="text-muted">
8+
<a ui-sref="home">Utah Python</a>
9+
</h3>
810
</div>
911

1012
<div class="row marketing">

Diff for: about.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: utahpython
33
title: "About"
4+
about-nav: True
45
---
56
<h3>About</h3>

Diff for: index.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ url-archives: /presentations
77
url-group: https://groups.google.com/forum/#!forum/utahpython
88
url-subscribe: [email protected]
99
10+
home-nav: True
1011
---
1112
{% include jumbotron.html %}
1213

Diff for: presentations.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: utahpython
33
title: "Past Presentations"
4+
present-nav: True
45
---
56

67
# Past Presentations

Diff for: upcoming.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: utahpython
33
title: "Meetups"
4+
upcoming-nav: True
45
---
56

67
### Meetups

0 commit comments

Comments
 (0)