Add support for utm_source

This commit is contained in:
Francesco Siddi 2017-03-24 11:47:12 +01:00
parent b2ed441bf7
commit 46c019a758

View File

@ -241,6 +241,11 @@ link(href="{{ url_for('static_pillar', filename='assets/css/project-main.css', v
| {% endif %}
| {% if request.args.get('utm_source') and config.UTM_LINK %}
#utm_container
a(href="{{config.UTM_LINK['link']}}")
img(src="{{config.UTM_LINK['image']}}", alt="gift", class="img-responsive")
| {% endif %}
#project_context
| {% block project_context %}
| {% if show_project %}