Help with Listing Template

SOLVE
Giuseppe
Contributor

Hi there,

 

in my post listing template there is the following command {{ content.post_list_content|safe|truncatehtml(100, '..' , false) }} which allows the first lines of my posts to appear in the listing page. Is there any way to 'de-activate' the command (so that only the title of the post and the author will appear in the listing page) without deleting it (just in case in future I wish to re-insert it)?

Many thanks in advance.

Giuseppe

 

0 Upvotes
1 Accepted solution

Accepted Solutions
Jsum
Solution
Key Advisor

@Giuseppe,

You can comment it out.

{# {{ summary token }} #}

open bracket and hashtag, the HubL you want commented out, hashtag closing bracket. 

 

You can also do this:

{#{ summary token }#}

View solution in original post

2 Replies 2
Jsum
Solution
Key Advisor

@Giuseppe,

You can comment it out.

{# {{ summary token }} #}

open bracket and hashtag, the HubL you want commented out, hashtag closing bracket. 

 

You can also do this:

{#{ summary token }#}

View solution in original post

Giuseppe
Contributor

@Jsum

that is very kind of you as usual and your input is great and the comment works properly.

 

Many thanks

0 Upvotes