Ghost/core/server/data/meta
Hannah Wolfe 5f2c913fc1 Clean up paginated URL generation
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
2016-03-20 22:35:00 +00:00
..
asset_url.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
author_image.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
author_url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
canonical_url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
cover_image.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
description.js Refactored ghost head helper 2016-02-04 22:18:51 -08:00
excerpt.js Fix facebook/twitter/schema description 2016-02-18 12:11:46 +00:00
index.js Clean up paginated URL generation 2016-03-20 22:35:00 +00:00
keywords.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
modified_date.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
og_type.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
paginated_url.js Clean up paginated URL generation 2016-03-20 22:35:00 +00:00
published_date.js Strutured data: Slack Unfurls & published_at fix 2016-02-22 01:45:00 +01:00
rss_url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
schema.js Fix facebook/twitter/schema description 2016-02-18 12:11:46 +00:00
structured_data.js Strutured data: Slack Unfurls & published_at fix 2016-02-22 01:45:00 +01:00
title.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00