From 4c0f948593d0f7b3efe559f8cd62474864d628e5 Mon Sep 17 00:00:00 2001 From: Kailas Nadh U <53608019+kailasnadh790@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:05:12 -0500 Subject: [PATCH] Feature/article list (#99) * initial commit * article-list * pagination * prev and next fix * Update article-list.js * vars * Update author-card.js * code refactor * Update article-list.css * Update scripts.js * review comments * Update article-list.js * Update scripts.js --- cigaradvisor/scripts/scripts.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cigaradvisor/scripts/scripts.js b/cigaradvisor/scripts/scripts.js index fb66276b..2c6ef429 100644 --- a/cigaradvisor/scripts/scripts.js +++ b/cigaradvisor/scripts/scripts.js @@ -16,12 +16,8 @@ import { const LCP_BLOCKS = []; // add your LCP blocks to the list const AUTHOR_INDEX_PATH = '/cigaradvisor/author/query-index.json'; -// const DEFAULT_INDEX_PATH = '/cigaradvisor/query-index.json'; -// const ARTICLE_INDEX_PATH = '/cigaradvisor/posts/query-index.json'; - -const DEFAULT_INDEX_PATH = '/cigaradvisor/drafts/Kailas/query-index.json'; -const ARTICLE_INDEX_PATH = '/cigaradvisor/drafts/Kailas/query-index.json'; - +const DEFAULT_INDEX_PATH = '/cigaradvisor/query-index.json'; +const ARTICLE_INDEX_PATH = '/cigaradvisor/posts/query-index.json'; /** * Builds hero block and prepends to main in a new section. * @param {Element} main The container element