tips 0007 works folder - cwtickle/danoniplus-docs GitHub Wiki

English | Japanese

^ Back to Tips Index

Place work pages in an arbitrary directory

  • Starting from v19.4.1, you can place artwork pages in any folder.
  • Also, as of v27.1.0, it is no longer necessary to specify links in css files.
  • You can also launch it in other folders by modifying the relative path part of the <script> tag in the <head> tag.

Usage

Usage example

  • If you have html for your work in danoniplus/danoni/ (js files are in danoniplus/js/)
<script src="../js/danoni_main.js" charset="UTF-8">
  • If you have html for your work in danoniplus/danoni/sub/ (js files are in danoniplus/js/)
<script src="../../js/danoni_main.js" charset="UTF-8">
  • When using js/css/svg files placed in GitHub Pages
    • When using this method, you do not need to upload individual files such as js files and css files.
    • This is not suitable for using individual js/css files. (It is possible if you use the current directory notation.)
<script src="https://cwtickle.github.io/danoniplus/js/danoni_main.js" charset="UTF-8">

^ Back to Tips Index

⚠️ **GitHub.com Fallback** ⚠️