0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/helpers
JT Turner 1f4c01d207 Started moving meta data fetching to functions.
issue #6186
- Moved asset helper logic to a asset url function.
- Created author image function to be used in ghost_head helper.
- Created author url function to be used in the ghost_head helper.
- Created canonical url function to be used in the ghost_head helper.
- Moved meta_description helper logic to a function.
- Moved excerpt helper logic to a function.
- Created an index in data/meta to be used in ghost_head helper to get all data.
- Created keyword function to be used in the ghost_head helper.
- Created modified data function to be used in the ghost_head helper.
- Created next url function to be used in the ghost_head helper.
- Created ogType function to be used in the ghost_head helper.
- Created previous url function to be used in the ghost_head helper.
- Created published data function to be used in the ghost_head helper.
- Created rss url function to be used in the ghost_head helper.
- Created schema function to be used in the ghost_head helper.
- Created structured data function to be used in the ghost_head helper.
- Moved meta_title helper logic to a title function.
- Moved url helper logic to a url function.
- Wrote tests for all the new functions

This is just the first step. I plan on refactoring the ghost head to use these new functions.
2016-01-23 13:58:21 -08:00
..
tpl Add aria-hidden to the pagination arrows 2015-11-18 13:54:33 -06:00
asset.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
author.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01: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 Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
encode.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
excerpt.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
foreach.js Merge pull request #6070 from kevinkucharczyk/harvesting-server-side-strings 2016-01-12 20:04:53 +00:00
get.js Harvest server side strings 2015-12-19 12:12:16 +01:00
ghost_foot.js Remove auto-inclusion of jQuery via ghost_foot 2015-09-02 13:39:22 +01:00
ghost_head.js Fix urlFor to handle secure correctly 2016-01-11 19:40:30 -08: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 Merge pull request #6070 from kevinkucharczyk/harvesting-server-side-strings 2016-01-12 20:04:53 +00: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 Merge pull request #6070 from kevinkucharczyk/harvesting-server-side-strings 2016-01-12 20:04:53 +00:00
page_url.js Harvest server side strings 2015-12-19 12:12:16 +01:00
pagination.js Harvest server side strings 2015-12-19 12:12:16 +01:00
plural.js Harvest server side strings 2015-12-19 12:12:16 +01:00
post_class.js Remove filters from theme helpers (no async) 2015-12-08 14:35:04 +00:00
prev_next.js Next/Prev Post helpers include author & tags 2015-08-10 08:58:25 +01: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
url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
utils.js Theming updates for password protection 2015-05-13 19:48:24 +01:00