Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if settings.show_services %}
- <div class="container">
- <div class="row text-center"><br>
- {% for z in (1..3) %}
- {% assign show_services_image = 'show_services_image' | append: z %}
- {% capture services %}{{ 'services_' | append: z | append: '.png' }}{% endcapture %}
- {% assign title_image = 'title_' | append: z | append: '_image' %}
- {% assign desc_image = 'desc_' | append: z | append: '_image' %}
- {% if settings[show_image] %}
- <div class="col-md-4 col-sm-4" style="width: 28%;float: left;padding: 0 30px;">
- <img src="{{ services | asset_url }}" alt="{{ settings[desc_image] }}" class="img-thumbnail" style="width:150px;">
- <h3>{{ settings[title_image] }}</h3>
- {% if settings[desc_image] != '' %}
- <p>{{ settings[desc_image] }}</p>
- {% endif %}
- </div>
- {% endif %}
- {% endfor %}
- </div>
- </div>
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement