URLs
The URL's on mosquito are generated using the existing folder structure when storing the documents. So the way you store your markdown content files, the way the site URLs will be generated.
Using mosquito as CMS :
- A file at
content/index.mdwill be reached at/. - A file at
content/test.mdwill be reached at either/testor/test/. - A file at
content/subfolder/index.mdwill be reached at both/subfolderand/subfolder/. - A file at
content/subfolder/test.mdwill be reached at/subfolder/testand/subfolder/test/. - If a file does not exist or cannot be found,
content/404.mdwill be used in its place.
If you are using mosquito as Static Site Generator :
- A file at
content/index.mdwill be reached at/. - A file at
content/test.mdwill be reached at/test.html. - A file at
content/subfolder/index.mdwill be reached at/subfolder/. - A file at
content/subfolder/test.mdwill be reached at/subfolder/test.html. - If a file does not exist or cannot be found, should be directed to
/404.htmlwhich is created from the filecontent/404.md.