forked from nm3clol/nm3clol-express-app
fix: Embed PDF documents only on pages which describe files.
This commit is contained in:
parent
6fabbf4fe8
commit
b7f0eb13ef
|
@ -39,18 +39,20 @@
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
</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">
|
<% if (typeof h.readmeFm(directory).file !== 'undefined') { %>
|
||||||
<div class="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
<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">
|
||||||
<h2 class="title">OCR Text Scan (approximately)</h1>
|
<div class="col-lg-12 p-3 p-lg-5 pt-lg-3">
|
||||||
<p>
|
<h2 class="title">OCR Text Scan (approximately)</h1>
|
||||||
This text scan may contain automatically generated text as generated using Apache Tika
|
<p>
|
||||||
and Tesseract. It may not be correct. No effort has been made to correct any of these scans
|
This text scan may contain automatically generated text as generated using Apache Tika
|
||||||
(so far). These OCR scans are also used in the site's Search feature. Please review the
|
and Tesseract. It may not be correct. No effort has been made to correct any of these scans
|
||||||
<a href="/search-policy" target="_blank">Search Policy</a> for details about the site features.
|
(so far). These OCR scans are also used in the site's Search feature. Please review the
|
||||||
</p>
|
<a href="/search-policy" target="_blank">Search Policy</a> for details about the site features.
|
||||||
<pre style="white-space:pre-wrap;overflow-wrap:anywhere"><%- h.printReadme(directory) %></pre>
|
</p>
|
||||||
|
<pre style="white-space:pre-wrap;overflow-wrap:anywhere"><%- h.printReadme(directory) %></pre>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<% } %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<ul id="files" class="list-group shadow-lg">
|
<ul id="files" class="list-group shadow-lg">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user