aksworkshop/index.html

29 строки
872 B
HTML

---
layout: index
title: index
---
{% assign entries = site.entries | sort: "number" %}
{% for entry in entries %}
{% if entry.title != 'index'%}
<section id="{{ entry.sectionid }}" class="{{ entry.sectionclass }}">
{% case entry.sectionclass %}
{% when 'h1' %}
{% if entry.type == 'nocount'%}
<h1 class="nocount">{{ entry.title }}</h1>
{% else %}
<h1>{{ entry.title }}</h1>
{% endif %}
{% when 'h2' %}
<h2>{{ entry.title }}</h2>
{% when 'h3' %}
<h3>{{ entry.title }}</h3>
{% when 'h4' %}
<h4>{{ entry.title }}</h4>
{% endcase %}
{{ entry.content }}
</section>
{% endif %}
{% endfor %}