We are working very hard to bring you the best documentation possible.

GETTING STARTED

HTML Document Naming Convention

When saving a generated HTML document to the build folder, fusion.ssg doesn't name the HTML document 'template file name' + .html. Instead, for templates that aren't named index.md or index.html, it creates a folder whose name is the name of the template and saves the actual HTML document to that folder with the name of index.html.

For example, if you have a template whose path is templates/math.md, fusion.ssg will save the generated HTML document to the build folder as /math/index.html, and its file path would be "/math". For a template whose path is templates/subject/spelling.html, fusion.ssg will save the generated HTML document to the build folder as /subject/spelling/index.html, and its file path would "/subject/spelling".

For HTML documents generated from templates named index.md or index.html, such as templates/index.md, and templates/subject/index.html, fusion.ssg saves them to the build folder as /index.html (its file path would be "/"), and /subject/index.html (its file path would be "/subject"), respectively.