0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
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 🎨 Improved accessibility markup in default navigation.hbs partial (#9137) 2017-10-12 13:57:18 +02:00
asset.js Asset amends (#8294) 2017-04-10 11:30:21 +02:00
author.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
body_class.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
content.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
date.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
encode.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
excerpt.js 🐛 Fixed custom post excerpt length (#8826) 2017-08-02 15:09:12 +04:00
facebook_url.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
foreach.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
get.js 🐛 Added error handling to prev/next post helpers 2017-08-29 10:31:00 +02:00
ghost_foot.js 🐛 Fixed global and post code injection output (#8824) 2017-08-02 15:06:51 +04:00
ghost_head.js Moved fetching client out of our ghost_head helper (#9180) 2017-10-26 12:03:53 +02:00
has.js Added any & all matching to {{#has}} helper 2017-08-22 11:21:47 +01:00
img_url.js 🐛 Downgraded errors to warnings for img_url 2017-08-29 10:31:00 +02:00
index.js 🙀 Image field naming & new img_url helper (#8364) 2017-04-24 18:21:47 +01:00
is.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
meta_description.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
meta_title.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
navigation.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
page_url.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
pagination.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
plural.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
post_class.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
prev_next.js support prev/next filtering by author (#9149) 2017-10-18 18:12:20 +01:00
proxy.js 🙇 Blog icon utils and publisher.logo for JSON-LD (#8297) 2017-04-11 18:32:06 +02:00
register.js Keep the original error in registerAsyncTheme (#8977) 2017-09-05 20:11:59 +02:00
tags.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
template.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
title.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
twitter_url.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
url.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00