Skip to content

Commit 16a55f4

Browse files
author
Faris Chebib
committed
updated to get everything to work
1 parent d5f98de commit 16a55f4

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

_includes/topnav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</a>
1212
</li>
1313
<li role="presentation">
14-
<a ui-sref="meetups">
14+
<a ui-sref="upcoming">
1515
Meetups
1616
</a>
1717
</li>

_layouts/utahpython.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h3 class="text-muted">Utah Python</h3>
1212
</div>
1313

1414
<footer class="footer">
15-
<p>Utah Python 2015</p>
15+
<p><a ui-sref="license">Utah Python 2015</a></p>
1616
</footer>
1717

1818
</div>

static/js/controller.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
angular.module('utahPython', ['ui.router'])
44
.config(function($stateProvider, $urlRouterProvider){
5-
// $urlRouterProvider.otherwise("/");
5+
$urlRouterProvider.otherwise("/");
66

77
$stateProvider
88
.state('home', {
@@ -12,12 +12,16 @@ angular.module('utahPython', ['ui.router'])
1212
url: "/about",
1313
templateUrl: "about.html"
1414
})
15-
// .state('meetups' {
16-
// url: "/meetups",
17-
// templateUrl: "meetups.html"
18-
// })
15+
.state('upcoming', {
16+
url: "/upcoming",
17+
templateUrl: "upcoming.html"
18+
})
1919
.state('past_present', {
2020
url: "/presentations",
2121
templateUrl: "presentations.html"
22+
})
23+
.state('license', {
24+
url: "/license",
25+
templateUrl: "license.html"
2226
});
2327
});

meetups.md renamed to upcoming.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2+
layout: utahpython
23
title: "Meetups"
34
---
45

56
### Meetups
7+
68
Hello

0 commit comments

Comments
 (0)