doc/themes/learn2/templates/partials/github_link.html.twig

2 lines
197 B
Twig
Raw Normal View History

<a class="github-link" href="{{ theme_config.github.tree ~ ('/'~page.filePathClean)|replace({'/user/':''}) }}"><i class="fa fa-github-square"></i> {{ 'THEME_LEARN2_GITHUB_EDIT_THIS_PAGE'|t }}</a>