From 72f13ff0b9ec0046b7068c437481efcbf14a4d11 Mon Sep 17 00:00:00 2001 From: lostinlight Date: Sat, 30 Sep 2023 00:25:59 +0300 Subject: [PATCH] Cleaning up --- themes/starter/layout/miscellaneous.ejs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/themes/starter/layout/miscellaneous.ejs b/themes/starter/layout/miscellaneous.ejs index 979f9a0..3ff24ad 100644 --- a/themes/starter/layout/miscellaneous.ejs +++ b/themes/starter/layout/miscellaneous.ejs @@ -3,24 +3,6 @@ layout: layout --- <% - // function langCount(arr) { - // let langs = []; - // arr.forEach(function(item) { - // let lang = item.codeLanguage; - // if (!lang) {return}; - // let check = langs.findIndex(function(x) {return x.language === lang}); - // if (check>=0) { - // langs[check].count +=1; - // } else { - // let newLang = {}; - // newLang.language = lang; - // newLang.count = 1; - // langs.push(newLang); - // } - // }); - // return langs; - // } - function groupByKey(arr, key) { let results = []; arr.forEach(function(item) {