description = "Post Style 2" [viewBag] == addCss('assets/vendor/owl-carousel/css/owl.carousel.min.css'); $this->addCss('assets/vendor/swipebox/css/swipebox.min.css'); $this->addCss('assets/vendor/owl-carousel/css/owl.theme.default.min.css'); $this->addJs('assets/vendor/owl-carousel/js/owl.carousel.min.js'); $this->addJs('assets/vendor/swipebox/js/jquery.swipebox.min.js'); } ?> == {% set post = blogPost.post %}
{% if this.theme.blog_post_pageheader == 'default' or this.theme.blog_post_pageheader == 'both' %} {% if post.featuredvideo.hasVideo %}
{{ post.featuredvideo.iframe_content|raw }}
{% elseif post.featured_images.count > 1 and this.theme.blog_post_image == 'gallery' %} {% elseif post.featured_images.count == 1 or (post.featured_images.count > 1 and this.theme.blog_post_image == 'image') %} {% endif %} {% endif %}
{{ post.published_at|date('M') }} {{ post.published_at|date('d') }}
{% if post.user.avatar %} {{ post.user.avatar.file_name }} {% endif %} {% for category in post.categories %}
{% if loop.first %}{% endif %} {{ category.name }}{% if not loop.last %}, {% endif %}
{% endfor %}

{{ post.title }}

{{ post.content_html|raw }}

{% if this.theme.blog_post_gallery and (post.featured_images.count > 1) %}

Post Gallery

{% for image in post.featured_images %} {% endfor %}
{% endif %} {% if this.theme.blog_post_disqus %}

Comments

{% endif %} {% if this.theme.blog_post_navigation %} {% partial "blog/pagenav" %} {% endif %} {% if this.theme.blog_post_gallery and (post.featured_images.count > 0) %} {% put scripts %} {% endput %} {% endif %}