Added infinite scroll and pagination

This commit is contained in:
Bashy 2025-09-23 21:53:36 +02:00
parent b1f096102b
commit d36bd76d52
5 changed files with 57 additions and 48 deletions

View file

@ -19,9 +19,8 @@ hexo.extend.filter.register('after_init', async function() {
// Thumbnail sizes
const sizes = [
{ name: 'small', width: 333 }, // Three-column layout
{ name: 'medium', width: 666 }, // Two-column layout
{ name: 'large', width: 1000 } // Normal post
{ name: 'small', width: 512 }, // Three-column layout
{ name: 'large', width: 1024 } // Normal post
];
const getAllFilesInclSubfolders = (dir) => {