Use $pages instead of $files for creating navbar
Merge pull request #1 from Xaerxess/devel

Use $pages instead of $files for creating navbar