upload de projetos funcional + busca por bpm
Deploy / Deploy (push) Failing after 52s Details

This commit is contained in:
JotaChina 2025-12-08 11:08:12 -03:00
parent 75b2a2dbe6
commit 40975c964e
1 changed files with 43 additions and 41 deletions

View File

@ -40,9 +40,11 @@ permalink: /beats/
{% assign project_url = "" %} {% assign project_url = "" %}
{% for projeto in site.data.all %} {% for projeto in site.data.all %}
{% if projeto.file == file_name_clean %} {% assign proj_slug = projeto.file | slugify %}
{% assign project_slug = projeto.file | slugify %} {% assign beat_slug = file_name_clean | slugify %}
{% assign project_url = "/projetos/" | append: project_slug | append: ".html" %}
{% if proj_slug == beat_slug %}
{% assign project_url = "/projetos/" | append: proj_slug | append: ".html" %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
@ -58,7 +60,7 @@ permalink: /beats/
<div class="audio-wrapper" style="width: 100%;"> <div class="audio-wrapper" style="width: 100%;">
<audio class="audio-player" controls style="width: 100%; height: 32px; border-radius: 20px;"> <audio class="audio-player" controls style="width: 100%; height: 32px; border-radius: 20px;">
<source src="/mmpSearch/src_mmpSearch/wav/{{ filename }}" type="audio/wav"> <source src="/mmpSearch/src_mmpSearch/wav/{{ filename | url_encode }}" type="audio/wav">
Seu navegador não suporta áudio. Seu navegador não suporta áudio.
</audio> </audio>
</div> </div>
@ -71,7 +73,7 @@ permalink: /beats/
{% else %} {% else %}
<div class="column is-12"> <div class="column is-12">
<div class="notification is-warning has-text-centered"> <div class="notification is-warning has-text-centered">
Nenhum beat encontrado no manifesto (beats.json). Tente fazer um upload novo para regenerar a lista. Nenhum beat encontrado (beats.json vazio ou inexistente).
</div> </div>
</div> </div>
{% endif %} {% endif %}