From 230e7c02c528d0840675f27b3e926178c78176cb Mon Sep 17 00:00:00 2001 From: bep Date: Fri, 30 Jan 2015 21:58:18 +0100 Subject: [PATCH] Remove _default prefix from SEO templates --- tpl/template_embedded.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }}