Hide navbar contents on small screens

This commit is contained in:
n 2021-07-13 18:26:17 +09:00
parent 73bf37a8bd
commit 5e093604e0

View file

@ -78,10 +78,10 @@
Docs
</a>
<!-- Navbar nav -->
<ul class="navbar-nav ml-auto">
<ul class="navbar-nav ml-auto d-none d-md-flex"">
<li class="nav-item">
<a href="{{ urls.commitHistoryMaster }}/{{ page.inputPath }}" class="nav-link" target="_blank" ref="noreferrer">
{% fas_icon "history" %} &nbsp; View History
{% fas_icon "history" %} &nbsp; View History
</a>
</li>
<li class="nav-item">
@ -160,7 +160,10 @@
<strong>Please note that this article is still a draft and might not have any contents yet.</strong>
{% endif %}
{{ content | safe }}
{% if page.url != '/' %}{% include 'contribution_invitation.njk' %}{% endif %}
{% if page.url != '/' %}
<hr class="mb-20">
{% include 'contribution_invitation.njk' %}
{% endif %}
</div>
</div>
<nav class="navbar navbar-static-bottom">