Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
aims-desktop
aims-desktop-website
Commits
814eaaa1
Commit
814eaaa1
authored
Jul 05, 2019
by
Jonathan Carter
Browse files
Update index
parent
11cb25a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
814eaaa1
...
...
@@ -422,6 +422,34 @@ Copyright © 2017 <a href="https://aims.ac.za">African Institute for Mathematica
<script
src=
"//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.8.0/highlight.min.js"
></script>
<script>
hljs
.
initHighlightingOnLoad
();
</script>
</body>
</html>
scrollspy.appendChild(li);
}
} else {
scrollspy.parentElement.removeChild(scrollspy)
}
/* Add permanent link next to the headers */
var headers = document.querySelectorAll("h1, h2, h3, h4, h5, h6");
for(var i = 0; i
<
headers.length
;
i
++)
{
var
a =
document.createElement("a");
a.setAttribute
("
class
",
"
headerlink
");
a.setAttribute
("
href
",
"
#
"
+
headers
[
i
].
id
);
a.setAttribute
("
title
",
"
Permanent
link
")
a.innerHTML =
"#"
;
headers
[
i
].
appendChild
(
a
);
}
}
</
script
>
<script
src=
"//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.8.0/highlight.min.js"
></script>
<script>
hljs
.
initHighlightingOnLoad
();
</script>
</body>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment