Ghost/core/server/helpers
Hannah Wolfe e96b60b850 Add helpers for facebook & twitter urls
refs #6534

- this PR assumes that we are now saving usernames only in the database for twitter & facebook
- adds a new social links utility which can generate twitter & facebook urls from the username
- adds a {{twitter_url}} and {{facebook_url}} helper which uses these
- adds a full suite of tests for the helpers & utils
2016-05-17 16:39:58 +01:00
..
tpl Subscribers: router & form helpers 2016-05-11 10:28:11 +02:00
asset.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
author.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
body_class.js
content.js
date.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
encode.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
excerpt.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
facebook_url.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
foreach.js Change default setting for to inside foreach helper 2016-03-17 17:52:38 -07:00
get.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
ghost_foot.js
ghost_head.js Structured Data 3.0 2016-05-08 17:43:59 +02:00
has.js Harvest server side strings 2015-12-19 12:12:16 +01:00
image.js
index.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
input_email.js Subscribers: router & form helpers 2016-05-11 10:28:11 +02:00
input_password.js
is.js Harvest server side strings 2015-12-19 12:12:16 +01:00
meta_description.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
meta_title.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
navigation.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
page_url.js Fixing undefined page case for page_url helper 2016-04-14 11:22:23 +01:00
pagination.js Clean up paginated URL generation 2016-03-20 22:35:00 +00:00
plural.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
post_class.js
prev_next.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
tags.js Add attributes for {{tags}} and {{#foreach}} helpers 2016-01-10 02:47:36 +08:00
template.js Harvest server side strings 2015-12-19 12:12:16 +01:00
title.js
twitter_url.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
utils.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00