Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions home/templates/home/home_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,29 @@ <h2 class="subscribe-title" style="color: var(--footer-text);">{{page.footer_tit
<div class="footer-logo">
<img src="{{ tmp_logo.url }}" alt="{{ tmp_logo.alt }}">
</div>
<div class ="mb-5 row justify-content-center">
<div class="past-events text-start mb-3">
<div class="subscribe-inner" style="padding: 16px;">
<h2 class="subscribe-title" style="color: var(--footer-text); margin-bottom:10px;">Eventos pasados</h2>
</div>
{% for sibling in page.get_siblings %}
{% if sibling.title and sibling.live and sibling.get_parent.content_type == page.content_type %}
<a class="nav-link" href="{{ sibling.get_url }}"
target="_blank" style="color: {{ page.navbar_links_color }} !important;">
{{ sibling.title }}
</a>
{% endif %}
{% endfor %}
{% for descendant in page.get_descendants %}
{% if descendant.live and descendant.content_type == page.content_type %}
<a class="nav-link" href="{{ descendant.get_url }}"
target="_blank" style="color: {{ page.navbar_links_color }} !important;">
{{ descendant.title }}
</a>
{% endif %}
{% endfor %}
</div>
</div>
<div class="social-icons-footer">
<ul>
{% for social in page.footer_networks %}
Expand Down
8 changes: 7 additions & 1 deletion website/static/2023/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2544,4 +2544,10 @@ footer {
margin-left: auto;
padding: revert;
list-style: decimal !important;
}
}

.past-events {
display: flex;
flex-direction: column;
align-items: flex-start; /* Alineación a la izquierda */
}