mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-13 14:39:52 +03:00
5f2c913fc1
refs #5091, #6612 - unify getNextUrl & getPrevUrl into getPaginatedUrl - ensure that it can generate a prev, next or exact page no url - ensure that it can figure out the base url - use the same code from the page_url helper - refactor the tests to ensure there's 100% coverage Following on from #6612, this ensures that pagination always works regardless of whether the channel is default or custom |
||
---|---|---|
.. | ||
asset_url_spec.js | ||
author_image_spec.js | ||
author_url_spec.js | ||
canonical_url_spec.js | ||
cover_image_spec.js | ||
description_spec.js | ||
excerpt_spec.js | ||
keywords_spec.js | ||
modified_date_spec.js | ||
og_type_spec.js | ||
paginated_url_spec.js | ||
published_date_spec.js | ||
rss_url_spec.js | ||
schema_spec.js | ||
structured_data_spec.js | ||
title_spec.js | ||
url_spec.js |