From bf34fa76f3da1fe9bfda62f3bb4566069e5e5557 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Thu, 13 Jan 2022 03:38:56 +0100 Subject: [PATCH] Allow linking to the file itself automatically --- _includes/blocks/media.liquid | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_includes/blocks/media.liquid b/_includes/blocks/media.liquid index 2d90575..7f91621 100644 --- a/_includes/blocks/media.liquid +++ b/_includes/blocks/media.liquid @@ -1,7 +1,5 @@ {% capture content %} -{% if include.link %} - -{% endif %} +{% if include.link %}{% endif %} {% assign file_info = site.static_files | where: "path", include.url %} {% if include.type == "image" %}