Add repository button to the navbar

This commit is contained in:
daudix
2024-08-18 02:32:22 +03:00
parent 67c698b949
commit c69b4a3e4f
6 changed files with 28 additions and 10 deletions

View File

@ -79,6 +79,13 @@
</a>
</li>
{%- endif %}
{%- if config.extra.source_url and config.extra.nav.show_repo %}
<li id="repo">
<a href="{{ config.extra.source_url }}" title="{{ macros_translate::translate(key='repo', default='Repository', language_strings=language_strings) }}">
<i class="icon"></i>
</a>
</li>
{%- endif %}
</ul>
</nav>
{%- if config.build_search_index %}