use filemetadata instead of glob-meta, use filepath instead of own plugin, clean up index template