Created
December 24, 2015 06:50
-
-
Save skipjac/e55735be3cf9f7875ee7 to your computer and use it in GitHub Desktop.
Find promoted articles in a single category using zendesk curly bars
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
{{#each categories}} | |
{{! CMS promoted articles }} | |
{{#is id 202178748}} | |
<h2>{{name}}</h2> | |
{{#each sections}} | |
{{#each articles}} | |
{{#if promoted}} | |
<li> | |
<a href="{{url}}">{{title}}</a> | |
</li> | |
{{/if}} | |
{{/each}} | |
{{/each}} | |
{{/is}} | |
{{/each}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment