forked from erjjones/erjjones.github.com
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·68 lines (63 loc) · 2.47 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
---
layout: default
title: Make Hack Learn
---
<div id="home">
<!-- Show three posts on front page -->
{% for post in paginator.posts limi:3 %}
<article class="hentry">
<!-- Post title -->
<h2 class="entry-title"><a class="post_title" href="{{ post.url }}">{{ post.title }}</a></h2>
<!-- Date and time of post -->
<time datetime="{{ post.date | date: '%Y-%m-%dT%H:%M:%S-08:00' }}">{{ post.date | date: "%B %d, %Y - %I:%m %p" }}</time>
<!-- Post content -->
<span class="entry-content">
{{ post.content }}
</span>
<span id="social">
<!-- Post Facebook button -->
<script type="text/javascript">
//<![CDATA[
document.write('<fb:like href="{{ site.url }}{{ post.url }}" send="true" layout="button_count" width="450" show_faces="true" colorscheme="light" font="lucida grande"></fb:like>');
//]]>
</script>
<!-- Post comment count -->
{% if post.comments %}
<a href="{{ post.url }}#disqus_thread" data-disqus-identifier="{{ page.date | date_to_xmlschema }}"></a>
{% endif %}
<!-- Post Tweet Button -->
<span style="float:right;">
<a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ post.url }}" data-text="{{ post.title }} -" data-count="none" data-via="{{ site.twitter_name }}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></span>
</span>
<div style="margin-bottom:20px"> </div>
</article>
{% endfor %}
<!-- Old posts -->
</div>
<div class="PostNav">
<div class="PostPrevious">
{% if paginator.next_page %}
<< <a href="/page{{ paginator.next_page}}">Older Posts</a>
{% endif %}
</div>
<div class="PostNext">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/">Newer Posts</a> >>
{% else %}
<a href="/page{{ paginator.previous_page }}">Newer Posts</a> >>
{% endif %}
{% endif %}
</div>
</div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'makehacklearn'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>