Sources du blog ALLELLA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

46 lines
1.3 KiB

  1. ---
  2. layout: default
  3. ---
  4. <div class="blog">
  5. {%- if page.title -%}
  6. <!-- <h1 class="page-heading">{{ page.title }}</h1> -->
  7. {%- endif -%}
  8. {%- if site.posts.size > 0 -%}
  9. <!-- <h2 class="post-list-heading">{{ page.list_title | default: "Billets" }}</h2> -->
  10. <ul class="post-list">
  11. {%- for post in site.posts -%}
  12. <li>
  13. {%- assign date_format = site.minima.date_format | default: "le %d/%m/%Y" -%}
  14. <h3>
  15. <a class="post-link" href="{{ post.url | relative_url }}">
  16. {{ post.title | escape }}
  17. </a>
  18. </h3>
  19. <div class="post-meta-tags-cats">
  20. <span class="post-meta">{{ post.date | date: date_format }}</span>
  21. <span>
  22. {%- for tag in post.tags -%}
  23. <span class="post-meta-tag">{{tag}}</span>
  24. {%- endfor -%}
  25. {%- for cat in post.categories -%}
  26. <span class="post-meta-category">{{cat}}</span>
  27. {%- endfor -%}
  28. </span>
  29. </div>
  30. <p>{{ post.excerpt }}</p>
  31. <div class="read-more">
  32. <a href="{{ post.url | relative_url }}">Lire la suite ...</a>
  33. </div>
  34. </li>
  35. {%- endfor -%}
  36. </ul>
  37. <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
  38. {%- endif -%}
  39. </div>