From 16cc2d0795085b4e6edd6ebad978f011415b22a7 Mon Sep 17 00:00:00 2001 From: Philippe Krief <philippe.krief@eclipse-foundation.org> Date: Fri, 15 Mar 2024 12:49:55 +0000 Subject: [PATCH] fix: deprecated way of referencing page params --- layouts/research/single.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/layouts/research/single.html b/layouts/research/single.html index 9307f59..8bed421 100644 --- a/layouts/research/single.html +++ b/layouts/research/single.html @@ -1,12 +1,12 @@ {{ define "main" }} - {{ $project_logo := .Page.Params.Get "project_logo" }} - {{ $funding_bodies := .Page.Params.Get "funding_bodies" }} - {{ $eclipse_projects := .Page.Params.Get "eclipse_projects" }} - {{ $homepage := .Page.Params.Get "homepage" }} - {{ $linkedin := .Page.Params.Get "linkedin" }} - {{ $twitter := .Page.Params.Get "twitter" }} - {{ $facebook := .Page.Params.Get "facebook" }} - {{ $youtube := .Page.Params.Get "youtube" }} + {{ $project_logo := .Page.Params.project_logo }} + {{ $funding_bodies := .Page.Params.funding_bodies }} + {{ $eclipse_projects := .Page.Params.eclipse_projects }} + {{ $homepage := .Page.Params.homepage }} + {{ $linkedin := .Page.Params.linkedin }} + {{ $twitter := .Page.Params.twitter }} + {{ $facebook := .Page.Params.facebook }} + {{ $youtube := .Page.Params.youtube }} <div class="row"> <div class="col-sm-18"> <div class="bg-neutral-flat padding-top-10 padding-bottom-30 padding-x-30"> -- GitLab