1- {{ content }}
1+ <!DOCTYPE html>
2+ < html lang ="{{ page.lang | default: site.lang }} ">
3+
4+ < head >
5+ < meta charset ="utf-8 ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
7+
8+ <!-- OpenGraph tags -->
9+ < meta property ="og:description " content ="{{ page.description | default: site.description }} ">
10+ < meta property ="og:image " content ="{{ site.url }}/assets/brand/main-logo.png ">
11+ < meta property ="og:site_name " content ="{{ site.title }} ">
12+ < meta property ="og:title " content ="{{ page.title | default: site.title }} · Code Hackathon ">
13+ < meta property ="og:type " content ="website ">
14+ < meta property ="og:url " content ="{{ site.url }}{{ page.url }} ">
15+ < link rel ="canonical " href ="{{ site.url }}{{ page.url }} " />
16+
17+ <!-- Favicon & Theme -->
18+ < link rel ="apple-touch-icon " sizes ="114x114 " href ="assets/favicon/apple-icon-114x114.png ">
19+ < link rel ="apple-touch-icon " sizes ="120x120 " href ="assets/favicon/apple-icon-120x120.png ">
20+ < link rel ="apple-touch-icon " sizes ="144x144 " href ="assets/favicon/apple-icon-144x144.png ">
21+ < link rel ="apple-touch-icon " sizes ="152x152 " href ="assets/favicon/apple-icon-152x152.png ">
22+ < link rel ="apple-touch-icon " sizes ="180x180 " href ="assets/favicon/apple-icon-180x180.png ">
23+ < link rel ="apple-touch-icon " sizes ="57x57 " href ="assets/favicon/apple-icon-57x57.png ">
24+ < link rel ="apple-touch-icon " sizes ="60x60 " href ="assets/favicon/apple-icon-60x60.png ">
25+ < link rel ="apple-touch-icon " sizes ="72x72 " href ="assets/favicon/apple-icon-72x72.png ">
26+ < link rel ="apple-touch-icon " sizes ="76x76 " href ="assets/favicon/apple-icon-76x76.png ">
27+ < link rel ="icon " type ="image/png " sizes ="16x16 " href ="assets/favicon/favicon-16x16.png ">
28+ < link rel ="icon " type ="image/png " sizes ="192x192 " href ="assets/favicon/android-icon-192x192.png ">
29+ < link rel ="icon " type ="image/png " sizes ="32x32 " href ="assets/favicon/favicon-32x32.png ">
30+ < link rel ="icon " type ="image/png " sizes ="96x96 " href ="assets/favicon/favicon-96x96.png ">
31+ < link rel ="manifest " href ="assets/favicon/manifest.json ">
32+ < meta name ="msapplication-TileColor " content ="#12002D ">
33+ < meta name ="msapplication-TileImage " content ="assets/favicon/ms-icon-144x144.png ">
34+ < meta name ="theme-color " content ="#12002D ">
35+ < title >
36+ {{ page.title | default: site.title }}{% if page.title %} · Code Hackathon, GITAM {% endif %}
37+ </ title >
38+ <!-- Bootstrap core CSS -->
39+ < link
40+ crossorigin ="anonymous "
41+ href ="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css "
42+ integrity ="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO "
43+ rel ="stylesheet "
44+ />
45+ <!-- Custom CSS -->
46+ < link
47+ href ="style.css "
48+ rel ="stylesheet "
49+ />
50+ </ head >
51+
52+ < body >
53+ < div id ="wrapper " class ="container-fluid ">
54+ <!-- Navigation section -->
55+ < nav class ="navbar navbar-expand-xl fixed-top ">
56+ < button
57+ aria-controls ="menu "
58+ aria-expanded ="false "
59+ aria-label ="Toggle Navigation "
60+ class ="navbar-toggler "
61+ data-target ="#PrimaryMenu "
62+ data-toggle ="collapse "
63+ type ="button "
64+ >
65+ < span class ="navbar-toggler-icon "> </ span >
66+ </ button >
67+
68+ < a class ="navbar-brand " href ="/ ">
69+ < img
70+ alt ="Code Hackathon "
71+ class ="d-inline-block align-top "
72+ src ="assets/brand/main-logo.png "
73+ />
74+ </ a >
75+
76+ < div id ="PrimaryMenu " class ="collapse navbar-collapse ">
77+ < ul class ="navbar-nav ml-auto ">
78+ < li class ="nav-item {% if page.url == "/" %}active{% endif%}">
79+ < a class ="nav-link " href ="/ "> Home</ a >
80+ </ li >
81+ < li class ="nav-item {% if page.url == "/schedule" %}active{% endif%}">
82+ < a class ="nav-link " href ="schedule "> Schedule</ a >
83+ </ li >
84+ < li class ="nav-item {% if page.url == "/archive" %}active{% endif%}">
85+ < a class ="nav-link " href ="archive "> Archive</ a >
86+ </ li >
87+ < li class ="nav-item {% if page.url == "/leaderboard" %}active{% endif%}">
88+ < a class ="nav-link " href ="leaderboard "> Leaderboard</ a >
89+ </ li >
90+ < li class ="nav-item {% if page.url == "/contact" %}active{% endif%}">
91+ < a class ="nav-link " href ="contact "> Contact</ a >
92+ </ li >
93+ </ ul >
94+ </ div >
95+ </ nav >
96+
97+ < main >
98+ {{ content }}
99+ </ main >
100+ </ div >
101+
102+ < footer id ="End-Game " class ="container-fluid ">
103+ < div class ="container ">
104+ < div class ="row ">
105+ < div class ="col-sm-10 offset-sm-1 col-md-10 offset-md-1 col-lg-10 offset-lg-1 ">
106+ < h2 >
107+ Questions? We'd be happy to help!
108+ {% if page.url == "/contact" %}
109+ 👆
110+ {% else %}
111+ < a href ="contact " class ="btn "> Contact Us</ a >
112+ {% endif %}
113+ </ h2 >
114+ </ div >
115+ </ div >
116+ </ div >
117+ </ footer >
118+
119+ <!-- Bootstrap core JavaScript -->
120+ < script src ="https://code.jquery.com/jquery-3.3.1.slim.min.js " integrity ="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo " crossorigin ="anonymous "> </ script >
121+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js " integrity ="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49 " crossorigin ="anonymous "> </ script >
122+ < script src ="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js " integrity ="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy " crossorigin ="anonymous "> </ script >
123+ < script >
124+ $ ( function ( ) {
125+ var navbar = $ ( ".navbar" )
126+ var topMenu = $ ( "#PrimaryMenu" ) ,
127+ topMenuHeight = topMenu . outerHeight ( ) + 15 ,
128+ menuItems = topMenu . find ( "li a" ) ,
129+ scrollItems = menuItems . map ( function ( ) {
130+ var item = $ ( $ ( this ) . attr ( "href" ) ) ;
131+ if ( item . length ) {
132+ return item ;
133+ }
134+ } ) ;
135+
136+ // Close navbar on click
137+ $ ( '.nav-link' ) . on ( 'click' , function ( ) {
138+ $ ( '.navbar-collapse' ) . collapse ( 'hide' ) ;
139+ } ) ;
140+ } ) ;
141+ </ script >
142+ </ body >
143+ </ html >
0 commit comments