0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/shared
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
..
config Added portal redirect for first version of offers 2021-09-28 18:34:15 +05:30
i18n Removed unused doesTranslationKeyExist fn from i18n 2021-10-04 11:52:10 +01:00
settings-cache
custom-theme-settings-cache.js Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00
express.js
html-to-plaintext.js
labs.js Added basic {{match}} helper 2021-10-14 19:36:56 +01:00
sentry.js
url-utils.js