Skip to content

Commit 6ec5a34

Browse files
committed
Clean-up of CSS and dates, and inclusion of RSS url
1 parent db410ac commit 6ec5a34

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js"></script>
1010
<style>
1111
#articles img{max-width:100%}
12+
.section
13+
{
14+
padding-top: 0px
15+
}
16+
footer
17+
{
18+
padding-top: 0px;
19+
padding-bottom: 0px
20+
}
1221
</style>
1322
<!-- END: ANGULAR DEPENDENCY -->
1423

@@ -31,6 +40,7 @@
3140
<div class="collapse navbar-collapse navbar-ex1-collapse">
3241
<ul class="nav navbar-nav">
3342
<li><a href="http://node-os.com/blog">Blog</a></li>
43+
<li><a href="http://pipes.yahoo.com/pipes/pipe.run?_id=d98a965ba7d3f6555b939d707b18dc39&_render=rss&label=blog&owner=NodeOS&repo=NodeOS">RSS</a></li>
3444
</ul>
3545
</div>
3646
<!-- /.navbar-collapse -->
@@ -65,7 +75,9 @@ <h3 class="title">{{error.name}}</h3>
6575
<h2 class="title">{{item.title}}</h2>
6676
</a>
6777
<span>by <a href="{{item.user.html_url}}">{{item.user.login}}</a></span>
68-
<p class="blog-date">{{item.created_at}}, updated {{item.updated_at}}</p>
78+
<p class="blog-date">{{item.created_at | date}}
79+
<span ng-if="item.created_at < item.updated_at">, updated {{item.updated_at | date}}</span>
80+
</p>
6981
</header>
7082
<div class="content" ng-bind-html="item.bodyHTML | to_trusted"></div>
7183
<footer>

0 commit comments

Comments
 (0)