diff --git a/material/drawer.html b/material/drawer.html index c13075d4843678a659a57c01fdb38827acedc4b5..30edd3a0b93673c81332058f99f2ea12d0d60bcc 100644 --- a/material/drawer.html +++ b/material/drawer.html @@ -1,5 +1,6 @@ <nav aria-label="Navigation"> {% set home = repo_url | default("/", true) %} + {% if repo_name == "GitHub" and repo_url %} <a href="{{ home }}" class="project"> <div class="banner"> {% if config.extra.logo %} @@ -21,6 +22,7 @@ </div> </div> </a> + {% endif %} <div class="scrollable"> <div class="wrapper"> {% if repo_name == "GitHub" and repo_url %} @@ -71,4 +73,4 @@ </div> </div> </div> -</nav> \ No newline at end of file +</nav>