Accessing data from generator in template #4963
-
|
I have a generator that creates some stats about my blog (post count, word count, averages, etc.). I also have a template file that I want to use to render those stats out to a new page (at I can't figure out how to access that data value from the template ( Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Of course I figured this out right after posting. Apparently it's part of the |
Beta Was this translation helpful? Give feedback.
Of course I figured this out right after posting. Apparently it's part of the
pageobject that can be used from within the template. So the correct way in the example above would be<%= page.postCount %>.