PHP Classes

File: src/Cabin/Hull/View/cargo/blog_read_comments.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Cabin/Hull/View/cargo/blog_read_comments.twig   Download  
File: src/Cabin/Hull/View/cargo/blog_read_comments.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 7 years ago
Size: 808 bytes
 

Contents

Class file image Download
{% import "macros/blog_comments.twig" as bcom %}{# #}{% if config.blog.comments.enabled %} {% if cached %} <h2 id="comments">{{ __("Comments") }}</h2> <div id="blog_comments_wrapper" data-cached="1" data-cabinurl="{{ cabin_url() }}" data-uniqueid="{{ blogpost.shorturl|e('html_attr') }}">{# #}<em>{{ __("This blog post is cached. Comments are rendered via JavaScript.") }}</em>{# #}</div>{# #}{% elseif comments %} <h2 id="comments">{{ __("Comments") }}</h2> <div id="blog_comments_wrapper">{# #}<ol class="blog_comments">{% for comment in comments %}{# #}{{ bcom.blogComments(comment, cargo("blog_comment_display")) }}{# #}{% endfor %}</ol>{# #}</div>{# #}{% endif %}{# #}{% endif %}