-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ (layouts): enhance category and tag listing with data-driven sorting
Introduce a data-driven approach to sort pages by their relevance score, extracted from a JSON data file. This change allows for more dynamic and meaningful presentation of content by prioritizing pages based on their calculated affinity to a given taxonomy. The update also includes a fallback mechanism to use page weight when no data file is available, ensuring consistent behavior. This enhancement improves user experience by displaying the most relevant content first, based on predefined criteria.
- Loading branch information
Showing
2 changed files
with
104 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters