From ce8e574a07fe69c79aa86f9f6f3e2dde1e9ddd20 Mon Sep 17 00:00:00 2001 From: Bonnie Date: Thu, 5 Mar 2026 15:54:28 +0800 Subject: [PATCH] Update article metadata to include 'top' and 'weight' attributes for improved sorting and display order. --- .../README.md | 2 ++ .../README.md | 2 ++ .../README.md | 2 ++ scripts/file.js | 8 -------- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/articles/How to Migrate an Ethereum Protocol to Solana-Preamble/README.md b/articles/How to Migrate an Ethereum Protocol to Solana-Preamble/README.md index 7c137b27..3b625e50 100644 --- a/articles/How to Migrate an Ethereum Protocol to Solana-Preamble/README.md +++ b/articles/How to Migrate an Ethereum Protocol to Solana-Preamble/README.md @@ -19,6 +19,8 @@ heroColor: "#398DAD" thumb: "thumb.png" thumb_h: "thumb-h.png" intro: "A systematic introduction to the fundamental differences between Ethereum and Solana in account models, execution mechanisms, and fee systems." +top: true +weight: 998 --- ## Overview diff --git a/articles/The Architecture of Startup Distributed Teams/README.md b/articles/The Architecture of Startup Distributed Teams/README.md index 20547efd..168ec2d5 100644 --- a/articles/The Architecture of Startup Distributed Teams/README.md +++ b/articles/The Architecture of Startup Distributed Teams/README.md @@ -12,6 +12,8 @@ thumb: "./thumb.png" thumb_h: "./thumb_h.png" intro: "" previousSlugs: [] +top: true +weight: 1000 --- Over the past decade, I’ve overseen the launch of over 120 MVPs. I’ve watched companies evolve from napkin sketches to Series C scale, some as independent startups, others as incubated ventures within mature tech organizations. Combined with my experience running global engineering teams as a VP of Engineering for a public company, this vantage point has taught me a singular truth: distributed work succeeds brilliantly, or it fails in ways that slow companies down for years. diff --git a/articles/The Rising Strategic Value of Creative in Digital Advertising/README.md b/articles/The Rising Strategic Value of Creative in Digital Advertising/README.md index 7feec672..312364ef 100644 --- a/articles/The Rising Strategic Value of Creative in Digital Advertising/README.md +++ b/articles/The Rising Strategic Value of Creative in Digital Advertising/README.md @@ -11,6 +11,8 @@ heroColor: "#8761B1" thumb: "./thumb.png" thumb_h: "./thumb_h.png" intro: "Creative has emerged as a key driver influencing success in performance marketing, and digital advertising companies are increasingly asked to facilitate the creation of advertisements. How did we get here, and what comes next?" +top: true +weight: 999 --- The digital advertising landscape has recently undergone a significant shift in the wake of short-form video, privacy initiatives, and generative AI. As a result, the industry has moved toward recognizing creative iteration as a primary performance lever. In this article, we’ll recount the history of digital advertising as it pertains to the importance of creative and articulate the current landscape of relevant players. The takeaway is clear: modern advertising platforms are facing mounting pressure to embed creative iteration directly into the performance advertising workflow. diff --git a/scripts/file.js b/scripts/file.js index d59829d3..a5af52e3 100644 --- a/scripts/file.js +++ b/scripts/file.js @@ -74,14 +74,6 @@ export function extractMeta(fileName) { export function sortMetadata(metaDataList) { metaDataList.sort((a, b) => { - if (a.top !== b.top) { - return a.top ? -1 : 1; - } - - if (a.weight !== b.weight) { - return b.weight - a.weight; - } - try { return new Date(b.createTime) - new Date(a.createTime); } catch (e) {