Please enable JavaScript.
Coggle requires JavaScript to display documents.
Docpad (Standard Docpad Structure (src/ (layouts/ (they only exist to wrap…
Docpad
Standard Docpad Structure
my-website/
--|-out/
--|-src/
----|-render/ (also documents/, for backwards compatability)
----|-static/ (also files/, for backwards compatability)
----|-layouts/
--|-docpad.coffee
--|-package.json
out/
This directory contains anything that DocPad generates.
Any new files added to the src directory will be found here
src/
This directory contains website's source files.
layouts/
they only exist to wrap files in render and other layouts within themselves.
Layouts should include child content, which is done using the content template data variable.
render/
These are files that we would like to render.
For example :
writing a blog post that renders from Markdown to HTML with the document src/render/blog/hello.html.md to out/blog/hello.html
static/
they are not rendered and do not support meta data.
like those in render, are output to the out directory.
docpad.coffee
have several different extensions. It defines DocPad's settings.
package.json
defines the dependencies that your application requires,