forked from cldwalker/cldwalker.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (62 loc) · 2.44 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
layout: master
feed_url : http://feeds2.feedburner.com/tagaholic
title: Home
---
<div class='home_box' id='home_left'>
<h2 class='home_box_title'><a href='{{ page.feed_url }}' class='float-right'><img src='/images/subscribe-icon.gif' alt='Subscribe'/></a> Latest Blog Post (<a href='/blog.html' style="color: white">More</a>)</h2>
<div class='post'>
<h1><a href='{{site.posts.first.url}}'>{{site.posts.first.title}}</a></h1>
<div class='body'>{{ site.posts.first.content }}</div>
<a href='{{site.posts.first.url}}#disqus_thread'>Comments</a>
</div>
</div>
<div class='home_box home_right'>
<script src="http://www.google.com/jsapi?key=ABQIAAAA233GLZktV9QhuJocUp-TlhTtPYQV4TwasrBhcmG-GObKzvbfXxREr_KzWOOt_7H4wHNSk2TlineseA" type="text/javascript"></script>
<script src="/javascripts/google_ajax_search.js" type="text/javascript" charset="utf-8"></script>
<h2 class='home_box_title'>Search</h2>
<div class="repo" id="search"></div>
</div>
<div class='home_box home_right'>
<h2 class='home_box_title'>Latest Posts (<a href='/blog.html'>More</a>)</h2>
<div id="latest_posts" class="repo">
<ul>
{% for post in site.posts limit:4 %}
<li>
<a href="{{post.url}}">{{post.title}}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<div class='home_box home_right'>
<h2 class='home_box_title'>Projects (<a href='/projects.html'>More</a>)</h2>
<div id='github-projects'>
<div class="repo">
<h3> <a href="http://github.com/cldwalker/local_gem">local_gem</a></h3>
<span class="desc">Load/require any gem/library simply given its path. Great for nascent gems or for
trying the latest code on a gem.</span>
</div>
</div>
</div>
<div class='home_box home_right'>
<script
src="http://feeds.delicious.com/v2/js/cldwalker?icon=m&count=3&sort=date&tags&extended&name&showadd"
type="text/javascript"></script>
</div>
<script type="text/javascript" charset="utf-8">
$.githubUser('cldwalker', function(data) {
$('#github-projects').html('');
var repos = $.grep(data.user.repositories, function(e) { return !e.private});
repos.sort(function(a,b) {
return b.watchers - a.watchers;
});
$(repos.slice(0,3)).each(function() {
$('#github-projects').append("\
<div class='repo'>\
<h3><a href='" + ((this.homepage == '') ? this.url : this.homepage) + "'>" + this.name + "</a></h3>\
<span class='desc'>"+this.description+"</span>\
</div>");
});
});
</script>