Skip to content

Commit 6f756ef

Browse files
committed
update default template and readme
1 parent 58d8c1d commit 6f756ef

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ A block to embed code like iFrames or Javascript on a page
2626

2727
Adds a block to display embeddable code on a page. Useful for iFrames or Javascript embeds, like MailChimp sign up forms.
2828

29+
## Screen Shots
30+
31+
#### Front End sample of an Embed Code Element
32+
![Front End sample of an Embed Code Element](./readme-images/embed-block-sample.jpg)
33+
34+
#### CMS - Embed Code Element Main Tab
35+
![CMS - Embed Code Element Main Tab](./readme-images/embed-block-cms.jpg)
36+
37+
2938
## Getting more elements
3039

3140
See [Elemental modules by Dynamic](https://github.com/dynamic/silverstripe-elemental-blocks#getting-more-elements)

readme-images/embed-block-cms.jpg

76.6 KB
Loading
11.7 KB
Loading
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<div class="$ExtraClass">
2-
<% if $ShowTitle %><h3>$Title</h3><% end_if %>
3-
<% if $Code %>$Code<% end_if %>
4-
</div>
1+
<% if $Title && $ShowTitle %><h2 class="element__title">$Title</h2><% end_if %>
2+
3+
<% if $Code %>$Code<% end_if %>

0 commit comments

Comments
 (0)