Sha256: ccd0cc99753b6ab8c3b373a362b50c4961a763e7b45abecad1a460328f09dad8

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

---
filter: erb
---
A partial has access to the page from which it was called. The title below will be the title of the page in which this partial is rendered.

<%%= h(@page.title) %>

A partial does not have access to it's own meta-data. The partial meta-data is used primarily for finding partials or for use in other pages. The filter(s) specified in the meta-data will be applied to the partial text when it is rendered.

A partial does not require meta-data at all. They can contain just text.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webby-0.9.3-x86-mswin32 examples/website/templates/_partial.erb
webby-0.9.4-x86-mswin32 examples/website/templates/_partial.erb