Add base.html

mainly add head info
two crash fixed
add basic fragment of the body

header, content, sidebar and footnotes