Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Perch 2.8 Blocks template example
<div class="row">
<div class="col-md-6 col-md-offset-3">
<perch:block type="text" label="Text">
<perch:content id="text" type="textarea" markdown="true" editor="markitup" size="s" label="Text" />
<perch:block type="pullquote" label="Pull quote">
<perch:content id="quote" type="textarea" markdown="true" size="xs" label="Quote" />
<cite>&mdash; <perch:content id="cite" type="smarttext" label="By" /></cite>
<perch:block type="image" label="Big image">
<figure class="full">
<img src="<perch:content id="image" type="image" width="1600" label="Image" />" class="img-responsive" />
<figcaption><perch:content id="caption" type="smarttext" label="Caption" /></figcaption>
<perch:block type="inlineimage" label="Inline image">
<figure class="inline <perch:content id="class" type="select" options="Pull left|pull-left,Pull right|pull-right" label="Alignment" order="2" />">
<img src="<perch:content id="image" type="image" width="360" density="2" label="Image" order="1" />" class="img-responsive" />

This comment has been minimized.

Copy link

commented Jan 5, 2018

Hi, it's possible to add perch:before and perch:after in perch:block ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.