rlv-dan / Snap2HTML

Generates directory listings contained in a single, app-like HTML files
http://www.rlvision.com/snap2html
GNU General Public License v3.0
505 stars 91 forks source link

Update template.html #23

Closed GoodIdea2020 closed 4 years ago

GoodIdea2020 commented 4 years ago

two changes :

  1. Add a function to choice icon for each file by expended name. 2.Hide the full path in

    and , sometimes we need privacy in path .</li> </ol> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/rlv-dan"><img src="https://avatars.githubusercontent.com/u/8337570?v=4" />rlv-dan</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>Hello. Nice additions, but I do not think they are suitable for the mail distribution right now. Tip: Using CSS and class names to change icons is likely a better approach.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>