Account for search page not existing

This commit is contained in:
Jake Howard 2022-08-16 23:24:17 +01:00
parent 5394ebf984
commit c5e662f2d8
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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>
{% if search_page %}
<a class="navbar-item navbar-icon" href="{% pageurl search_page %}"> <a class="navbar-item navbar-icon" href="{% pageurl search_page %}">
<span class="icon"> <span class="icon">
<i class="fas fa-search" aria-hidden="true"></i> <i class="fas fa-search" aria-hidden="true"></i>
</span> </span>
</a> </a>
{% endif %}
</div> </div>
</div> </div>
</nav> </nav>