diff --git a/layouts/partials/related.html b/layouts/partials/related.html new file mode 100644 index 00000000..4fbfabe2 --- /dev/null +++ b/layouts/partials/related.html @@ -0,0 +1,10 @@ +{{ $related := .Site.RegularPages.Related . | first 5 }} +{{ with $related }} +
+

See Also

+ +{{ end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index d2b60425..48693698 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -65,6 +65,8 @@

+ {{ partial "related.html" . }} + {{ partial "comments.html" . }} {{ partial "page_nav_mobile.html" . }}