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

Update docs.md to fix broken page #1073

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/02.content/01.content-pages/docs.md
Expand Up @@ -191,7 +191,7 @@ This allows you to perform a wide variety of functionality from any page on your
[/prism]
{% endverbatim %}

!! The `pages`-object is unavailable when [processing Twig directly in Markdown-content](https://learn.getgrav.org/content/headers#process). However, the `page`-object and its inherited `find()`-method is, so you could use `{% for p in page.find('/projects').children %}` as a replacement for the above. Note that the **pages** refers to all the Pages available to Grav, and **page** refers to a single, and often the current, Page.
!! The `pages`-object is unavailable when [processing Twig directly in Markdown-content](https://learn.getgrav.org/content/headers#process). However, the `page`-object and its inherited `find()`-method is, so you could use {% verbatim %} `{% for p in page.find('/projects').children %}` {% endverbatim %} as a replacement for the above. Note that the **pages** refers to all the Pages available to Grav, and **page** refers to a single, and often the current, Page.

In the next sections, we will continue to dig into the specifics of a page and page collections in detail.

Expand Down