Sha256: ee46d413c90bbf6c6f4c18ace45c831e40f91732cc4341e88e02331157332b8d
Contents?: true
Size: 1.08 KB
Versions: 4
Compression:
Stored size: 1.08 KB
Contents
--- layout: base --- {% assign strings = site.data.strings %} <article class="page" role="article"> <header> <h1 class="page-title">{{ page.title | default:strings.home | default:"Home"}}</h1> {% include message.html text=page.description hide=page.no_description %} </header> {{ content }} <hr class="dingbat"/> {% if site.posts.size > 0 %} <h2 class="hr">{{ strings.posts | default:"Posts" }}</h2> <ul class="related-posts"> {% for post in site.posts limit:5 %} {% include post-list-item.html post=post %} {% endfor %} </ul> {% endif %} {% assign pages = site.html_pages | where:"layout","page" %} {% if pages.size > 0 %} <h2 class="hr">{{ strings.pages | default:"Pages" }}</h2> <ul class="related-posts"> {% for page in pages limit:5 %} {% if page.layout == 'page' %} <li class="h4"> <a href="{{ page.url | relative_url }}" class="flip-title"> <span>{{ page.title }}</span> </a> </li> {% endif %} {% endfor %} </ul> {% endif %} </article>
Version data entries
4 entries across 2 versions & 1 rubygems