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>
<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>