Nouvelle mouture du site web de Dylan
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.
 
 
 
 
 
 

32 lines
1.0 KiB

  1. ---
  2. layout: default
  3. ---
  4. <div class="wrapper">
  5. <div class="home">
  6. {%- if page.title -%}
  7. <h1 class="page-heading">{{ page.title }}</h1>
  8. {%- endif -%}
  9. {{ content }}
  10. {%- if site.categories[page.tag].size > 0 -%}
  11. <!-- <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2> -->
  12. <ul class="post-list row">
  13. {%- for post in site.categories[page.tag] -%}
  14. <li class="col-xl-4 col-lg-4 post-card" data-category="{{post.category}}">
  15. {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
  16. <!-- <span class="post-meta">{{ post.date | date: date_format }}</span> -->
  17. <a class="post-link" href="{{ post.url | relative_url }}"><img src="{{post.image}}"/></a>
  18. <h3>
  19. <!-- {{ post.title | escape }} -->
  20. <!--<span class="home-tags">{{post.hometext}}</span>-->
  21. </h3>
  22. {%- if site.show_excerpts -%}
  23. {{ post.excerpt }}
  24. {%- endif -%}
  25. </li>
  26. {%- endfor -%}
  27. </ul>
  28. {%- endif -%}
  29. </div>
  30. </div>