mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added TODO to amp_content
refs #9866 - this can be removed if we drop v0.1
This commit is contained in:
parent
15f6c2421c
commit
8caf8009ae
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ function getAmperizeHTML(html, post) {
|
|||
amperize = amperize || new Amperize();
|
||||
|
||||
// make relative URLs abolute
|
||||
// @TODO: API v2 already makes the urls absolute. Remove if we drop v0.1.
|
||||
html = urlService.utils.makeAbsoluteUrls(html, urlService.utils.urlFor('home', true), post.url).html();
|
||||
|
||||
if (!amperizeCache[post.id] || moment(new Date(amperizeCache[post.id].updated_at)).diff(new Date(post.updated_at)) < 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue