41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title><%= (typeof fm.title !== 'undefined') ? `${fm.title} - ${h.getSiteName()}` : h.getSiteName() %></title>
|
|
<%- include('./includes/common-head.ejs') %>
|
|
</head>
|
|
<body onload="initPage()">
|
|
<%- include('./includes/top-navbar.ejs') %>
|
|
<%- include('./includes/no-trash-svg.ejs') %>
|
|
<main class="container">
|
|
<header>
|
|
<%- include('./includes/breadcrumbs.ejs') %>
|
|
</header>
|
|
<% if (typeof content !== 'undefined') {%>
|
|
<div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center rounded-3 border shadow-lg">
|
|
<div class="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
|
<h1 class="title"><%= (typeof fm.title !== 'undefined') ? fm.title : require('path').basename(filePath) %> </h1>
|
|
<p>
|
|
<small>
|
|
<%if (typeof fm.docDate !== 'undefined') { %><b>Document Date:</b> <%= h.moment(fm.docDate).format('MMMM D, YYYY') %><% } %>
|
|
</small>
|
|
</p>
|
|
<%- content %>
|
|
<a href="#top">^ Back to top of page.</a>
|
|
</div>
|
|
</div>
|
|
<% } %>
|
|
<ul id="files" class="list-group shadow-lg">
|
|
<% if (typeof files !== 'undefined') files.forEach(function(value, index) { %>
|
|
<li class="list-group-item list-group-item-action flex-column align-items-start">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<a href="<%= value.relative %>" title="<%= value.title %>" class="<%= value.type %> <%= value.ext %>"><%= value.base %></a>
|
|
</div>
|
|
</li>
|
|
<% }) %>
|
|
</ul>
|
|
</main>
|
|
<%- include('./includes/bottom-navbar.ejs') %>
|
|
<%- include('./includes/bottom-scripts.ejs') %>
|
|
</body>
|
|
</html> |