Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--* Defined the fields in order, then reference lower down the page *-->
- <perch:content id="title" title="true" label="Title" type="smarttext" required="true" suppress="true" />
- <perch:content id="subTitle" type="smarttext" label="Subtitle" help="This will appear inside the main title but smaller" suppress="true" />
- <perch:content id="slug" type="slug" for="title" editable="true" suppress="true" indelible="true" label="Slug (url)" help="Once set, this can't be changed" />
- <perch:content id="date" type="date" label="Event Date" suppress="true" required="true" title="true" />
- <perch:content id="startTime" type="time" label="Start Time" suppress="true" />
- <perch:content id="endTime" type="time" label="End Time" help="If the event has an end time, enter it here. We will display the end time if it is after the start time!" suppress="true" />
- <perch:content id="customTime" help="Use this box instead of the time fields above to describe custom time information, or multiple times (e.g. 4.30 and 7pm)." type="text" label="Custom Time" suppress="true" />
- <perch:content id="location" type="gmap" label="Location" suppress="true" />
- <perch:content id="description" label="Description" type="textarea" editor="redactor" size="xl" html="true" required="true" suppress="true" />
- <perch:content id="excerpt" label="Short Excerpt" help="Displayed on event list. If ommitted description will be use truncated to 50 words." type="textarea" editor="redactor" size="s" html="true" suppress="true" />
- <perch:content id="feature" type="image" width="770" label="Featured Image" required="true" help="Landscape images only please." suppress="true" />
- <perch:content id="feature" type="image" width="360" label="Featured Image" required="true" help="Landscape images only please." suppress="true" />
- <perch:content id="image-caption" label="Image caption or copyright" type="smarttext" suppress="true" />
- <!--*
- Start Template Output
- *-->
- <perch:template path="partials/_icons-svg.html" />
- <header class="content-section col col--medium article__header">
- <figure class="article__feature">
- <img src="<perch:content id="feature" type="image" width="770" />" alt="<perch:content id="title" type="smarttext" />" label="Title" />
- <perch:if exists="image-caption">
- <figcaption class="article__image-caption">
- <perch:content id="image-caption" type="smarttext" />
- </figcaption>
- </perch:if>
- </figure>
- <h1 class="article__title"><perch:content id="title" type="smarttext" /><perch:if exists="subTitle"><small><perch:content id="subTitle" type="smarttext" /></small></perch:if></h1>
- <p class="event-meta"><svg class="icon icon--calendar mr--"><use xlink:href="#calendar" /></svg><perch:template path="partials/_event-date.html" /></p>
- <p class="event-meta"><svg class="icon icon--location mr--"><use xlink:href="#location" /></svg> <perch:content id="location" type="gmap" output="address" /></p>
- </header>
- <article class="col col--thin">
- <perch:content id="description" type="textarea" editor="redactor" size="xl" html="true" />
- </article>
- <section class="content-section wrapper">
- <h2 class="module-title">Event Location</h2>
- <perch:content id="location" type="gmap" />
- <a href="<perch:content id="location" type="gmap" output="directions"/>" class="btn btn--blue fr">Get Directions</a>
- </section>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement