Customize `Comments` section: rename and remove counts

2 Comments

  • Sebastiaan Wijchers
    Comment actions Permalink

    Hello Greer,

    When you go to edit code and open up article_page.hbs, you'll find something like this from line 135:

    <h3 class="comment-heading">
    {{t 'comments'}}
    </h3>
    <p class="comment-callout">{{t 'comments_count' count=article.comment_count}}</p>

    Then you can replace {{t 'comments'}} by "How to improve this article?" and remove this line:

    <p class="comment-callout">{{t 'comments_count' count=article.comment_count}}</p>

    You probably want to get rid of "Be the first to write a comment." too. Go somewhere around line 223 and remove this:

    <p class="comment-callout">{{comment_callout}}</p>

    With kind regards,

    Sebastiaan

    0
  • Greer Davis
    Comment actions Permalink

    Thanks so much for the response! I was on the right track with the where but I was leaving the {{t bit and putting the change where the word comments is now.

    And thanks for the suggestion about "Be the first to write a comment". Removed as well!

    0

Please sign in to leave a comment.

Powered by Zendesk