changes to style & functions

set permalink from functions file. Remove posts from homepage