personal-website/views/pages/projects/project_template.ejs

36 lines
897 B
Plaintext

<% var rootPath = '../../'; %>
<% var navExt = '-nav' %>
<!DOCTYPE html>
<html lang="en">
<head>
<%- include(rootPath + 'partials/include') %>
<link rel="stylesheet" type="text/css" href="/css/projects.css">
</head>
<body>
<header>
<%- include(rootPath + 'partials/nav') %>
</header>
<div class="container mt-5">
<div class="row">
<div class="col-3 mt-5" id="scrollBar">
</div>
<div data-spy="scroll" data-target="#scrollBar" data-offset="0" class="col-9 mt-5 pt-5 pb-5">
<%- include(rootPath + page) %>
</div>
</div>
</div>
<%- include(rootPath + 'partials/footer') %>
<%- include(rootPath + 'partials/post_html_include') %>
<script type="text/javascript" src="/script/dynamicscrollspy.min.js"></script>
<script>
$('#scrollBar').DynamicScrollspy({
ulClassNames: 'navbar navbar-light bg-light sticky-top sticky-offset'
});
</script>
</body>
</html>