Sha256: 5b47e659dca4099d86280cb2cab33655df8aebd6ae7df324c27ddb26d467a2f5
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
--- layout: core --- {%- include strings.html -%} {%- include hero.html title=hero_title -%} <section class="Container"> {{ content }} {%- if site.posts.size > 0 -%} <aside class="RecentPosts"> <h2 class="RecentPosts__title">{{ recent_posts }}</h2> {%- if site.oscailte.posts_url -%} <small> <a class="RecentPosts__all" href="{{ site.oscailte.posts_url | relative_url }}"> {{ view_all }} </a> </small> {%- endif -%} <ul class="RecentPosts__list o-list-bare"> {%- for post in site.posts limit: 6 -%} <li class="RecentPosts__item Card o-no-owl"> {%- assign date_format = site.oscailte.date_format | default: "%b %-d, %Y" -%} <h3 class="Card__title"> <a class="RecentPosts__link" href="{{ post.url | relative_url }}"> {{ post.title | escape }} </a> </h3> <small class="Card__meta o-no-owl o-muted"> {%- include icon.html icon="calendar" -%} {{ post.date | date: date_format }} </small> {%- if site.show_excerpts -%} <div class="RecentPosts__excerpt o-no-owl"> {{ post.excerpt }} </div> {%- endif -%} <a class="Button" href="{{ post.url | relative_url }}">{{ read_full }}</a> </li> {%- endfor -%} </ul> </aside> {%- endif -%} </section>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oscailte-3.0.1 | _layouts/home.html |