Skip to content

Commit

Permalink
Deploying to gh-pages from @ dd6df7d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed May 20, 2024
1 parent 166a030 commit eb4a3a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
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);
}
});
2 changes: 1 addition & 1 deletion pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ articles:
interventions: interventions.html
projecting_incidence: projecting_incidence.html
theoretical_background: theoretical_background.html
last_built: 2024-05-17T11:12Z
last_built: 2024-05-20T11:09Z
urls:
reference: https://epiverse-trace.github.io/epichains/reference
article: https://epiverse-trace.github.io/epichains/articles
Expand Down

0 comments on commit eb4a3a1

Please sign in to comment.