Skip to content

Commit

Permalink
detalles en layouts de listados
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Retamoza Romero committed Mar 29, 2020
1 parent d07fe4c commit 626fd6c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _layouts/barrio.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
---
<h1>Organizaciones de {{ page.nombre }} - {{page.departamento}}</h1>
<h1>Organizaciones en {{ page.nombre }} - {{page.departamento}}</h1>
<ul>
{% assign filtered_orgs = site.organizacions | where: 'departamento', page.departamento | where: 'barrio', page.nombre %}
{% for org in filtered_orgs %}
Expand Down
5 changes: 2 additions & 3 deletions _layouts/departamento.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
layout: default
---
<h1>{{ page.nombre }}</h1>
<h1>Barrios de {{ page.nombre }}</h1>

<h2>Barrios de {{ page.nombre }}</h2>
<ul>
{% assign filtered_barrios = site.barrios | where: 'departamento', page.nombre %}
{% for barrio in filtered_barrios %}
<li><a href="{{ barrio.url }}">{{ barrio.nombre }}</a></li>
<li><h2><a href="{{ barrio.url }}">{{ barrio.nombre }}</a></h2></li>
{% endfor %}
</ul>
2 changes: 1 addition & 1 deletion departamentos.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Departamentos
title: ¿Dónde colaborar?
layout: default
---
<h1>Departamentos</h1>
Expand Down

0 comments on commit 626fd6c

Please sign in to comment.