0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/core
Hannah Wolfe 6ee9bb491c Added number & index matching to {{#has}} helper (#8902)
refs #8901

- Adds support for:

    ```
    {{#has number="3"}} // A single number
    {{#has number="3, 6, 9"}} // list the numbers you want to match against
    {{#has number="nth:3"}} // special syntax for nth item
    ```

    And

    ```
    {{#has index="3"}} // A single number
    {{#has index="3, 6, 9"}} // list the numbers you want to match against
    {{#has index="nth:3"}} // special syntax for nth item
    ```
2017-08-15 16:00:17 +01:00
..
client@ac85d18d25 Updated Ghost-Admin to 1.5.2 2017-08-10 16:25:03 +02:00
server Added number & index matching to {{#has}} helper (#8902) 2017-08-15 16:00:17 +01:00
test Added number & index matching to {{#has}} helper (#8902) 2017-08-15 16:00:17 +01:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00