diff --git a/layouts/news/single.html b/layouts/news/single.html index 8b9d9c1..e876917 100644 --- a/layouts/news/single.html +++ b/layouts/news/single.html @@ -14,11 +14,11 @@

{{ . | markdownify }}
-
-
+
+

{{ .Title | markdownify }}

-
+
-
-
+
+
@@ -66,21 +66,32 @@

{{ .Title | markdownify }}

-
+
{{ with .Params.author_details }}
@@ -99,18 +110,21 @@

{{ .Title | markdownify }}

Related Posts

- {{ range first 3 (where .Site.RegularPages ".Params.author" .Params.author) }} + {{ $currentAuthor := .Params.author_details.name }} + {{ with where .Site.RegularPages "Section" "news" }} + {{ range first 3 (where . "Params.author_details.name" $currentAuthor) }}

{{ .Title }}

{{ .Params.subtitle | truncate 70 }}

{{ end }} + {{ end }}
-
+

Recent News

{{ $pages := where .Site.RegularPages "Section" "news" }}