Sha256: 2ad19538f8788529dd8c207c8befbe9c3e11705a3911a70617ca6f31767b2588
Contents?: true
Size: 1.46 KB
Versions: 16
Compression:
Stored size: 1.46 KB
Contents
--- layout: default --- <div class="home"> {% capture i18n-tag %}archive-{{ page.type }}{% endcapture %} {% capture default-title %}Archive of {{ page.type }} '%1'{% endcapture %} {% capture title %}{% include i18n.html value=i18n-tag default=default-title %}{% endcapture %} <h1 class="page-heading">{{ title | replace: "%1", page.title | escape }}</h1> {% capture site_lang %}{{ site.lang | default: "en" }}{% endcapture %} <ul class="post-archives"> {% for post in page.posts %} {% capture post_lang %}{{ post.lang | default: site_lang }}{% endcapture %} {% capture lang %}{% if post_lang != site_lang %}{{ post_lang }}{% endif %}{% endcapture %} <li> <span class="post-meta"> {{ post.date | date: "%b %-d, %Y" }} {% if post.categories != empty or post.tags != empty %} {% include category_links.html categories=post.categories tags=post.tags %} {% endif %} {% if post.external-url %} • <a href="{{ post.url | relative_url }}">Permalink</a> {% endif %} </span> <h2> {% if post.external-url %} <a class="post-link" href="{{ post.external-url }}">{{ post.title | escape }} →</a> {% else %} <a class="post-link" href="{{ post.url | relative_url }}"{% if lang != empty %} lang="{{ lang }}"{% endif %}>{{ post.title | escape }}</a> {% endif %} </h2> </li> {% endfor %} </ul> </div>
Version data entries
16 entries across 16 versions & 2 rubygems