Co-authored-by: mco-system <michael.costa@mcos.nc>
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2023-04-20 15:09:57 +02:00
parent 4c32d8b7a5
commit ee43e98385
53 changed files with 2198 additions and 179 deletions

View 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]