Sha256: ace77b5b0caf794dd4ba2864c8bfa9492686480ad9955f2e0f914acf0d78b666
Contents?: true
Size: 1.3 KB
Versions: 2
Compression:
Stored size: 1.3 KB
Contents
--- layout: default --- <div class="home"> {%- if page.title -%} <h1 class="page-heading">{{ page.title }}</h1> {%- endif -%} {%- if site.posts.size > 0 -%} <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2> <ul class="post-list"> {%- for post in site.posts limit:site.kids.home_posts -%} {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} <li> <article> <div class="title-wrapper"> <h3> <a class="post-link" href="{{ post.url | relative_url }}"> {{ post.title | escape }} </a> </h3> <span class="post-meta">{{ post.date | date: date_format }}</span> </div> <div> {%- if site.show_excerpts -%} {{ post.excerpt | markdownify }} {%- endif -%} </div> </article> </li> {%- endfor -%} </ul> {%- if site.posts.size > site.kids.home_posts -%} <a href="{{ site.kids.archives_path | default: 'archives.html' | relative_url }}"> Older posts </a> {%- endif -%} {{ content }} <p class="feed-subscribe"> <a href="{{ 'feed.xml' | relative_url }}"> <span>Subscribe to our feed</span> </a> </p> {%- endif -%} </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kids-0.1.1 | _layouts/home.html |
kids-0.1.0 | _layouts/home.html |