Skip to content

Accessing data from generator in template #4963

Discussion options

You must be logged in to vote

Of course I figured this out right after posting. Apparently it's part of the page object that can be used from within the template. So the correct way in the example above would be <%= page.postCount %>.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by amoscardino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant