newbamboo (owner)

Revisions

gist: 67168 Download_button fork
public
Description:
Index page template for our Jekyll blog
Public Clone URL: git://gist.github.com/67168.git
Embed All Files: show embed
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
---
layout: default
title: Ruby on Rails development
---
 
{% for post in site.latest_posts %}
  <div class="entry">
   <div class="entrytitle">
   <h2><a href="{{ post.url }}">{{ post.title }}</a> <span class="author">{{ post.author }}</span></h2>
   <h3>{{ post.date | date_to_string }} | <a href="{{ post.url }}#disqus_thread" class="commentslink">View comments</a></h3>
   </div>
  
   <div class="entrybody">
   {{ post.content }}
   </div>
  
   <div class="entrymeta">
   <a href="{{ post.url }}#disqus_thread" class="commentslink">View comments</a>
   </div>
  </div>
{% endfor %}
 
{% for post in site.older_posts %}
  <div class="entry old_entry">
   <div class="entrytitle">
   <h2><a href="{{ post.url }}">{{ post.title }}</a> <span class="author">{{ post.author }}</span></h2>
   <h3>{{ post.date | date_to_string }} | <a href="{{ post.url }}#disqus_thread" class="commentslink">View comments</a></h3>
   </div>
  </div>
{% endfor %}
 
<div class="archive_link">
  <a href="/archive">View all previous posts in archive &raquo;</a>
</div>
 
<script type="text/javascript">
//<![CDATA[
(function() {
var links = document.getElementsByTagName('a');
var query = '?';
for(var i = 0; i < links.length; i++) {
if(links[i].href.indexOf('#disqus_thread') >= 0) {
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
}
}
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/newbambblog/get_num_replies.js' + query + '"></' + 'script>');
})();
//]]>
</script>