Created
October 28, 2013 13:27
-
-
Save muthulakshmipillai/7196764 to your computer and use it in GitHub Desktop.
Sample sidebar to display recent 5 articles in Freshdesk custom theme
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
<!-- Sidebar Sample A shows last 5 articles from the folder of current article --> | |
{% if article.folder.articles_count > 0 %} | |
<section class="sidebar content rounded-6"> | |
<div class="cs-g-c"> | |
<section class="article-list"> | |
<h3 class="list-lead"> | |
More articles in | |
<span class="folder-name">{{ article.folder.name | h}}</span> | |
</h3> | |
{{ article.folder | article_list: 10, article }} | |
</section> | |
</div> | |
</section> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment