{% if slug is defined and slug%}
<a
	href="{{ path('infinito_api_rest_layer_read',{'identity':slug,'layer':layer,'_format':'html'}) }}">
	{{ slug }}</a>{% endif %}#<a
	href="{{ path('infinito_api_rest_layer_read',{'identity':id,'layer':layer,'_format':'html'}) }}">{{ id }}
</a>