Remove redundant condition

This commit is contained in:
Jake Howard 2022-07-25 20:10:49 +01:00
parent e7617f24de
commit 9288f97381
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -16,7 +16,7 @@
{% include "common/content-details.html" %} {% include "common/content-details.html" %}
</div> </div>
<div class="column is-narrow dropdown-wrapper is-hidden-touch is-grouped"> <div class="column is-narrow dropdown-wrapper is-hidden-touch is-grouped">
{% if not no_table_of_contents and page.table_of_contents %} {% if page.table_of_contents %}
<div class="dropdown is-hoverable is-right" id="table-of-contents"> <div class="dropdown is-hoverable is-right" id="table-of-contents">
<div class="dropdown-trigger"> <div class="dropdown-trigger">
<button class="button is-radiusless" aria-haspopup="true" aria-controls="toc-menu"> <button class="button is-radiusless" aria-haspopup="true" aria-controls="toc-menu">