{% if current_route != '' and admin is not defined %}
    <li>
        <a href="javascript:void(0)" class="sharing" data-role="dropdown" {% if homeshare is defined %}data-link="{{ url('homepage') }}"{% else %}data-link="{{ url(current_route, app.request.attributes.get('_route_params'))|trim('/') }}"{% endif %}>
            <i class="material-icons">share</i>
        </a>
    </li>
{% endif %}
{% if current_route != '' and admin is not defined %}
    <li>
        <a href="javascript:void(0)" class="sharing" data-role="dropdown" {% if homeshare is defined %}data-link="{{ url('homepage') }}"{% else %}data-link="{{ url(current_route, app.request.attributes.get('_route_params'))|trim('/') }}"{% endif %}>
            <i class="material-icons">share</i>
        </a>
    </li>
{% endif %}

Fix (Sharing): Text files should end with a newline character
Fix (Sharing): Text files should end with a newline character
