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

1 line
197 B
Twig

<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>