0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/test/unit
Hannah Wolfe 981f11da95
Added basic {{match}} helper
refs: https://github.com/TryGhost/Team/issues/759

- The match helper allows for basic equals and not equals comparisons,
Example:
  {{match title "=" "Getting Started"}}
  {{match slug "!=" "welcome"}}
- There's a lot more functionality we want to add here, so that it ends up being a replacement for {{#has}}
- However, this first iteration is already useful, especially in the context of custom theme settings
- Therefore we are adding it early, and will document it along with custom theme settings when that goes GA very soon
2021-10-14 19:36:56 +01:00
..
api Fixed failing unit test 2021-08-13 10:22:11 +04:00
frontend Added basic {{match}} helper 2021-10-14 19:36:56 +01:00
server Added image as an allowed custom theme setting type 2021-10-14 18:41:54 +01:00
shared Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00