PHP Classes

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

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Cabin/Hull/View/cargo/blog_series_list.twig   Download  
File: src/Cabin/Hull/View/cargo/blog_series_list.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: 904 bytes
 

Contents

Class file image Download
{% set div = false %} <ul class="series-list"> {% for i, ser in series_items %} {% if div %}<hr class="blog-hr" />{% endif %} {% set div = true %} {% if ser.type == 'blogpost' %} <li class="series-blog"> <a class="blog-post-title" href="{{ cabin_url() }}blog/{{ ser.blogyear|e('url') }}/{{ ser.blogmonth|e('url') }}/{{ ser.slug|e('url') }}">{# #}{{ ser.title }}</a> {# #}({# #}{{ ser.published|date("F j, Y") }} {# #}{{ __("by") }} {# #}<a href="{{ cabin_url() }}blog/author/{{ ser.authorslug|e('url') }}">{{ ser.authorname }}</a>{# #}) </li> {% else %} <li class="series-series"> <a class="series-title" href="{{ cabin_url() }}blog/series/{{ ser.slug|e('url') }}">{# #}<i class="fa fa-folder-o"></i>{{ ser.name }}</a> </li> {% endif %} {% endfor %} </ul>