doc/themes/learn4/templates/partials/github-link.html.twig

2 lines
244 B
Twig
Raw Normal View History

2020-11-14 11:24:49 +01:00
<a class="github-link tooltip tooltip-bottom" href="{{ github_config.tree ~ ('/'~page.filePathClean)|replace({'/user/':''}) }}" data-tooltip="Edit this page on GitHub"><i class="fa fa-pencil-square"></i> {{ 'THEME_LEARN4_GITHUB_EDIT'|t }}</a>