File tree Expand file tree Collapse file tree 1 file changed +23
-11
lines changed Expand file tree Collapse file tree 1 file changed +23
-11
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html lang ="en ">
3- < head >
4- < meta charset ="UTF-8 " />
5- < title > {{ page.title }}</ title >
6- < link rel ="stylesheet " href ="/JavaEvolution-Learning-Growing-Mastering/site/assets/style.css ">
7- </ head >
8- < body >
9- {% include nav.html %}
10- < main >
11- {{ content }}
12- </ main >
13- </ body >
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6+ < title > {{ page.title }}</ title >
7+ < link rel ="stylesheet " href ="{{ "/assets/assets/style.css" | relative_url }}">
8+ < script >
9+ function toggleSidebar ( ) {
10+ const sidebar = document . getElementById ( "sidebar" ) ;
11+ sidebar . classList . toggle ( "hidden" ) ;
12+ }
13+ </ script >
14+ </ head >
15+ < body >
16+ < div class ="wrapper ">
17+ < div id ="sidebar " class ="sidebar ">
18+ {% include nav.html %}
19+ </ div >
20+ < div class ="content ">
21+ < button class ="toggle-btn " onclick ="toggleSidebar() "> ☰</ button >
22+ {{ content }}
23+ </ div >
24+ </ div >
25+ </ body >
1426</ html >
You can’t perform that action at this time.
0 commit comments