Hid page links when there is just one page.
This commit is contained in:
@@ -16,6 +16,10 @@
|
|||||||
height: 75vh;
|
height: 75vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fc {
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Content. *
|
* Content. *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@@ -17,9 +17,11 @@
|
|||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="centered-container">
|
<div class="centered-container">
|
||||||
|
{% if num_pages > 1 %}
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
{% for page in pages %}<a href="./?page={{page}}">{{page}}</a>{% if not forloop.last %}<span> </span>{% endif %}{% endfor %}
|
{% for page in pages %}<a href="./?page={{page}}">{{page}}</a>{% if not forloop.last %}<span> </span>{% endif %}{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
<table class="fc mauto">
|
<table class="fc mauto">
|
||||||
<tr>
|
<tr>
|
||||||
{% if page != 1 %}
|
{% if page != 1 %}
|
||||||
|
Reference in New Issue
Block a user