Skip to content

Commit be06d9f

Browse files
author
jordanmccullough
committed
Replace beta layout with final
1 parent 97adead commit be06d9f

File tree

2 files changed

+42
-74
lines changed

2 files changed

+42
-74
lines changed

_layouts/curriculum-beta.html

Lines changed: 0 additions & 51 deletions
This file was deleted.

_layouts/curriculum.html

Lines changed: 42 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,51 @@
11
---
2-
layout: bare
32
leadingpath: ../
43
---
54

6-
<script src="{{ page.leadingpath }}_javascript/snap-svg/dist/snap.svg-min.js"></script>
7-
<script src="{{ page.leadingpath }}_javascript/curriculum.js"></script>
85

9-
<section class="hero overview">
10-
<div class="container">
11-
<div class="content">
12-
<h2>{{ page.title }}</h2>
13-
<p>{{ page.description }}</p>
6+
<!DOCTYPE html>
7+
<html lang="{% if page.lang %}{{ page.lang }}{% else %}{{ site.lang }}{% endif %}">
8+
<head>
9+
<title>{% if page.title %}{{ page.title }} · {% endif %}{{ site.title }}</title>
10+
{% if page.description %}
11+
<meta name="description" content="{{ page.description }}" />
12+
{% endif %}
13+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
14+
15+
{% include dependencies %}
16+
<!--Scrollsnap-->
17+
<script src="{{ page.leadingpath }}_javascript/jquery-scrollsnap-plugin/src/jquery.scrollstop.js"></script>
18+
<script src="{{ page.leadingpath }}_javascript/jquery-scrollsnap-plugin/src/jquery.easing.min.js"></script>
19+
<script src="{{ page.leadingpath }}_javascript/jquery-scrollsnap-plugin/src/jquery.scrollsnap.js"></script>
20+
21+
<!--Curriculum setup JS-->
22+
<script src="{{ page.leadingpath }}_javascript/curriculum.js"></script>
23+
24+
<!--Curriculum special styling-->
25+
<link rel="stylesheet" href="{{ page.leadingpath }}_stylesheets/curriculum-beta.css" type="text/css" />
26+
</head>
27+
<body data-spy="scroll" data-target="#toc">
28+
{% include navigation.html %}
29+
30+
<div class="hero overview">
31+
<div class="container">
32+
<div class="content">
33+
<h2>{{ page.title }}</h2>
34+
<p>{{ page.description }}</p>
35+
</div>
36+
</div>
1437
</div>
15-
</div>
16-
</section>
17-
18-
<div class="container curriculum">
19-
<div class="two-thirds markdown-content">
20-
{{ content }}
21-
</div>
22-
23-
<div class="third">
24-
<div id="toc-wrapper">
25-
<div id="toc" data-spy="affix" data-offset-top="165">
26-
<ul id="toc-list" class="nav" role="tablist"></ul>
38+
39+
<div class="curriculum">
40+
<div id="toc-wrapper">
41+
<div id="toc" data-spy="affix" data-offset-top="165">
42+
<ul id="toc-list" class="nav" role="tablist"></ul>
43+
</div>
2744
</div>
45+
46+
{{ content }}
2847
</div>
29-
</div>
30-
</div>
3148

32-
{% include footer.html %}
49+
{% include footer.html %}
50+
</body>
51+
</html>

0 commit comments

Comments
 (0)