collections via markdown files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank
2019-03-22 17:22:03 +01:00
parent 4a9a3eec06
commit ff1da084af
46 changed files with 547 additions and 362 deletions

View File

@@ -0,0 +1,19 @@
{% extends 'base.html' %}
{% block part0 %}
{{ Body }}
{% endblock part0 %}
{% block part1 %}
{% for e in NavElement.ColMap.doccoll %}
{% with e.FilenameMatch.lowdash|count + 1 as h %}
<h{{ h }}>
{{ e.FilenameMatch.title }}
{% if e.Data.Version %}
<span class="versionBadge">{{ e.Data.Version }}</span>
{% endif %}
</h{{ h }}>
{% endwith %}
{{ e.Body }}
{% endfor %}
{% endblock part1 %}

View File

@@ -0,0 +1,5 @@
function count(el, param) {
return el.length
}
module.exports = count;