Created
September 18, 2014 15:31
-
-
Save DeskWOW/4855216ccb650602c060 to your computer and use it in GitHub Desktop.
Hide topic link on Article page's breadcrumbs for specific topics (useful to prevent 404 error for topics that are hidden)
This file contains hidden or 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
<div id='breadcrumbs'> | |
<a href='{{desk.system.links.home}}'>{{system.snippets.home}}</a> | |
{% unless article.id == 192318 or article.id == 192318 or article.id == 214892 or article.id == 214892 or article.id == 592064 or article.id == 532027 or article.id == 592065 or article.id == 443527 %} | |
› <a href='{{ topic.public_articles_url }}'>{{ topic.name | clip:30 }}</a> | |
{% endunless %} | |
› {{ article.subject_plain | clip:30 }} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment