From 17392990bca61b8130959826e64bcba57f308381 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Tue, 25 Jun 2024 11:10:31 +0200 Subject: [PATCH] fix null name error --- _plugins/jekyll-jsonld.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_plugins/jekyll-jsonld.rb b/_plugins/jekyll-jsonld.rb index 95366a8a521e4e..f23e8e28544c30 100644 --- a/_plugins/jekyll-jsonld.rb +++ b/_plugins/jekyll-jsonld.rb @@ -628,8 +628,9 @@ def to_jsonld(material, topic, site) # +Hash+:: The JSON-LD metadata. def generate_material_jsonld(material, topic, site) langCodeMap = { - en: 'English', - es: 'Español', + "en" => 'English', + "es" => 'Español', + "fr" => 'Français', } eduLevel = {