{% set rel_prefix="../../" %}{% set bodyFullWidth = True %}{% 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(rel_prefix) | safe}}
{% if (guide['tools'] | length > 0) and (guide['parts'] | length > 0) %} {% set colclass = 'no-columns' %} {% else %} {% set colclass = 'three-columns' %} {% endif %} {% if guide['tools'] | length > 0 %}

{{label['tools']}}

{% endif %} {% if guide['parts'] | length > 0 %}

{{label['parts']}}

{% endif %}
    {% 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(rel_prefix)}}
    {% include 'guide-step-lines-container.html' %}
    {% elif step['media']['type'] == 'embed' %}
    {{step['media']['data']['html'] | cleanup_rendered_content(rel_prefix) | 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 %}
    {% set curitem=step %} {% set curitemid="step-" + str(step["stepid"]) %} {% include 'guide-comments.html' %}
  2. {% endfor %}
{% if guide['conclusion_rendered'] %}
{{label['conclusion']}}
{{guide['conclusion_rendered'] | cleanup_rendered_content(rel_prefix) | safe}}
{% endif %}

{{guide['author'] | get_user_display_name}}

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

{{label['member_since_before']}}{{guide['author']['join_date'] | get_timestamp_day_rendered}}{{label['member_since_after']}}

{% endif %}

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

{% if guide | get_item_comments_count == 1 %} {{label['comments_count_one']}} {% else %} {{label['comments_count_before']}}{{guide|get_item_comments_count}}{{label['comments_count_after']}} {% endif %}

{% set curitem=guide %} {% set curitemid="guide-" + str(guide["guideid"]) %} {% include 'guide-comments.html' %}
{% endblock content%}