mirror of
https://github.com/jimeh/jimeh.me-v3.0.git
synced 2026-02-19 05:46:40 +00:00
initial import
This commit is contained in:
14
source/_includes/disqus_load.html
Normal file
14
source/_includes/disqus_load.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<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/jimehtesting/get_num_replies.js' + query + '"></' + 'script>');
|
||||
})();
|
||||
//]]>
|
||||
</script>
|
||||
15
source/_includes/post-item.html
Normal file
15
source/_includes/post-item.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="post-item">
|
||||
<div class="post-meta">
|
||||
<p class="date">{{ post.date | date: "<i>%d</i><b>%b</b>" }}</p>
|
||||
</div>
|
||||
|
||||
<h1 class="post-title"><a href="{{ post.url }}/">{{ post.title }}</a></h1>
|
||||
|
||||
<div class="post-content">
|
||||
{{ post.content }}
|
||||
</div>
|
||||
|
||||
<p class="post-comment-link">
|
||||
<a href="{{ post.url }}/#disqus_thread">Comments</a>
|
||||
</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user