0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/middleware
Hannah Wolfe e84b7f3217 Cache permalinks & postsPerPage on config.theme
no issue

- Cache the permalinks & postsPerPage settings on the config.theme object
- Use the config.theme cache to reference these items throughout the frontend of a blog
- Removes the need for workarounds and extra code to handle async fetches
- Makes these values accessible to all themes, which is very useful now we have the API stuff
2015-12-15 08:16:53 +00:00
..
auth-strategies.js Check client is enabled before auth 2015-11-04 16:59:56 +00:00
auth.js Change server-side labs utility to be synchronous 2015-12-03 16:05:50 +00:00
cache-control.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
check-ssl.js SSL redirects 2015-09-25 12:02:14 +02:00
decide-is-admin.js Moves the decideIsAdmin into its own file. 2015-06-09 14:02:22 -07:00
ghost-busboy.js Ensure middleware functions are named 2015-06-02 14:49:18 +01:00
index.js Remove undefined function and fix some comments 2015-12-01 23:28:36 -08:00
oauth.js OAuth Middleware refactor 2015-12-01 21:20:11 +01:00
private-blogging.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
redirect-to-setup.js Middleware Refactor 2015-08-04 14:53:58 +02:00
serve-shared-file.js Middleware Refactor 2015-08-04 14:53:58 +02:00
spam-prevention.js Fix signin errors 2015-08-10 12:26:45 +01:00
static-theme.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
theme-handler.js Cache permalinks & postsPerPage on config.theme 2015-12-15 08:16:53 +00:00
uncapitalise.js Uncapitalise respects subdirectories & no encoding 2015-09-24 18:52:30 +01:00