public
Description: Meta Theme for Mephisto
Homepage: http://www.metaskills.net/meta-theme-for-mephisto
Clone URL: git://github.com/metaskills/metatheme.git
commit  bdc1f2326da0af26a735e79e2fd623c2b8b75c1a
tree    2f37e3ae7ebc79103c0901f6007dc710ab2f2427
parent  211c8af5219d84e3ef56c6e951dc3e03be3d198c
metatheme / templates / _list.liquid
100644 34 lines (28 sloc) 1.026 kb
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
 
{% for article in articles %}
<div class="node" style="margin-bottom:15px;">
  
  <h2>{{ article | link_to_article }}</h2>
  
  <div class="info-top"></div>
  <div class="info">Posted On: {{ article.published_at | format_date: 'mdy', true }} by {{ article.author.login }}</div>
  <div class="content">
    {% include 'first_asset' %}
    {% if article.excerpt %}
      {{ article.excerpt }}
    {% else %}
      {{ article.body }}
    {% endif %}
  </div>
  <div class="links">
    <a href="{{ article.url }}" class="read-more"><strong>Read More</strong></a>
    {% if article.accept_comments %}
    | <a href="{{ article.url }}#comments" class="read-more">{{ article.comments_count | pluralize: 'Comments' }}</a>
    {% endif %}
    {% include 'blogosphere_links' %}
  </div>
  <div class="terms">
    <strong>Tags:</strong>
    {% for tag in article.tags %}
      <a href="{{ site.home_section.url }}tags/{{ tag }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
    {% endfor %}
  </div>
  
</div>
{% endfor %}