Zendesk: Redirect Category Links using {{curlybars}}
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
<!-- Grab the id of the category and insert into the is statement. This code is from the Copenhagen Theme--> | |
<li class="blocks-item"> | |
{{#is id 204259447}} | |
<a href="/hc/communities/public/topics" class="blocks-item-link"> | |
<h4 class="blocks-item-title">{{name}}</h4> | |
<p class="blocks-item-description">{{excerpt description}}</p> | |
</a> | |
{{else}} | |
<a href='{{url}}' class="blocks-item-link"> | |
<h4 class="blocks-item-title">{{name}}</h4> | |
<p class="blocks-item-description">{{excerpt description}}</p> | |
</a> | |
{{/is}} | |
</li> |
@moderatorwes how would you adjust this to point a section or article to a specific URL? And where would it go?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nerlandson. Where in the HTML did you place the above?