Account for search page not existing
This commit is contained in:
parent
5394ebf984
commit
c5e662f2d8
1 changed files with 7 additions and 5 deletions
|
@ -28,11 +28,13 @@
|
||||||
<i class="fab fa-github" aria-hidden="true"></i>
|
<i class="fab fa-github" aria-hidden="true"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<a class="navbar-item navbar-icon" href="{% pageurl search_page %}">
|
{% if search_page %}
|
||||||
<span class="icon">
|
<a class="navbar-item navbar-icon" href="{% pageurl search_page %}">
|
||||||
<i class="fas fa-search" aria-hidden="true"></i>
|
<span class="icon">
|
||||||
</span>
|
<i class="fas fa-search" aria-hidden="true"></i>
|
||||||
</a>
|
</span>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in a new issue