4.4 KiB
4.4 KiB
| layout | title | permalink |
|---|---|---|
| default | Projetos com a tag Sample | /sample/ |
{% include sidebar.html %}
Projetos que possuem a tag sample:
Limpar filtro
<!-- Projetos -->
<div id="project-list" class="columns is-multiline">
{% for projeto in site.data.all %}
{% if projeto.tags.TAG contains "sample" %}
<div class="column is-6 project-item" data-sample="{{ projeto.tags.sample | join: ',' }}">
<div class="box">
<!-- Botão do projeto -->
{% assign file_url = projeto.file | downcase
| replace: ' ', '-'
| replace: 'ç', 'c'
| replace: 'ã', 'a'
| replace: 'á', 'a'
| replace: 'â', 'a'
| replace: 'é', 'e'
| replace: 'ê', 'e'
| replace: 'í', 'i'
| replace: 'ó', 'o'
| replace: 'ô', 'o'
| replace: 'õ', 'o'
| replace: 'ú', 'u' %}
<a href="../mmp_pages/{{ file_url }}.html" class="button is-link is-fullwidth">
{{ projeto.file }}
</a>
<!-- Lista de samples clicáveis -->
{% if projeto.tags.sample and projeto.tags.sample.size > 0 %}
<div style="margin-top: 1rem;">
<p><strong>Sample:</strong></p>
<ul style="list-style-type: disc; padding-left: 1.25rem;">
{% for sample in projeto.tags.sample %}
{% if sample != "" %}
<li><a href="#" class="sample-item" data-sample="{{ sample }}">{{ sample }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}
</div>