Skip to content

Latest commit

 

History

History
63 lines (54 loc) · 1.53 KB

blog.md

File metadata and controls

63 lines (54 loc) · 1.53 KB
layout title permalink
page
Blog
/blog/
{% for post in paginator.posts %}

{{ post.title }}

  {% if post.subtitle %}
  <h3 class="post-subtitle">
    {{ post.subtitle }}
  </h3>
  {% endif %}
</a>

<p class="post-meta">
  Posted on {{ post.date | date: "%B %-d, %Y" }}
</p>

<div class="post-entry">
  {{ post.content | strip_html | xml_escape | truncatewords: 50 }}
  <a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Leggi&nbsp;tutto]</a>
</div>

{% if post.tags.size > 0 %}
<div class="blog-tags">
  Tags:
  {% if site.link-tags %}
  {% for tag in post.tags %}
  <a href="{{ site.baseurl }}/tag/{{ tag }}">{{ tag }}</a>
  {% endfor %}
  {% else %}
    {{ post.tags | join: ", " }}
  {% endif %}
</div>
{% endif %}
{% endfor %}

{% if paginator.total_pages > 1 %}

    {% if paginator.previous_page %}
  • ← Post più nuovi
  • {% endif %} {% if paginator.next_page %}
  • Post più vecchi →
  • {% endif %}
{% endif %}