Commit 67729615 by Manzar Hussain

recent news

parent cf697ac3
{# {#
/** /**
* @file * @file
* Theme override to display a block. * Default theme implementation to display a view of unformatted rows.
* *
* Available variables: * Available variables:
* - plugin_id: The ID of the block implementation. * - title: The title of this group of rows. May be empty.
* - label: The configured label of the block if visible. * - rows: A list of the view's row items.
* - configuration: A list of the block's configuration values. * - attributes: The row's HTML attributes.
* - label: The configured label for the block. * - content: The row's content.
* - label_display: The display settings for the label. * - view: The view object.
* - provider: The module or other provider that provided this block plugin. * - default_row_class: A flag indicating whether default classes should be
* - Block plugin specific settings will also be stored here. * used on rows.
* - content: The content of this block.
* - attributes: array of HTML attributes populated by modules, intended to
* be added to the main container tag of this template.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
* *
* @see template_preprocess_block() * @see template_preprocess_views_view_unformatted()
*
* @ingroup themeable
*/ */
#} #}
<div class="nw_blog_c_b"> <!-- section code start -->
<div class="nw_p_i_c">
{{ title_prefix }} <div class="nw_blog_c_b">
{% if label %} <div class="nw_p_i_c">
<h5{{ title_attributes }}>{{ label }}</h5> {{ title_prefix }}
{% endif %} {% if label %}
{{ title_suffix }} <h5>{{ label }}</h5>
<div class="cs_s_cb"> {% endif %}
<div class="nw_r_p_ci"> {{ title_suffix }}
<a href="" class="nw_imgcon_box" style="background: url({{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_news_image }}'] }});"> {% for row in rows %}
<div class="cs_s_cb">
</a> <div class="nw_r_p_ci">
<div class="nw_p_box"> <a href="" class="nw_imgcon_box" style="background: url({{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_news_image }}'] }});">
<h6>{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_news_image }}'] }});"></h6>
<a href="" class="nw_btn_con">Read More <i class="fa fa-angle-right" aria-hidden="true"></i></a> </a>
</div> <div class="nw_p_box">
<h6>{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_news_image }}'] }});"></h6>
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ view_node }}'] }}
</div>
</div> </div>
</div> </div>
</div> {% endfor %}
</div>
</div> </div>
<!-- section code end -->
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment