Small code cleanup
The <!--more--> (summary divider) now works even if it is on the same line as content

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
use s everywhere for consistency
abstract html/template dependency
Abstract html/template, Add support for amber files

if a layout file ends with .amber it will interpreted as a Amber file