mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-30 04:01:59 +00:00
content + styling
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
$(document).ready(function () {
|
||||
$('a[href^="http://"], a[href^="https://"]').not('a[class*=internal]').attr('target', '_blank');
|
||||
});
|
||||
// open external links in separate tab
|
||||
$('a[href^="http://"], a[href^="https://"]').not('a[class*=internal]').attr('target', '_blank');
|
||||
// toggle hidable sections
|
||||
$(".toggle > *").hide();
|
||||
$(".toggle .admonition-title").show();
|
||||
$(".toggle .admonition-title").click(function() {
|
||||
$(this).parent().children().not(".admonition-title").toggle(400);
|
||||
$(this).parent().children(".admonition-title").toggleClass("open");
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user