mirror of
https://github.com/len0rd/personal-website.git
synced 2025-09-08 15:17:51 -04:00
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:
parent
2e0e29a4f8
commit
2cf2bdf8ad
6 changed files with 20 additions and 14 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue