Skip to content

Commit

Permalink
Build site.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeortiz-david committed Sep 3, 2024
1 parent 95799cc commit bbe543a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions docs/site_libs/header-attrs-2.27/header-attrs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});
6 changes: 3 additions & 3 deletions docs/syllabus.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<title>Syllabus</title>

<script src="site_libs/header-attrs-2.28/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.27/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet" />
Expand Down Expand Up @@ -474,8 +474,8 @@ <h4>Course Info</h4>
class="email">[email protected]</a>)</p>
<p><strong>TA</strong>: PhD Student Jaime Ortiz Pachar (<a
href="mailto:[email protected]" class="email">[email protected]</a>)</p>
<p><strong>Office hours</strong>: Nina: by appointment; Jaime: Tuesdays,
TBD in Fernow 210 or by appointment</p>
<p><strong>Office hours</strong>: Nina: by appointment; Jaime:
Wednesdays, 10 - 11 am in Fernow 311 or by appointment</p>
<p><strong>Grading</strong>: S/U (2 credits / 3 credits with lab)</p>
<hr />
</div>
Expand Down

0 comments on commit bbe543a

Please sign in to comment.