Last active
January 29, 2021 23:45
-
-
Save adamjohnson/8022d3d55ddc8262a55d0ffec89b4ab1 to your computer and use it in GitHub Desktop.
A collection of Liquid Snippets for CleanSlate CMS + Sublime Text 3.
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
<snippet> | |
<!-- Snippet to insert a Liquid comment for CleanSlate. --> | |
<content><![CDATA[ | |
{% comment %} | |
${1:} | |
{% endcomment %} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>lqcomment</tabTrigger> | |
<description>Liquid Comment</description> | |
<!-- NOTE: Specifying a source seems to break stuff. π€·ββοΈ --> | |
</snippet> |
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
<snippet> | |
<!-- Snippet to insert a Liquid Editable Region for CleanSlate. --> | |
<content><![CDATA[ | |
{% editable_region name: "${1:}" %} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>lqer</tabTrigger> | |
<description>Liquid CleanSlate Editable Region</description> | |
<!-- NOTE: Specifying a source seems to break stuff. π€·ββοΈ --> | |
</snippet> |
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
<snippet> | |
<!-- Snippet to insert a Liquid Editable Region Block for CleanSlate. --> | |
<content><![CDATA[ | |
{% editable_region_block name: "${1:}" %} | |
${2:} | |
{% endeditable_region_block %} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>lqerblock</tabTrigger> | |
<description>Liquid CleanSlate Editable Region Block</description> | |
<!-- NOTE: Specifying a source seems to break stuff. π€·ββοΈ --> | |
</snippet> |
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
<snippet> | |
<!-- Snippet to insert a Liquid Link JavaScript tag for CleanSlate. --> | |
<content><![CDATA[ | |
{% link_javascript name: "${1:}" %} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>lqjs</tabTrigger> | |
<description>Liquid CleanSlate Link JavaScript</description> | |
<!-- NOTE: Specifying a source seems to break stuff. π€·ββοΈ --> | |
</snippet> |
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
<snippet> | |
<!-- Snippet to insert a Liquid object (eg: `{{ example }}`) --> | |
<content><![CDATA[ | |
{{ ${1:example} }} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>lqobj</tabTrigger> | |
<!-- Optional: Description to show in the menu --> | |
<description>Liquid Object: {{ example }}</description> | |
<!-- NOTE: Specifying a source seems to break stuff. π€·ββοΈ --> | |
</snippet> |
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
<snippet> | |
<!-- Snippet to insert a Liquid partial/render tag. --> | |
<content><![CDATA[ | |
{% render "${1:example}" %} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>lqpartial</tabTrigger> | |
<!-- Optional: Description to show in the menu --> | |
<description>CleanSlate Liquid Partial/Render</description> | |
<!-- NOTE: Specifying a source seems to break stuff. π€·ββοΈ --> | |
</snippet> |
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
<snippet> | |
<!-- Snippet to insert a Liquid tag. --> | |
<content><![CDATA[ | |
{% ${1:example} %} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>lqtag</tabTrigger> | |
<!-- Optional: Description to show in the menu --> | |
<description>Liquid Tag</description> | |
<!-- NOTE: Specifying a source seems to break stuff. π€·ββοΈ --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment