---
pagination:
data: codeFiles
size: 1
alias: codeFile
permalink: "files/file{{codeFile}}.html"
---
<html>
{% set page = "files" %}
{% include "style.njk" %}
<body>
{% include "tabs.njk" %}
{% include "navbar.njk" %}
<h1>{{codeFile | lastPart}}</h1>
{% if codeFile | isDirectory %}
<ul>
{% set listObj = (codeFiles | subDir(codeFile) | topLevelFiles) %}
{% for dir in listObj.directories %}
<li><a href=/files/file{{codeFile}}/{{dir}}.html>📁 {{dir}}</a></li>
{% endfor %}
{% for file in listObj.files %}
<li><a href=/files/file{{codeFile}}/{{file}}.html>{{file}}</a></li>
{% endfor %}
</ul>
{% else %}
<code>
<pre>
{{ codeFile | readFileContents }}
</pre>
</code>
{% endif %}
</body>
</html>