wip: programme
This commit is contained in:
6
build/lib/thsf/navbar/__init__.py
Normal file
6
build/lib/thsf/navbar/__init__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
class Navbar:
|
||||
def __init__(self, config):
|
||||
self.config = config
|
||||
|
||||
def get_from_page(self, page):
|
||||
return [item for item in self.config["items"] if item["url"] != page]
|
||||
Reference in New Issue
Block a user