Revision 7508da11c174ca4ada21ee1e3f4ea3a04cd8406f authored by jekyllbot on 10 March 2018, 02:09:57 UTC, committed by jekyllbot on 10 March 2018, 02:09:57 UTC
1 parent e1b64f9
Raw File
news_contents.html
<div class="unit one-fifth hide-on-mobiles">
  <aside>
    <ul>
      <li class="{% if page.title == 'News' %}current{% endif %}">
        <a href="/news/">All News</a>
      </li>
      <li class="{% if page.title == 'Releases' %}current{% endif %}">
        <a href="/news/releases/">Jekyll Releases</a>
      </li>
    </ul>
    <h4>Recent Releases</h4>
    <ul>
      {% for post in site.categories.release limit:5 %}
      <li class="{% if page.title == post.title %}current{% endif %}">
        <a href="{{ post.url }}">Version {{ post.version }}</a>
      </li>
      {% endfor %}
      <li>
        <a href="/docs/history/">History ยป</a>
      </li>
    </ul>
    <h4>Other News</h4>
    <ul>
        {% for post in site.posts %}
        {% unless post.categories contains 'release' %}
        <li class="{% if page.title == post.title %}current{% endif %}">
          <a href="{{ post.url }}">{{ post.title }}</a>
        </li>
        {% endunless %}
        {% endfor %}
    </ul>
  </aside>
</div>
back to top