show md when no file listing
parent
a259f9e5ee
commit
7329e51368
|
@ -483,9 +483,9 @@
|
|||
<div style="color: rgba(247,247,249,0);"><!--FootStr--></div>
|
||||
</body>
|
||||
|
||||
<!--ListStart-->
|
||||
<!--MdRequireStart--><link rel="stylesheet" href="//unpkg.zhimg.com/github-markdown-css@3.0.1/github-markdown.css">
|
||||
<script type="text/javascript" src="//unpkg.zhimg.com/marked@0.6.2/marked.min.js"></script><!--MdRequireEnd-->
|
||||
<!--ListStart-->
|
||||
<!--GuestUploadStart--><script type="text/javascript" src="//cdn.bootcss.com/spark-md5/3.0.0/spark-md5.min.js"></script><!--GuestUploadEnd-->
|
||||
<!--AliyundriveUploadJsStart--><script src="https://cdn.jsdelivr.net/npm/js-sha1@0.6.0/src/sha1.min.js"></script><!--AliyundriveUploadJsEnd-->
|
||||
<!--IsFileStart--><!--IspdfFileStart--><script src="//cdn.bootcss.com/pdf.js/2.3.200/pdf.min.js"></script><!--IspdfFileEnd--><!--IsFileEnd-->
|
||||
|
@ -524,8 +524,20 @@
|
|||
}
|
||||
}
|
||||
<!--LoginEnd-->
|
||||
<!--HeadmdStart-->
|
||||
var $head = document.getElementById('head');
|
||||
if ($head) {
|
||||
//document.getElementById('head-div').parentNode.insertBefore(document.getElementById('head-div'),document.getElementById('list-div'));
|
||||
$head.innerHTML = marked(document.getElementById('head-md').innerText);
|
||||
}
|
||||
<!--HeadmdEnd-->
|
||||
<!--ReadmemdStart-->
|
||||
var $readme = document.getElementById('readme');
|
||||
if ($readme) {
|
||||
$readme.innerHTML = marked(document.getElementById('readme-md').innerText);
|
||||
}
|
||||
<!--ReadmemdEnd-->
|
||||
<!--ListStart-->
|
||||
|
||||
<!--IsFileStart-->
|
||||
var $url = document.getElementById('url');
|
||||
if ($url) {
|
||||
|
@ -650,19 +662,6 @@
|
|||
}
|
||||
<!--IspdfFileEnd-->
|
||||
<!--IsFileEnd-->
|
||||
<!--HeadmdStart-->
|
||||
var $head = document.getElementById('head');
|
||||
if ($head) {
|
||||
//document.getElementById('head-div').parentNode.insertBefore(document.getElementById('head-div'),document.getElementById('list-div'));
|
||||
$head.innerHTML = marked(document.getElementById('head-md').innerText);
|
||||
}
|
||||
<!--HeadmdEnd-->
|
||||
<!--ReadmemdStart-->
|
||||
var $readme = document.getElementById('readme');
|
||||
if ($readme) {
|
||||
$readme.innerHTML = marked(document.getElementById('readme-md').innerText);
|
||||
}
|
||||
<!--ReadmemdEnd-->
|
||||
<!--IsFolderStart-->
|
||||
<!--ShowThumbnailsStart-->
|
||||
function showthumbnails(obj) {
|
||||
|
|
Loading…
Reference in New Issue