diff --git a/themes/blackburn/archetypes/default.md b/themes/blackburn/archetypes/default.md index d41ff85..35f1a6b 100644 --- a/themes/blackburn/archetypes/default.md +++ b/themes/blackburn/archetypes/default.md @@ -1,5 +1,5 @@ +++ -title = "{{ replace .TranslationBaseName "-" " " | title }}" +title = "{{ replace .Name "-" " " | title }}" date = "{{ .Date }}" draft = true tags = [] diff --git a/themes/blackburn/layouts/partials/head.html b/themes/blackburn/layouts/partials/head.html index f31a14b..9e1e4ce 100644 --- a/themes/blackburn/layouts/partials/head.html +++ b/themes/blackburn/layouts/partials/head.html @@ -2,7 +2,7 @@ - {{.Hugo.Generator}} + {{hugo.Generator}} {{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} · {{ .Site.Title }}{{ end }} @@ -36,8 +36,9 @@ - {{ if .RSSLink }} - + {{ if .OutputFormats.Get "RSS" }} + {{ end }} {{ with .Site.Params.highlightjs }} diff --git a/themes/blackburn/layouts/partials/social.html b/themes/blackburn/layouts/partials/social.html index 504ee69..2d6234a 100644 --- a/themes/blackburn/layouts/partials/social.html +++ b/themes/blackburn/layouts/partials/social.html @@ -1,65 +1,54 @@