mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 16:42:17 +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.js | ||
author_image.js | ||
author_url.js | ||
canonical_url.js | ||
cover_image.js | ||
description.js | ||
excerpt.js | ||
index.js | ||
keywords.js | ||
modified_date.js | ||
og_type.js | ||
paginated_url.js | ||
published_date.js | ||
rss_url.js | ||
schema.js | ||
structured_data.js | ||
title.js | ||
url.js |