Fixed pagination not working on tag templates

refs https://github.com/TryGhost/Source/issues/10
This commit is contained in:
Sodbileg Gansukh 2023-10-11 09:30:48 +08:00
parent e0483fd7f4
commit dedc9cbc3d
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -40,7 +40,7 @@
/* Infinite scroll pagination */
(function () {
if (document.body.classList.contains('paged')) {
if (!document.body.classList.contains('post-template')) {
pagination();
}
})();