mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 19:57:29 +01:00
parent
609354cd35
commit
465370d3fc
@ -93,6 +93,7 @@ def packages():
|
|||||||
for pkg in featured:
|
for pkg in featured:
|
||||||
featured_lut.add(f"{pkg['author']}/{pkg['name']}")
|
featured_lut.add(f"{pkg['author']}/{pkg['name']}")
|
||||||
pkg["short_description"] = gettext("Featured") + ". " + pkg["short_description"]
|
pkg["short_description"] = gettext("Featured") + ". " + pkg["short_description"]
|
||||||
|
pkg["featured"] = True
|
||||||
|
|
||||||
not_featured = [pkg for pkg in pkgs if f"{pkg['author']}/{pkg['name']}" not in featured_lut]
|
not_featured = [pkg for pkg in pkgs if f"{pkg['author']}/{pkg['name']}" not in featured_lut]
|
||||||
pkgs = featured + not_featured
|
pkgs = featured + not_featured
|
||||||
|
Loading…
Reference in New Issue
Block a user