{% set type = type|default('github') %} {% if type == 'github' %} {% set url = 'http://github.com/' ~ package ~ '/archive/' ~ version ~ '.zip' %} {% endif %} {% set title = title|default(package) %} {% if icon is not empty %} {% endif %} {{ title }}