|
|
@ -49,13 +49,20 @@
|
|
|
|
<div class="category">{{content['start']}} {{content['category']}}</div>
|
|
|
|
<div class="category">{{content['start']}} {{content['category']}}</div>
|
|
|
|
|
|
|
|
|
|
|
|
{%else%}
|
|
|
|
{%else%}
|
|
|
|
<h2 class="title">{{content['title']}}</h2>
|
|
|
|
|
|
|
|
<div class="page-number">{{loop.index}}/{{contents|length}}</div>
|
|
|
|
|
|
|
|
<p
|
|
|
|
<p
|
|
|
|
class="description {% if content['description']|length > 200 %} long-text {%endif%}"
|
|
|
|
class="description {% if content['description']|length > 200 %} long-text {%endif%}"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
{{content['description']}}
|
|
|
|
{{content['description']}}
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
|
|
|
<h2 class="title">{{content['title']}}</h2>
|
|
|
|
|
|
|
|
<span
|
|
|
|
|
|
|
|
class="progress-bar"
|
|
|
|
|
|
|
|
style="width: {{ 100 / contents|length * loop.index}}%"
|
|
|
|
|
|
|
|
></span>
|
|
|
|
|
|
|
|
</footer>
|
|
|
|
{%endif%}
|
|
|
|
{%endif%}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|