website/_layouts/tagpage.html

53 lines
1.7 KiB
HTML
Raw Normal View History

2019-08-13 15:16:48 +02:00
---
layout: default
2022-09-09 18:11:19 +02:00
languages: ["it"]
2019-08-13 15:16:48 +02:00
---
<section class="container">
2019-08-13 15:16:48 +02:00
<h1>#{{ page.tag }}</h1>
<div class="card-columns">
{% for l_page in site.pages %}
{% if l_page.tags contains page.tag %}
2019-08-13 15:16:48 +02:00
<div class="card">
<table>
<tbody>
<tr>
<td>
<div class="card-body">
{%- capture l_page_title %}
{%- t l_page.title %}
{%- endcapture %}
2019-08-13 15:16:48 +02:00
<h5 class="card-title">
<a class="l_page-link" href="{{ l_page.url | prepend: site.baseurl }}">{{ l_page_title }}</a>
2019-08-13 15:16:48 +02:00
</h5>
{%- capture l_page_description %}
{%- t l_page.description %}
{%- endcapture %}
<div class="card-text"><small> {{ l_page_description }} </small></div>
2019-08-13 15:16:48 +02:00
<br>
<a class="btn btn-secondary" href="{{ l_page.url | prepend: site.baseurl }}">{% t buttons.know_more %}</a>
2019-08-13 15:16:48 +02:00
</div>
</td>
</tr>
</tbody>
</table>
<div class="card-footer text-right">
2019-08-13 15:16:48 +02:00
<small>
<span>
{% for tag in l_page.tags %}
2019-08-13 15:16:48 +02:00
{% capture tag_name %}{{ tag }}{% endcapture %}
<a href="/tag/{{ tag_name }}.html"><code class="highligher-rouge"><nobr>{{ tag_name }}</nobr></code>&nbsp;</a>
{% endfor %}
</span>
</small>
</div>
</div>
<br>
<br>
{% endif %}
2019-08-13 15:16:48 +02:00
{% endfor %}
</div>
</section>