hlxsites / merative2

Merative.com site on Franklin
https://merative.com
Apache License 2.0
2 stars 9 forks source link

fix(Blog article sort): Removing blogArticles sorting logic. Offload… #237

Closed Danielcodepad closed 1 year ago

Danielcodepad commented 1 year ago

…ing the logic to /blog/query-index.xlsx

Issue

Fixes #219

Description

Move sorting logic out of JS, and into Excel. Blog articles should be sorted by their published date in descending order. (Most recently published article should shows on top)

Removed

Blog article sorting logic in script/script.js

Design Specs

Testing Instruction

Use Franklin Sidekick to preview Document > website > query-index.xlsx. Blog articles in query-index.json in each row should be ordered by their publish date in descending order.

In /blog/query-index.json, articles are sorted by their publish dates and should be in descending order (latest to oldest).

Featured articles are displayed on /blog, follow by other non-featured articles. lastModified date on articles should not affect the sorting order in /blog/query-index.json and /blog.

aem-code-sync[bot] commented 1 year ago

Hello, I'm Franklin Bot and I will run some test suites that validate the page speed. In case there are problems, just click the checkbox below to rerun the respective action.

aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/blog Lighthouse returned error: Something went wrong. PSI
/blog/query-index.json Lighthouse returned error: NOT_HTML. The page provided is not HTML (served as MIME type application/json). PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/blog/query-index.json Lighthouse returned error: NOT_HTML. The page provided is not HTML (served as MIME type application/json). PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/blog/query-index.json Lighthouse returned error: Something went wrong. PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/blog/query-index.json Lighthouse returned error: NOT_HTML. The page provided is not HTML (served as MIME type application/json). PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/blog/query-index.json Lighthouse returned error: NOT_HTML. The page provided is not HTML (served as MIME type application/json). PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
/blog/query-index.json Lighthouse returned error: NOT_HTML. The page provided is not HTML (served as MIME type application/json). PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
aem-code-sync[bot] commented 1 year ago
Page Scores Audits Google
/blog PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI