Skip to content

Commit

Permalink
Merge pull request #207 from netgen/mlukac-patch-2
Browse files Browse the repository at this point in the history
Update templating.rst
  • Loading branch information
emodric authored Nov 12, 2021
2 parents cb56519 + 92222d2 commit c8c67a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -557,12 +557,12 @@ Location siblings
- **Listing Location's siblings**

This is done by calling the method ``getSiblings()``, also available as ``siblings()`` in
Twig. It returns an array of children Locations and optionally accepts maximum number of items
Twig. It returns an array of sibling Locations and optionally accepts maximum number of items
returned (by default ``25``).

.. code-block:: twig
{% set children = location.siblings(10) %}
{% set siblings = location.siblings(10) %}
<h3>List of 10 Location's siblings, sorted as is defined on the parent Location</h3>
Expand Down

0 comments on commit c8c67a4

Please sign in to comment.