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 Remove filters from theme helpers (no async) 2015-12-08 14:35:04 +00:00
content.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
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 Remove auto-inclusion of jQuery via ghost_foot 2015-09-02 13:39:22 +01:00
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 Change url and image into synchronous helpers 2014-12-29 18:44:15 +00:00
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 rewrites default private.hbs for new zelda styles 2015-05-29 06:25:32 -06:00
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 Remove filters from theme helpers (no async) 2015-12-08 14:35:04 +00:00
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 Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
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