Fix active link state on lolis & grannies index pages
Fix prev/next links generator