Re-exports§
pub use content_for::ContentFor;pub use engine::TemplateEngine;pub use global::init;pub use global::render;pub use global::render_variant;pub use global::set_engine;pub use global::try_engine;pub use partials::render_collection;pub use partials::render_partial;pub use renderer::Renderer;pub use response::ViewResponse;pub use tera_engine::TeraEngine;
Modules§
- content_
for - Named content blocks (Rails
content_for(:name) { ... }+yield :name). - engine
- fragment
- Fragment caching (Rails
<% cache key do %> … <% end %>). - global
- Process-global template engine, installed once at boot and reached from
request handlers via
Context::render. - helpers
- Action View-style HTML helpers (forms, links, assets, tags, formatting…).
- partials
- Partial and collection rendering (Rails
render "posts/form"/render partial:, collection:). - renderer
- response
- tera_
engine