From 2cfb41d2e6c6807dd46f13525c32c8755fa1aa9b Mon Sep 17 00:00:00 2001 From: Danilo Cabello Date: Tue, 20 Aug 2013 12:13:27 -0400 Subject: [PATCH] Check .Prev and .Next pointers before using it --- content/layout/content.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/content/layout/content.md b/content/layout/content.md index e6df58867..7bf335e2a 100644 --- a/content/layout/content.md +++ b/content/layout/content.md @@ -65,8 +65,12 @@ It makes use of [chrome templates](/layout/chrome)
- - + {{ if .Prev }} + + {{ end }} + {{ if .Next }} + + {{ end }}