Ghost/core/server/helpers
Katharina Irrgang 88eab9898c Moved fetching client out of our ghost_head helper (#9180)
refs #8995

- move the getClient lookup from ghost_head into middleware
- use res.locals to keep track of the information (res.locals.client)
- make the middleware global to all frontend routes
- ghost_head: get locals from options.data not this (!)
- adapt lot's of tests
2017-10-26 12:03:53 +02:00
..
tpl
asset.js
author.js
body_class.js
content.js
date.js
encode.js
excerpt.js
facebook_url.js
foreach.js
get.js
ghost_foot.js
ghost_head.js Moved fetching client out of our ghost_head helper (#9180) 2017-10-26 12:03:53 +02:00
has.js
img_url.js
index.js
is.js
meta_description.js
meta_title.js
navigation.js
page_url.js
pagination.js
plural.js
post_class.js
prev_next.js support prev/next filtering by author (#9149) 2017-10-18 18:12:20 +01:00
proxy.js
register.js
tags.js
template.js
title.js
twitter_url.js
url.js