fix: Embed PDF documents only on pages which describe files.

This commit is contained in:
David Ball 2024-06-23 15:19:15 -04:00
parent 6fabbf4fe8
commit b7f0eb13ef

View File

@ -39,6 +39,7 @@
<% } %>
</div>
</div>
<% if (typeof h.readmeFm(directory).file !== 'undefined') { %>
<div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center rounded-3 border shadow-lg" style="max-height:65vh;overflow-y:scroll">
<div class="col-lg-12 p-3 p-lg-5 pt-lg-3">
<h2 class="title">OCR Text Scan (approximately)</h1>
@ -52,6 +53,7 @@
</div>
</div>
<% } %>
<% } %>
<ul id="files" class="list-group shadow-lg">
<% files.forEach(function(value, index) { %>