-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Init feature updates * changed function to more general name, support for JSON data as well * Fixed bug when @DaTa was JSON * Fixed 5.3.3 compatibility issues * fixed var name in if statement * Fixed if statement...again * Fixed bad tick marks * Fixed incorrect quote marks in data_replace function
- Loading branch information
1 parent
20d9d1f
commit 833092f
Showing
13 changed files
with
111 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bar: abc | ||
baz: def |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"bar": "123", | ||
"baz": "456" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
src: /resources/fixtures/cat.jpg | ||
alt: This is a photo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Image", | ||
"category": "atom", | ||
"type": "object", | ||
"format": "grid", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"default": "image", | ||
"options": { | ||
"hidden": true | ||
} | ||
}, | ||
"src": { | ||
"type": "string" | ||
}, | ||
"alt": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["name"], | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<img src="{{src}}" alt="{{alt}}" > |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: test | ||
quotation: We think of Red Hat as one of just a handful of superior engineering and support organizations in the United States. | ||
attribution_name: John Defeo | ||
attribution_title: President of Infrastructure, CIGNA | ||
image: @image | ||
foo: | ||
- @foo | ||
- @foo2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
|
||
|
||
<div> | ||
{% include 'image.twig' with image only %} | ||
<blockquote> | ||
<p>{{quotation}}</p> | ||
<footer> | ||
<span>{{attribution_name}}</span>{% if attribution_title %}, {{attribution_title}}{% endif %} | ||
</footer> | ||
</blockquote> | ||
</div> | ||
|
||
|
||
{% for item in foo %} | ||
{{item.bar}} <br> | ||
{{item.baz}} <br><br> | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters