---
layout: page
---
{% assign dir = page.relative_path | split: '.' | first | split: '/' | last %}
{% if page.thumb %}
{% endif %}
{{ content }}
{% unless page.code.size == 0 %}
{% for n in (1..page.code.size) %}
{% assign i = n | minus: 1 %}
{% assign file = page.code[i] %}
{% capture filepath %}{{ dir }}/{{ file.url }}{% endcapture %}
{% assign syntax = file.language | default: 'text' %}
{% capture code %}```{{ syntax }}
{% include_relative {{ filepath }} %}
```{% endcapture %}
{{ code | markdownify }}
{% endfor %}
{% endunless %}