From 347c9b6a9c487b1851314a45db81442f338cb380 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 7 Sep 2019 11:01:24 -0700 Subject: [PATCH] theme update --- themes/blackburn/archetypes/default.md | 2 +- themes/blackburn/layouts/partials/head.html | 7 +- themes/blackburn/layouts/partials/social.html | 79 ++++++++----------- 3 files changed, 39 insertions(+), 49 deletions(-) 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 @@