mirror of
https://github.com/fadden/6502bench.git
synced 2025-07-29 09:24:14 +00:00
First cut at HTML block substitution script
Fairly straightfoward in Python. Also, fixed the sidenav references, which should be using the file in the sgtutorial subdirectory. Also, tweaked index.html a bit.
This commit is contained in:
@@ -32,14 +32,14 @@
|
||||
</div>
|
||||
|
||||
<div id="sidenav">
|
||||
<!-- START: /sidenav-incl.html active:#sidenav-digging-deeper -->
|
||||
<!-- START: sidenav-incl.html active:#sidenav-digging-deeper -->
|
||||
<script>
|
||||
// Load local sidenav content, and mark current page active.
|
||||
$("#sidenav").load("sidenav-incl.html", function() {
|
||||
$("#sidenav-digging-deeper").addClass("active");
|
||||
});
|
||||
</script>
|
||||
<!-- END: /sidenav-incl.html -->
|
||||
<!-- END: sidenav-incl.html -->
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
|
Reference in New Issue
Block a user