added layout for front
replace dash with underscore
added license
better handling of front end pages
- remove post edit link
- do not handle if page content is empty