templates/frontend/content/_card.html.twig line 1

  1. <div class="max-w-sm bg-white shadow dark:bg-gray-800 dark:border-gray-700">
  2.     <a href="#">
  3.         <img src="{{ asset(image) }}" alt=""/>
  4.     </a>
  5.     <div class="p-5">
  6.         <span class="text-gray-400 text-sm">{{ date |date("Y-m-d") }}</span>
  7.         <h5 class="mb-2 text-xl tracking-tight font-light text-gray-900 dark:text-white line-clamp-2 min-h-[56px]">{{ title }}</h5>
  8.         <hr class="my-5">
  9. {#        <a href="{{ path('app_content_show',{type: app.request.get('type'), id: id}) }}"#}
  10. {#           class="inline-flex items-center">{{ 'content.more' | trans }}<i class="fa fa-circle-chevron-right ml-2"#}
  11. {#                                                                           aria-hidden="true"></i></a>        #}
  12.         <a href="{{ path('app_content_show_user', {'type': type, 'id': id}) }}"
  13.            class="inline-flex items-center">{{ 'content.more' | trans }}<i class="fa fa-circle-chevron-right ml-2"
  14.                                                                            aria-hidden="true"></i></a>
  15.     </div>
  16. </div>