added optional NotesType line to posts all and doc.md
added NotesType option in struct
added notes handler
created notes template
added archive template and handler
added self referential links for no reason
took out repetitive top/bottom template executions and moved to new function