From 81d6692fd2729a1167e9f316ea1ca0ea7153d00b Mon Sep 17 00:00:00 2001 From: BernatBC Date: Fri, 11 Aug 2023 19:31:18 +0200 Subject: [PATCH] Remove unnecessary code in featured-posts.html --- layouts/partials/sections/featured-posts.html | 7 ------- 1 file changed, 7 deletions(-) diff --git a/layouts/partials/sections/featured-posts.html b/layouts/partials/sections/featured-posts.html index 25dccf2..c5e5404 100644 --- a/layouts/partials/sections/featured-posts.html +++ b/layouts/partials/sections/featured-posts.html @@ -3,13 +3,6 @@ {{ $sectionID = .section.id }} {{ end }} -{{ $numShow := 3}} -{{ if .section.numShow }} - {{ $numShow = .section.numShow }} -{{ end }} - -{{ $posts := .posts}} -
{{ if not (.section.hideTitle) }}