UNPKG

generator-jekyll-starter-kit

Version:

Combine Jekyll and Google web-starter-kit to enjoy the best of both worlds

28 lines (20 loc) 561 B
--- layout: default --- <div class="home"> <h1 class="page-heading">Posts</h1> <ul class="post-list"> {% for post in site.posts %} <li> <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span> <h2> <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> </h2> </li> {% endfor %} </ul> <% if (includePug) { -%> {% include example.html %} <% } -%> <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p> </div>