{%- if show_source and has_source and sourcename %}
<a id="button-show-source"
    class="mdl-button mdl-js-button mdl-button--icon"
    href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">
<i class="material-icons">code</i>
</a>
<div class="mdl-tooltip" data-mdl-for="button-show-source">
{{ _('Show Source') }}
</div>
{%- endif %}