Created
November 26, 2008 09:22
-
-
Save speedmax/29334 to your computer and use it in GitHub Desktop.
Beautiful template and data API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="good-evans span-8 last" style="float:right"> | |
{{ '/img/goodevans.png'|image_tag }} | |
<ul> | |
{% for article in site.articles_tagged.good-evans %} | |
<li>{{ article.title | links_to article.url }}</li> | |
{% endfor %} | |
</ul> | |
</div> | |
<div class="latest-buzz span-10"> | |
{{ '/img/latest_buzz.png'|image_tag }} | |
<ul> | |
{% for article in site.articles_tagged.featured %} | |
{% if loop.first %} | |
<li class="featured" style="list-style:none"> | |
<h2>{{ article.title }}</h2> | |
<p> | |
{{ article.excerpt }} {{ "« Read more"|links_to article.url }} | |
</p> | |
{{ '/img/past_buzz.png'|image_tag }} | |
</li> | |
{% else %} | |
<li>{{ article.title|links_to article.url }}</li> | |
{% endif %} | |
{% endfor %} | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment