{% extends "base.html" %} {% block title %}{{guide['title']}}{% endblock title%} {% block specific_head %} {% endblock specific_head%} {% block content %}

{{label['introduction']}}

{{guide['introduction_rendered'] | cleanup_rendered_content | safe}}
    {% for step in guide['steps'] %} {% set steploop = loop %}
  1. {% if step['media']['data'] | length == 0 %}
    {% include 'guide-step-lines-container.html' %}
    {% elif step['media']['type'] == 'video' %}
    {{step['lines'][0]['text_rendered'] | cleanup_rendered_content}}
    {% include 'guide-step-lines-container.html' %}
    {% elif step['media']['type'] == 'embed' %}
    {{step['media']['data']['html'] | safe}}
    {% include 'guide-step-lines-container.html' %}
    {% else %}
    {{step['media']['data'][0]['guid']}}
    {% if step['media']['data'] | length > 1 %}
    {% for image in step['media']['data'] %}
    {{image['guid']}}
    {% endfor %}
    {% endif %} {% include 'guide-step-lines-container.html' %}
    {% endif %}
  2. {% endfor %}
{% if guide['conclusion_rendered'] %}
{{label['conclusion']}}
{{guide['conclusion_rendered'] | cleanup_rendered_content | safe}}
{% endif %}

{{guide['author']['username']}}

{% if guide['author']['join_date_rendered'] %}

{{label['member_since_before']}}{{guide['author']['join_date_rendered']}}{{label['member_since_after']}}

{% endif %}

{{guide['author']['reputation']}} {{label['reputation']}}

{% endblock content%}