diff --git a/layouts/index.html b/layouts/index.html index 2e8d127..8a946e4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -15,9 +15,6 @@ {{ $section := "" }} {{ with .Parent }}{{ $section = path.Base .RelPermalink }}{{ end }} {{ $author := .Params.author | default site.Params.author.name }} - {{ $aslug := urlize $author }} - {{ if not .Params.author }}{{ with index site.Data.authors site.Params.author.email }}{{ with .slug }}{{ $aslug = . }}{{ end }}{{ end }}{{ end }} - {{ $authorPage := and (ne $aslug "") (site.GetPage (printf "/authors/%s" $aslug)) }} {{ $cover := .Params.cover_image }} {{/* Layout: explicit `layout:` in front matter, else derive: - cover_image present → image @@ -45,10 +42,7 @@
{{ . }}
{{ end }}