diff options
author | Nelson/Roberto <dewittn@gmail.com> | 2020-05-10 15:42:54 +0300 |
---|---|---|
committer | Nelson/Roberto <dewittn@gmail.com> | 2020-05-10 15:42:54 +0300 |
commit | 0a55f700f995fca6cf4256ea831870a57a92797d (patch) | |
tree | 672fa31b14affdc2693ccd3bf603efc2994b7c79 /layouts | |
parent | 132c1b4b716dc9f10f4f9e8d595a53fede73a316 (diff) |
Imported shortcodes from exsisting theme
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/box.html | 3 | ||||
-rw-r--r-- | layouts/shortcodes/button-group.html | 3 | ||||
-rw-r--r-- | layouts/shortcodes/button.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/definition-group.html | 3 | ||||
-rw-r--r-- | layouts/shortcodes/definition.html | 4 | ||||
-rw-r--r-- | layouts/shortcodes/form.html | 53 | ||||
-rw-r--r-- | layouts/shortcodes/image-text.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/image.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/subheader.html | 3 |
9 files changed, 72 insertions, 0 deletions
diff --git a/layouts/shortcodes/box.html b/layouts/shortcodes/box.html new file mode 100644 index 0000000..151c13f --- /dev/null +++ b/layouts/shortcodes/box.html @@ -0,0 +1,3 @@ +<div class="box"> + {{ .Inner }} +</div>
\ No newline at end of file diff --git a/layouts/shortcodes/button-group.html b/layouts/shortcodes/button-group.html new file mode 100644 index 0000000..f388550 --- /dev/null +++ b/layouts/shortcodes/button-group.html @@ -0,0 +1,3 @@ +<ul class="actions {{ .Get "class" }}"> + {{ .Inner }} +</ul>
\ No newline at end of file diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html new file mode 100644 index 0000000..d231c40 --- /dev/null +++ b/layouts/shortcodes/button.html @@ -0,0 +1 @@ +<li><a href="{{ .Get "link" }}" class="button {{ .Get "class" }}">{{ .Get "title" }}</a></li>
\ No newline at end of file diff --git a/layouts/shortcodes/definition-group.html b/layouts/shortcodes/definition-group.html new file mode 100644 index 0000000..70a28e3 --- /dev/null +++ b/layouts/shortcodes/definition-group.html @@ -0,0 +1,3 @@ +<dl> + {{ .Inner }} +</dl>
\ No newline at end of file diff --git a/layouts/shortcodes/definition.html b/layouts/shortcodes/definition.html new file mode 100644 index 0000000..e53f26d --- /dev/null +++ b/layouts/shortcodes/definition.html @@ -0,0 +1,4 @@ +<dt>{{ .Get "title"}}</dt> +<dd> + <p>{{ .Inner }}</p> +</dd>
\ No newline at end of file diff --git a/layouts/shortcodes/form.html b/layouts/shortcodes/form.html new file mode 100644 index 0000000..8fecf93 --- /dev/null +++ b/layouts/shortcodes/form.html @@ -0,0 +1,53 @@ +<form method="post" action="#"> + <div class="row gtr-uniform"> + <div class="col-6 col-12-xsmall"> + <input type="text" name="demo-name" id="demo-name" value="" placeholder="Name" /> + </div> + <div class="col-6 col-12-xsmall"> + <input type="email" name="demo-email" id="demo-email" value="" placeholder="Email" /> + </div> + <!-- Break --> + <div class="col-12"> + <select name="demo-category" id="demo-category"> + <option value="">- Category -</option> + <option value="1">Manufacturing</option> + <option value="1">Shipping</option> + <option value="1">Administration</option> + <option value="1">Human Resources</option> + </select> + </div> + <!-- Break --> + <div class="col-4 col-12-small"> + <input type="radio" id="demo-priority-low" name="demo-priority" checked> + <label for="demo-priority-low">Low</label> + </div> + <div class="col-4 col-12-small"> + <input type="radio" id="demo-priority-normal" name="demo-priority"> + <label for="demo-priority-normal">Normal</label> + </div> + <div class="col-4 col-12-small"> + <input type="radio" id="demo-priority-high" name="demo-priority"> + <label for="demo-priority-high">High</label> + </div> + <!-- Break --> + <div class="col-6 col-12-small"> + <input type="checkbox" id="demo-copy" name="demo-copy"> + <label for="demo-copy">Email me a copy</label> + </div> + <div class="col-6 col-12-small"> + <input type="checkbox" id="demo-human" name="demo-human" checked> + <label for="demo-human">I am a human</label> + </div> + <!-- Break --> + <div class="col-12"> + <textarea name="demo-message" id="demo-message" placeholder="Enter your message" rows="6"></textarea> + </div> + <!-- Break --> + <div class="col-12"> + <ul class="actions"> + <li><input type="submit" value="Send Message" class="primary" /></li> + <li><input type="reset" value="Reset" /></li> + </ul> + </div> + </div> +</form>
\ No newline at end of file diff --git a/layouts/shortcodes/image-text.html b/layouts/shortcodes/image-text.html new file mode 100644 index 0000000..09b275d --- /dev/null +++ b/layouts/shortcodes/image-text.html @@ -0,0 +1 @@ +<p><span class="image {{ .Get "class" }}"><img src="{{ .Get "src" }}" alt="" /></span>{{ .Inner }}</p>
\ No newline at end of file diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html new file mode 100644 index 0000000..dc2d774 --- /dev/null +++ b/layouts/shortcodes/image.html @@ -0,0 +1 @@ +<span class="image {{ .Get "class" }}"><img src="{{ .Get "src" }}" alt="" /></span>
\ No newline at end of file diff --git a/layouts/shortcodes/subheader.html b/layouts/shortcodes/subheader.html new file mode 100644 index 0000000..84d50f7 --- /dev/null +++ b/layouts/shortcodes/subheader.html @@ -0,0 +1,3 @@ +<header> + {{ .Inner | markdownify }} +</header>
\ No newline at end of file |