migrate to mustache, add sidebar