20 lines
458 B
HTML
20 lines
458 B
HTML
|
{% extends 'layout.html' %}
|
||
|
|
||
|
{% set script = contents.tests[page.metadata.script] %}
|
||
|
|
||
|
{% block scripts %}
|
||
|
<script src="{{ env.config.baseUrl }}gif.js?v={{ version }}"></script>
|
||
|
<script src="{{ script.url }}?v={{ version }}"></script>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block body %}
|
||
|
<h2>{{ page.title }}</h2>
|
||
|
<div class="test">
|
||
|
{{ page.html }}
|
||
|
</div>
|
||
|
<h2>Source</h2>
|
||
|
<pre class="src">
|
||
|
<code>{{ hljs.highlightAuto(script.source).value }}</code>
|
||
|
</pre>
|
||
|
{% endblock %}
|