diff --git a/themes/lumbung-theme/layouts/_default/baseof.html b/themes/lumbung-theme/layouts/_default/baseof.html index a1debd4..ecc2605 100644 --- a/themes/lumbung-theme/layouts/_default/baseof.html +++ b/themes/lumbung-theme/layouts/_default/baseof.html @@ -27,6 +27,7 @@ media.appendChild(iframe); document.querySelector('#thumb-'+ id).remove(); } + document.querySelector('[aria-label="Previous"]').parentElement.classList.add('previous-page-link') diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index 1e38547..8ab2314 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -737,7 +737,8 @@ li.page-item.disabled { li.page-item:first-child, li.page-item:last-child, -li.page-item:nth-last-child(2) { +li.page-item:nth-last-child(2), +.previous-page-link { border: none; text-decoration: none; } @@ -747,7 +748,9 @@ li.page-item:first-child::after, li.page-item:last-child::before, li.page-item:last-child::after, li.page-item:nth-last-child(2)::before, -li.page-item:nth-last-child(2)::after { +li.page-item:nth-last-child(2)::after, +.previous-page-link::before, +.previous-page-link::after { display: none; }