{% load wagtailimages_tags my my_amp %}
{% for media in portfolio.cover %} {% if media.block_type == 'svg' %} {% amp_img %} {{ portfolio.title }} {% endamp_img %} {% elif media.block_type == 'image' %} {% include 'cms/blocks/common/picture.html' with img=media.value %} {% endif %} {% endfor %}

{{ portfolio.h1 }}

{% include 'cms/blocks/common/tags_blog.html' with root_page=portfolio.get_parent tags=portfolio.tags.all links=0 %}

{{ portfolio.intro }}