James Peret's blog. Built with Jekyll and the Mikey theme.

index.html 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ---
  2. layout: default
  3. title: Mickey Theme for Jekyll
  4. ---
  5. <section class="section--first section--frontpage">
  6. <div class="section-title">
  7. <div class="container">
  8. <h1 class="textLogo textLogo--frontpage">
  9. {{ site.name }}
  10. </h1>
  11. <div class="postMeta-wrapper postMeta-wrapper--frontpage">
  12. <ul class="postMeta">
  13. <li class="postMeta-tagline" style="line-height: 0.5rem;">
  14. {{ site.tagline }}
  15. </li>
  16. </ul>
  17. </div>
  18. </div>
  19. </div>
  20. </section>
  21. <section class="section--postsWrapper">
  22. <div class="container">
  23. <div class="blockGroup">
  24. <ul class="blockGroup-list">
  25. {% for post in site.posts %}
  26. <li class="block">
  27. <div class="postArticle-wrapper">
  28. <article class="postArticle postArticle--short">
  29. {% if post.image.feature %}
  30. <a href="{{ post.url }}">
  31. <div class="postArticle-image desaturate" style="background-image:url('{{ post.image.feature | prepend: site.baseurl_featured_img }}')">
  32. </div>
  33. </a>
  34. {% else %}
  35. <a href="{{ post.url }}">
  36. <div class="postArticle-image" style="background-image:url('{{site.baseurl}}assets/images/logo-black.svg')">
  37. </div>
  38. </a>
  39. {% endif %}
  40. <a class="postArticle-title" href="{{ post.url }}">{{ post.title }}</a>
  41. </article>
  42. <div class="block-postMeta">{{ post.date | date_to_string }}</div>
  43. </div>
  44. </li>
  45. {% endfor %}
  46. </ul>
  47. </div>
  48. </div>
  49. </section>