Closed adamjohnson closed 9 years ago
Hammer doesn't have a concept of pages. You will never be able to do either of these snippets.
This is an advanced snippet unfortunately that heavily relies on content. Specifically page content that can not be "mocked" without a stupid amount of data in the mock_data.yml
. Not worth it for the development cycle.
What do you want to display instead?
Custom message content block maybe under get_page:
key?
Example:
get_page: |
<ul>
<li>This content</li>
<li>This stuff too</li>
</ul>
Yeah I just want to be able to throw some plain text or HTML at this tag. Nothing fancy.
Another usage example just in case anyone needs a reference:
Here's the code from the CleanSlate site for recently updated pages:
and another code example: