diff --git a/server/controllers/lighthouse.js b/server/controllers/lighthouse.js index f98a92c..6a70229 100644 --- a/server/controllers/lighthouse.js +++ b/server/controllers/lighthouse.js @@ -91,6 +91,17 @@ function getResults (input) { // Remove if you want to exclude old posts 'weight': 1, }, + { + // Published this week get a big boost + 'weight': 80, + 'gauss' : { + 'transaction_time': { // <- Change to your date field name + 'origin': Date.now(), // Change to current date + 'scale' : '7d', + 'decay' : 0.5, + }, + }, + }, { // Published this month get a big boost 'weight': 50,