fix layout link extensions to work without apache/.htaccee