Closed adamjohnson closed 5 years ago
profile_index.html
<r:page:id />
<h1>
The output is always 1 from <r:page:id />
The output should use the corresponding page ID from the pages key in mock_data.yml.
pages
mock_data.yml
I'm on the dev branch of hammer, commit: 520d1c6f80c5b9735d018eb5d2b95862720d10c7
Curiously, <r:article:id /> works in the blogs context.
<r:article:id />
Steps to reproduce:
profile_index.html
template.profile_index.html
template in your code editor and add<r:page:id />
to the loop (perhaps in an<h1>
).Results:
The output is always 1 from
<r:page:id />
Expected Results
The output should use the corresponding page ID from the
pages
key inmock_data.yml
.Environment
I'm on the dev branch of hammer, commit: 520d1c6f80c5b9735d018eb5d2b95862720d10c7