From f582250eeca0be1a0e67453d29af15cc09f3db4d Mon Sep 17 00:00:00 2001
From: MarcoIeni
Date: Fri, 5 Jun 2020 23:54:33 +0200
Subject: [PATCH] Portfolio: load project screenshot only if defined
---
layouts/partials/portfolio/content.html | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/portfolio/content.html b/layouts/partials/portfolio/content.html
index fa6e286..daa3488 100644
--- a/layouts/partials/portfolio/content.html
+++ b/layouts/partials/portfolio/content.html
@@ -14,7 +14,9 @@
-
+ {{ if .Params.screenshot }}
+
+ {{ end }}
{{ .Content }}
@@ -31,7 +33,9 @@
-
+ {{ if .Params.screenshot }}
+
+ {{ end }}