mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added guards for repository banner
This commit is contained in:
parent
4dbd2978a8
commit
eaeba59dd8
@ -24,7 +24,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="md-flex__cell md-flex__cell--shrink">
|
<div class="md-flex__cell md-flex__cell--shrink">
|
||||||
<div class="md-header-nav__source">
|
<div class="md-header-nav__source">
|
||||||
{% include "partials/source.html" %}
|
{% if repo_url %}
|
||||||
|
{% include "partials/source.html" %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
{% include "partials/nav-item.html" %}
|
{% include "partials/nav-item.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<div class="md-nav__source">
|
{% if repo_url %}
|
||||||
{% include "partials/source.html" %}
|
<div class="md-nav__source">
|
||||||
</div>
|
{% include "partials/source.html" %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -64,7 +64,9 @@
|
|||||||
<!-- Repository containing source -->
|
<!-- Repository containing source -->
|
||||||
<div class="md-flex__cell md-flex__cell--shrink">
|
<div class="md-flex__cell md-flex__cell--shrink">
|
||||||
<div class="md-header-nav__source">
|
<div class="md-header-nav__source">
|
||||||
{% include "partials/source.html" %}
|
{% if repo_url %}
|
||||||
|
{% include "partials/source.html" %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -29,7 +29,9 @@
|
|||||||
{% include "partials/nav-item.html" %}
|
{% include "partials/nav-item.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<div class="md-nav__source">
|
{% if repo_url %}
|
||||||
{% include "partials/source.html" %}
|
<div class="md-nav__source">
|
||||||
</div>
|
{% include "partials/source.html" %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user