Depurar & styles
This commit is contained in:
32
views/templates/single-industria.twig
Normal file
32
views/templates/single-industria.twig
Normal file
@ -0,0 +1,32 @@
|
||||
{% extends 'layouts/base.twig' %}
|
||||
|
||||
{% block content %}
|
||||
{# <p>Servicios test</p> #}
|
||||
|
||||
<div class="container">
|
||||
<article class="post-type-{{ post.type }}" id="post-{{ post.id }}">
|
||||
<section class="article-content mt-5 border-dark border-top">
|
||||
|
||||
<!-- Title & author & date -->
|
||||
<h1 class="article-h1">{{ post.title }}</h1>
|
||||
<p class="blog-author mt-3 mb-5 border-dark border-bottom">
|
||||
<span>{{ __('Autor', 'Sindikatua')}}:</span>
|
||||
<a href="{{ post.author.path }}">{{ post.author.name }}</a>
|
||||
<span>•</span>
|
||||
<time datetime="{{ post.date|date('Y-m-d H:i:s') }}">{{ post.date }}</time>
|
||||
</p>
|
||||
|
||||
<!-- Img & Content -->
|
||||
{# <div class="d-flex justify-content-center my-5">
|
||||
<img src="{{ post.thumbnail.src }}"
|
||||
alt="{{ post.thumbnail.alt }}"
|
||||
class="img-fluid object-fit-contain border border-1 rounded p-3"
|
||||
style="max-width: 500px; max-height: 300px;"
|
||||
/>
|
||||
</div> #}
|
||||
<div class="article-body">{{ post.content }}</div>
|
||||
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user