diff --git a/material/partials/header.html b/material/partials/header.html index 460cafe75..ed3f9a5c4 100644 --- a/material/partials/header.html +++ b/material/partials/header.html @@ -24,7 +24,9 @@
- {% include "partials/source.html" %} + {% if repo_url %} + {% include "partials/source.html" %} + {% endif %}
diff --git a/material/partials/nav.html b/material/partials/nav.html index 2be7dae37..2bdbf7bed 100644 --- a/material/partials/nav.html +++ b/material/partials/nav.html @@ -6,7 +6,9 @@ {% include "partials/nav-item.html" %} {% endfor %} -
- {% include "partials/source.html" %} -
+ {% if repo_url %} +
+ {% include "partials/source.html" %} +
+ {% endif %} diff --git a/src/partials/header.html b/src/partials/header.html index 478a773b8..05618f40f 100644 --- a/src/partials/header.html +++ b/src/partials/header.html @@ -64,7 +64,9 @@
- {% include "partials/source.html" %} + {% if repo_url %} + {% include "partials/source.html" %} + {% endif %}
diff --git a/src/partials/nav.html b/src/partials/nav.html index 488d77391..37024a718 100644 --- a/src/partials/nav.html +++ b/src/partials/nav.html @@ -29,7 +29,9 @@ {% include "partials/nav-item.html" %} {% endfor %} -
- {% include "partials/source.html" %} -
+ {% if repo_url %} +
+ {% include "partials/source.html" %} +
+ {% endif %}