fix: p is not allowed in span

This commit is contained in:
Zak Kemble 2022-03-27 18:45:43 +01:00
parent 6900d9f2bc
commit 4f590e2bba

View file

@ -9,10 +9,10 @@
<p>{{ page.previous.title }}</p> <p>{{ page.previous.title }}</p>
</a> </a>
{% else %} {% else %}
<span class="btn btn-outline-primary disabled" <div class="btn btn-outline-primary disabled"
prompt="{{ site.data.locales[lang].post.button.previous }}"> prompt="{{ site.data.locales[lang].post.button.previous }}">
<p>-</p> <p>-</p>
</span> </div>
{% endif %} {% endif %}
{% if page.next.url %} {% if page.next.url %}
@ -21,10 +21,10 @@
<p>{{ page.next.title }}</p> <p>{{ page.next.title }}</p>
</a> </a>
{% else %} {% else %}
<span class="btn btn-outline-primary disabled" <div class="btn btn-outline-primary disabled"
prompt="{{ site.data.locales[lang].post.button.next }}"> prompt="{{ site.data.locales[lang].post.button.next }}">
<p>-</p> <p>-</p>
</span> </div>
{% endif %} {% endif %}
</div> </div>