mirror of
https://github.com/10h30/blog-balodeplao.git
synced 2026-05-12 15:21:15 +09:00
feat: remove registerTaxonomy function to streamline taxonomy management
This commit is contained in:
@@ -25,10 +25,6 @@ export function getTaxonomyMap(type: string): TaxonomyMap {
|
||||
return taxonomies[type] ?? new Map();
|
||||
}
|
||||
|
||||
export function registerTaxonomy(type: string, data: TaxonomyItem[]): void {
|
||||
taxonomies[type] = buildMap(data);
|
||||
}
|
||||
|
||||
function buildHierarchicalPath(
|
||||
slug: string,
|
||||
map: TaxonomyMap,
|
||||
|
||||
Reference in New Issue
Block a user