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 %}
-
{% for post in site.posts offset:1 %}
- {{ post.date | date: "%d %b" }} {{ post.title }} {% endfor %}