Skip to content

Commit 642cae7

Browse files
author
Sidharth123-cpu
committed
show navbar
1 parent 797337c commit 642cae7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/_layouts/default.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
<link rel="icon" type="image/png" href="{{ "/assets/css/pytorch-logo.png" | relative_url }}">
99
</head>
1010
<body>
11+
<header>
12+
<nav>
13+
<a href="{{ "/" | relative_url }}">Home</a>
14+
<a href="{{ "/dashboard.html" | relative_url }}">Dashboard</a>
15+
</nav>
16+
</header>
1117
{{ content }}
1218
</body>
1319
</html>

generate-site.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ def generate_site():
7676
<link rel="icon" type="image/png" href="{{ \"/assets/css/pytorch-logo.png\" | relative_url }}">
7777
</head>
7878
<body>
79+
<header>
80+
<nav>
81+
<a href="{{ \"/\" | relative_url }}">Home</a>
82+
<a href="{{ \"/dashboard.html\" | relative_url }}">Dashboard</a>
83+
</nav>
84+
</header>
7985
{{ content }}
8086
</body>
8187
</html>

0 commit comments

Comments
 (0)