index.html 466 B

123456789101112131415161718192021222324252627
  1. ---
  2. layout: default
  3. ---
  4. <section class="front-page">
  5. {% for post in site.categories.posts limit: 1 %}
  6. <header>
  7. <h1>
  8. <a href="{{ post.url | prepend: site.baseurl }} ">
  9. {{ post.title }}
  10. </a>
  11. </h1>
  12. <p class="post-meta">
  13. {% if site.author.name %}
  14. by {{ site.author.name }}
  15. {% endif %}
  16. </p>
  17. </header>
  18. <article>
  19. {{ post.content }}
  20. </article>
  21. {% endfor %}
  22. </section>