got a basic side nav bar for documentation formatted the way i want. now need to figure out how to autogenerate

This commit is contained in:
len0rd 2018-08-03 23:37:28 -04:00
parent 2e0e29a4f8
commit 2cf2bdf8ad
6 changed files with 20 additions and 14 deletions

View file

@ -1,4 +1,5 @@
<% var rootPath = '../../'; %>
<% var navExt = '-nav' %>
<!DOCTYPE html>
<html lang="en">
@ -14,10 +15,10 @@
<div class="container mt-5">
<div class="row">
<div class="col-3">
<!-- scroll spy goes here -->
<div class="col-3 mt-5">
<%- include(rootPath + page + navExt) %>
</div>
<div class="col-9 mt-5 pt-5 pb-5">
<div data-spy="scroll" data-target="#nav-scroll" data-offset="0" class="col-9 mt-5 pt-5 pb-5">
<%- include(rootPath + page) %>
</div>
</div>