Document Templates

  • Advertisement ( why? )
     

    Maglor, 25th May 2015 9:52 am

    I have a template that creates index.html, gulpfile.js and package.json and it creates all 3 documents when used from the New menu items. If I use it in the project window create files it only creates an index.html but with the content of package.json, is there a way to get multi file templates to behave correctly in the projects window

    • HTML-Kit Support, 28th May 2015 11:24 am

      On 5/25/2015 9:52 AM, Maglor wrote:

      I have a template that creates index.html, gulpfile.js and
      package.json and it creates all 3 documents when used from the New
      menu items. If I use it in the project window create files it only
      creates an index.html but with the content of package.json, is there
      a way to get multi file templates to behave correctly in the projects
      window

      Hi,

      I see what you mean! The Create New Files option in project window
      supports, for example, creating index.html, about.html and contact.html
      at once from HTML5 template. This wouldn't really make sense for
      templates with multiple files because the file names would then have to
      come from the template itself. So I think this would require a new
      option that skips duplicate files and creates files specified in the
      template. Would that work for you?

      Chami