Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zerostaticthemes/hugo-serif-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Zhang <zhangalexy@gmail.com>2022-06-20 07:36:37 +0300
committerAlexander Zhang <zhangalexy@gmail.com>2022-06-20 07:36:37 +0300
commitdec2769166099b614e965a519041276467ca72e6 (patch)
treee82f385142bb773406fdfce08f707b6aea984e86
parent41ee32b40dd9ec193b3f9230cc05dee36580a91b (diff)
Remove unnecessary duplicate line
$services has already been set to the same value a couple of lines above.
-rw-r--r--layouts/index.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 8dcae98..ff9b078 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -24,7 +24,6 @@
<div class="strip">
<div class="container pt-6 pb-6 pb-md-10">
<div class="row justify-content-start">
- {{ $services := where (where .Site.RegularPages "Type" "services") ".Params.featured" true }}
{{ range first 6 (sort $services ".Params.weight") }}
<div class="col-12 col-md-4 mb-1">
{{ .Render "summary" }}