mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
a1b55509df
refs #9601 Example: ``` collections: /podcast/: permalink: /{slug}/ ``` - the name of the collection is remembered as `routerName` (in the case above: "podcast") - the name of the collection is important for two things 1. context value 2. template name - the context value is available for specific theme helpers e.g. is helper, body_class helper - we auto-lookup the collection name in your theme e.g. podcast.hbs - this logic does not apply to static routes - if you define templates on your collection, they are stronger than the collection name |
||
---|---|---|
.. | ||
amp_url.js | ||
asset_url.js | ||
author_fb_url.js | ||
author_image.js | ||
author_url.js | ||
blog_logo.js | ||
canonical_url.js | ||
context_object.js | ||
cover_image.js | ||
creator_url.js | ||
description.js | ||
excerpt.js | ||
image-dimensions.js | ||
index.js | ||
keywords.js | ||
modified_date.js | ||
og_image.js | ||
og_type.js | ||
paginated_url.js | ||
published_date.js | ||
rss_url.js | ||
schema.js | ||
structured_data.js | ||
title.js | ||
twitter_image.js | ||
url.js |