-
-
Save am/38aa2c36f516f90233eb to your computer and use it in GitHub Desktop.
docpad configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docpadConfig = { | |
templateData: | |
site: | |
wat: 'a hell' | |
getWat: -> | |
@site.wat | |
getString: -> | |
'yeah' | |
} | |
# Export the DocPad Configuration | |
module.exports = docpadConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: An error occured: | |
ReferenceError: /Volumes/Data/project/am/lab/docpad/hello_docpad/src/layouts/default.html.jade:21 | |
19| | |
20| //- Our site title and description | |
> 21| title= getWat() | |
22| | |
23| //- Output DocPad produced meta elements | |
24| != getBlock('meta').toHTML() | |
site is not defined | |
at docpadConfig.templateData.getWat (/Volumes/Data/project/am/lab/docpad/hello_docpad/docpad.coffee:10:16) | |
at eval (eval at <anonymous> (/Volumes/Data/project/am/lab/docpad/hello_docpad/node_modules/docpad-plugin-jade/node_modules/jade/lib/jade.js:170:8), <anonymous>:47:64) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment