diff --git a/tpl/template_embedded.go b/tpl/template_embedded.go index dbeace556..c0b36d999 100644 --- a/tpl/template_embedded.go +++ b/tpl/template_embedded.go @@ -126,7 +126,7 @@ func (t *GoHtmlTemplate) EmbedTemplates() { comments powered by Disqus{{end}}`) // Add SEO & Social metadata - t.AddInternalTemplate("_default", "opengraph.html", ` + t.AddInternalTemplate("", "opengraph.html", ` @@ -166,7 +166,7 @@ func (t *GoHtmlTemplate) EmbedTemplates() { {{ with .Site.Social.facebook_admin }}{{ end }}`) - t.AddInternalTemplate("_default", "twitter_cards.html", `{{ if .IsPage }} + t.AddInternalTemplate("", "twitter_cards.html", `{{ if .IsPage }} {{ with .Params.images }} @@ -184,11 +184,11 @@ func (t *GoHtmlTemplate) EmbedTemplates() { {{ with .twitter }}{{ end }} {{ end }}{{ end }}`) - t.AddInternalTemplate("_default", "google_news.html", `{{ if .IsPage }}{{ with .Params.news_keywords }} + t.AddInternalTemplate("", "google_news.html", `{{ if .IsPage }}{{ with .Params.news_keywords }} {{ end }}{{ end }}`) - t.AddInternalTemplate("_default", "schema.html", `{{ with .Site.Social.GooglePlus }}{{ end }} + t.AddInternalTemplate("", "schema.html", `{{ with .Site.Social.GooglePlus }}{{ end }}