Topic cluster
How-to guide
A goal-oriented document that gives practical steps for a specific outcome.
View topic page9 items
The remaining keywords do not make a useful further split. All matching documentation is listed below.
Create a page layout
Use an existing site base template as your starting point. Put shared document structure in the base and page-specific markup in blocks.
Create a page layout
Use an existing site base template as your starting point. Put shared document structure in the base and page-specific markup in blocks.
Display images with mediaclasses
Define reusable image sizes in priv/templates/mediaclass.config and use them in image tags. For example, a local mediaclass can constrain an image's width:
Find the template used by a page
Enable module#mod_development and open its template tools in the admin. Search for the template name and inspect the selected file and alternatives.
Override a module template
Find the active template and its path relative to priv/templates. Create the same relative path in your site or another active module with a higher selection priority.
Render template values safely
Choose escaping for the value and the output context.
Reuse markup with includes and categories
Extract repeated markup into a partial and pass its inputs explicitly.
Reuse markup with includes and categories
Extract repeated markup into a partial and pass its inputs explicitly.
Translate interface text
Write the source text in English and mark static interface text for translation.