Skip to content

Latest commit

 

History

History
64 lines (58 loc) · 1.76 KB

blog.md

File metadata and controls

64 lines (58 loc) · 1.76 KB
layout title
layout
code52
    {% for post in site.posts limit:1 %}
  • {% if forloop.first and post.layout == "post" %}
    				<div class="postdate">{{ post.date | date: "%e %B, %Y"  }}
    					<ul>
    					{% for tag in post.tags %}
    						<li><a href="/tag/{{ tag }}">{{ tag }}</a></li>
    					{% endfor %}
    					</ul>
    				</div>
    				
    				{{ post.content }}
    				<br />
    				<a href="{{ post.url}}#disqus_thread">Comments</a>
    			{% else %}
    				<h2><a class="postlink" href="{{ post.url }}">{{ post.title }}</a></h2>
    				<div class="postdate">{{ post.date | date: "%e %B, %Y"  }}
    					<ul>
    					{% for tag in post.tags %}
    						<li><a href="/tag/{{ tag }}">{{ tag }}</a></li>
    					{% endfor %}
    					</ul>
    				</div>
    				{{ post.content }}
    				
    				<a href="{{ post.url }}#disqus_thread">Comments</a>
    			{% endif %}
    		</div>
    	</li>
    {% endfor %}
    

OLDER

    {% for post in site.posts offset:1 %}
  • {{ post.date | date: "%d %b" }} {{ post.title }}
  • {% endfor %}
<script type="text/javascript"> //= 0) { query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&'; } } document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/code52/get_num_replies.js' + query + '">'); })(); //]]> </script>