Merge pull request 'fix: Embed PDF documents only on pages which describe files.' (#14) from daball/nm3clol-express-app:main into main

Reviewed-on: nm3clol/nm3clol-express-app#14
This commit is contained in:
David Ball 2024-06-23 15:49:19 -04:00
commit ef40ca967c

View File

@ -39,18 +39,20 @@
<% } %>
</div>
</div>
<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>
<p>
This text scan may contain automatically generated text as generated using Apache Tika
and Tesseract. It may not be correct. No effort has been made to correct any of these scans
(so far). These OCR scans are also used in the site's Search feature. Please review the
<a href="/search-policy" target="_blank">Search Policy</a> for details about the site features.
</p>
<pre style="white-space:pre-wrap;overflow-wrap:anywhere"><%- h.printReadme(directory) %></pre>
<% 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>
<p>
This text scan may contain automatically generated text as generated using Apache Tika
and Tesseract. It may not be correct. No effort has been made to correct any of these scans
(so far). These OCR scans are also used in the site's Search feature. Please review the
<a href="/search-policy" target="_blank">Search Policy</a> for details about the site features.
</p>
<pre style="white-space:pre-wrap;overflow-wrap:anywhere"><%- h.printReadme(directory) %></pre>
</div>
</div>
</div>
<% } %>
<% } %>
<ul id="files" class="list-group shadow-lg">