|
1 | 1 | from render_engine import Site, Page
|
2 | 2 |
|
3 | 3 | navigation = [
|
4 |
| - {"text": "Home", "url": "/", "fa": "fa fa-home fa-fw"}, |
5 |
| - {"text": "Blog", "url": "/blog/", "fa": "fa fa-newspaper fa-fw"}, |
6 |
| - {"text": "About Us", "url": "/about/", "fa": "fa fa-info-circle fa-fw"}, |
7 |
| - {"text": "Events", "url": "/events/", "fa": "fa fa-calendar fa-fw"}, |
8 |
| - {"text": "Community", "url": "/community/", "fa": "fa fa-users fa-fw"}, |
9 |
| - {"text": "Support Us", "url": "/support/", "fa": "fa-solid fa-money-check-dollar"}, |
| 4 | + {"text": "Home", "url": "/index.html", "fa": "fa fa-home fa-fw"}, |
| 5 | + {"text": "Blog", "url": "/blog.html", "fa": "fa fa-newspaper fa-fw"}, |
| 6 | + {"text": "About Us", "url": "/about.html", "fa": "fa fa-info-circle fa-fw"}, |
| 7 | + {"text": "Events", "url": "/events.html", "fa": "fa fa-calendar fa-fw"}, |
| 8 | + {"text": "Community", "url": "/community.html", "fa": "fa fa-users fa-fw"}, |
| 9 | + {"text": "Support Us", "url": "/support.html", "fa": "fa-solid fa-money-check-dollar"}, |
10 | 10 | ]
|
11 | 11 |
|
12 | 12 | app = Site()
|
|
18 | 18 | @app.page
|
19 | 19 | class Index(Page):
|
20 | 20 | template = "index.html"
|
21 |
| - current = "nav-current" |
22 | 21 | content_path = "index.html"
|
23 | 22 |
|
24 | 23 |
|
|
0 commit comments