Created
December 7, 2010 20:53
-
-
Save hijonathan/732390 to your computer and use it in GitHub Desktop.
PML Examples
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
<!-- The meta tags: --> | |
<meta name="boolean:Show Message" content="1" /> | |
<meta name="text:Custom Message" content="Hi there!" /> | |
<!-- How to implement it: --> | |
{% if boolean:Show Message %} | |
{{ text:Custom Message }} | |
{% endif %} |
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
<!-- The meta tags: --> | |
<meta name="text:Custom Message" content="Hi there!" /> | |
<!-- How to implement it: --> | |
{% if text:Custom Message %} | |
{{ text:Custom Message }} | |
{% endif %} |
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
<!-- The meta tags: --> | |
<meta name="widget:My Widget" content="" /> | |
<!-- How to implement it: --> | |
{{ widget:My Widget }} |
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
<!-- The meta tags: --> | |
<meta name="widget:My Form Builder" content="__use__default__form__" /> | |
<!-- How to implement it: --> | |
{{ widget:My Form Builder }} |
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
<!-- The goal: convince the visitor you ship your product to their current location --> | |
<!-- How to implement it: --> | |
<h1>We ship to {{ VisitorCity }}!</h1> |
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
<!-- The meta tags: --> | |
<meta name="boolean:Flip Layout" content="" /> | |
<!-- How to implement it: --> | |
{% flip boolean:Flip Layout %} | |
This content | |
{% with %} | |
That content | |
{% endflip %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment