Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement <r:page:url /> #6

Closed
zeroedin opened this issue Aug 28, 2014 · 0 comments
Closed

Implement <r:page:url /> #6

zeroedin opened this issue Aug 28, 2014 · 0 comments
Assignees

Comments

@zeroedin
Copy link
Contributor

This tag is used to link pages inside of tags such as: <r:page:previous_sibling> & <r:page:next_sibling> tags

Use case example:

<r:page:next_sibling>
    <li><a class="arrow__next" href="<r:page:url />">Next Page</a></li>
</r:page:next_sibling>

By default the page:url attribute should return the current request: http://localhost:2000/theme/view.html

The attribute should also be available to override in the mock_data.yml

page:
  name: Example
  url: http://www.google.com
@zeroedin zeroedin self-assigned this Aug 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant