17 lines
654 B
HTML
17 lines
654 B
HTML
{% extends 'page.html' %}{% import "tests.html" as tests %}
|
|
{% block main %}
|
|
{{ super() }}
|
|
{% if page.extra.pipeline %}
|
|
{% if page.extra.pipeline in config.extra.tests.pipelines %}
|
|
<hr>
|
|
<aside class="widget-tests">
|
|
{{ tests::pipeline(directory=config.extra.tests.directory, name=page.extra.pipeline) }}
|
|
</aside>
|
|
{% else %}
|
|
<h2>No such pipeline ({{ page.extra.pipeline }}) defined in config.extra.pipelines</h2>
|
|
{% endif %}
|
|
{% else %}
|
|
<h2>Test pipeline for project not defined in frontmatter (page.extra.pipeline).</h2>
|
|
{% endif %}
|
|
{% endblock %}
|