upload de projetos funcional + busca por bpm
Deploy / Deploy (push) Failing after 52s
Details
Deploy / Deploy (push) Failing after 52s
Details
This commit is contained in:
parent
75b2a2dbe6
commit
40975c964e
|
|
@ -40,9 +40,11 @@ permalink: /beats/
|
|||
{% assign project_url = "" %}
|
||||
|
||||
{% for projeto in site.data.all %}
|
||||
{% if projeto.file == file_name_clean %}
|
||||
{% assign project_slug = projeto.file | slugify %}
|
||||
{% assign project_url = "/projetos/" | append: project_slug | append: ".html" %}
|
||||
{% assign proj_slug = projeto.file | slugify %}
|
||||
{% assign beat_slug = file_name_clean | slugify %}
|
||||
|
||||
{% if proj_slug == beat_slug %}
|
||||
{% assign project_url = "/projetos/" | append: proj_slug | append: ".html" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
|
@ -58,7 +60,7 @@ permalink: /beats/
|
|||
|
||||
<div class="audio-wrapper" style="width: 100%;">
|
||||
<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.
|
||||
</audio>
|
||||
</div>
|
||||
|
|
@ -71,7 +73,7 @@ permalink: /beats/
|
|||
{% else %}
|
||||
<div class="column is-12">
|
||||
<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>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue