Skip to content

Commit d826ff3

Browse files
committed
feat(convert): add support for Hexo sticky posts
- Map Hexo's 'sticky' property to Hugo's 'weight' parameter - This enhancement allows for better conversion of Hexo posts to Hugo format
1 parent cf49682 commit d826ff3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/convert.go

+1
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ func getHexoToHugoKeyMap() map[string]string {
244244
"permalink": "slug",
245245
"tags": "tags",
246246
"updated": "lastmod",
247+
"sticky": "weight",
247248
}
248249
}
249250

0 commit comments

Comments
 (0)