hyde icon indicating copy to clipboard operation
hyde copied to clipboard

update liquid in sidebar.html to avoid mutliple entries for paginated resources

Open flyinggrizzly opened this issue 8 years ago • 1 comments

Previously the template would generate multiple sidebar links to the same section if that section used layout: page and was paginated (i.e. blogs).

Liquid now checks if the url of the node it is parsing contains 'page*', and if so, skips it. It will now only pick up the index.html files with layout: page

flyinggrizzly avatar Nov 02 '16 08:11 flyinggrizzly

I just ran into this issue! Thanks for the PR, it let me fix it on my site.

agude avatar Nov 13 '16 00:11 agude