Fix two errors in two internal templates
authorAnthony Fok <foka@debian.org>
Tue, 20 Jan 2015 09:43:42 +0000 (02:43 -0700)
committerAnthony Fok <foka@debian.org>
Tue, 20 Jan 2015 22:39:43 +0000 (15:39 -0700)
commitedcdb6f49ce57f79e6faede661a9c61a8d21eab7
treef57bbc4dd31292327ceb566df70d777967537caf
parentd897b1e8a7c537004c6332d1935862a9fb87318a
Fix two errors in two internal templates

 * template: _internal/_default/opengraph.html:39: unexpected EOF
 * template: _internal/_default/schema.html:15: unexpected {{end}}

Also change the DateTime inside these templates to ISO 8601 format,
and skip <meta itemprop="datePublished"> if `publishdate` is not set.

Perhaps it would be a good idea to expose `func (Time) IsZero`
to our templates?  :-)
tpl/template_embedded.go