0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/frontend/helpers
Simon Backx e97abeceb5
Added >, <, >=, and <= operators to match helper (#14215)
refs https://github.com/TryGhost/Team/issues/1386

- The current match handler supports normal (in)equality operators, but no numeric comparisons (<, >, <=, >=)
- A use case for these new operators is to show the latest post in a separate way from other posts

Includes unit tests to check the new behaviour.
Run via `yarn test test/unit/frontend/helpers/match.test.js`
2022-03-03 15:43:47 +01:00
..
tpl Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
asset.js
author.js
authors.js
body_class.js
cancel_link.js Added eslint exemption for camelcase line 2022-02-07 13:16:05 +01:00
concat.js
content.js
date.js Added timezone and locale to the options of the date helper (#13892) 2022-01-19 14:43:53 +00:00
encode.js
excerpt.js Updated eslint-plugin-ghost & fixed resulting failures 2022-02-21 12:30:12 +00:00
facebook_url.js
foreach.js
get.js Added support for Tiers API to the get helper 2022-03-03 15:15:43 +02:00
ghost_foot.js
ghost_head.js 🐛 Fixed card scripts executing before DOM is parsed 2021-12-08 17:54:37 +02:00
has.js
img_url.js
is.js
lang.js
link.js
link_class.js
match.js Added >, <, >=, and <= operators to match helper (#14215) 2022-03-03 15:43:47 +01:00
meta_description.js
meta_title.js
navigation.js
page_url.js
pagination.js
plural.js
post_class.js
prev_post.js Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
price.js
products.js Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
raw.js
reading_time.js
t.js
tags.js
title.js
twitter_url.js
url.js 🐛 Fixed malformed URLs crashing the url helper 2021-12-02 10:34:24 +01:00