-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incrementa elementos da página principal, conserta tags
- Loading branch information
Showing
36 changed files
with
179 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{%- extends "layouts/base.njk" -%} | ||
{%- block pagecontent -%} | ||
<div class="container{% if sidebar or author_profile %} has-sidebar{% endif %}"> | ||
<div class="row wide"> | ||
{{ content | safe }} | ||
<h2>Notícias</h2> | ||
<div class="col col-md-6 col-lg-9"> | ||
{%- block featured -%} | ||
{%- set destaque = collections.destaque -%} | ||
{%- for post in destaque -%} | ||
<div class="col col-xl-6"> | ||
<div class="row g-0 border rounded overflow-hidden flex-xl-row mb-3 shadow-sm h-md-250 position-relative"> | ||
<div class="col p-3 d-flex flex-column position-static"> | ||
<small class="d-inline-block text-body-secondary card-header capitalize-first"> | ||
{%- if post.data.tags[0] -%} | ||
{{ post.data.tags[0] }} | ||
{%- elseif post.data.tags -%} | ||
{{ post.data.tags }} | ||
{%- endif -%} | ||
</small> | ||
<h3 class="mb-0 card-title">{{ post.data.title }}</h3> | ||
<small class="mb-2 text-body-secondary"> | ||
{{ post.data.date | dateFilter }} | ||
</small> | ||
<p class="card-text mb-auto">{{ post.data.description }}</p> | ||
<a class="icon-link gap-1 icon-link-hover stretched-link link-secondary text-decoration-none" href="{{ post.url }}"> | ||
{{ ui_text[lang].more_label }} › | ||
</a> | ||
</div><!--/.col .position-static--> | ||
<div class="col-auto d-none d-lg-block"> | ||
<img src="{{ post.data.teaser }}" /> | ||
</div><!--/.col-auto--> | ||
</div><!--/.row .border--> | ||
</div><!--/.col-xl-6--> | ||
{%- endfor -%} | ||
{%- endblock -%} | ||
</div> | ||
<div class="col col-md-6 col-lg-3"> | ||
{% block archive %} | ||
<ul class="list-unstyled toc"> | ||
{% for post in collections.post | reverse %}{% if (loop.index <= 3) %} | ||
<li> | ||
<a class="d-flex flex-column flex-lg-row gap-3 my-3 align-items-start align-items-lg-center link-body-emphasis text-decoration-none border-bottom" href="{{ post.url }}"> | ||
<img class="object-fit-cover" src="{{ post.data.teaser }}" /> | ||
<div class="col-lg-8"> | ||
{{ post.data.title }} | ||
<small class="d-block body-tertiary my-2">{{ post.data.date | dateFilter }}</small> | ||
</div> | ||
</a> | ||
</li> | ||
{% endif %}{% endfor %} | ||
</ul> | ||
{% endblock %} | ||
</div> | ||
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 g-3 my-5"> | ||
<h2>Produção bibliográfica e técnica</h2> | ||
{% block publications %} | ||
{% set produtos = collections.produtos %} | ||
{% for issuedYear, items in produtos | groupby("issuedYear") | dictsort | reverse %} | ||
<h3 class="w-100">{{ issuedYear }}</h3> | ||
{% for a in items %} | ||
{% include "partials/cards_produto.njk" %} | ||
{% endfor %} | ||
{% endfor %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
{%- endblock -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,28 @@ | ||
{% for a in album %} | ||
<div class="col"> | ||
<div class="card mb-3 h-100"> | ||
<div class="row g-0"> | ||
<div class="col-md-4"> | ||
<img class="img-fluid rounded-start" src="{{ a.teaser }}" /> | ||
</div><!--/div containing img--> | ||
<div class="col-md-8"> | ||
<div class="card-body fs-6"> | ||
<h3 class="card-title fs-5"> | ||
<a class="stretched-link text-decoration-none link-body-emphasis" href="{{ a.url }}" >{{ a.title }}</a> | ||
</h3> | ||
<p class="card-text">{{ a.description | safe }}</p> | ||
</div><!--/.card-body--> | ||
<div class="card-footer"> | ||
<small class="text-body-secondary"> | ||
Publicado em: {{ a.date | dateFilter }} | ||
</small> | ||
</div><!--/.card-footer--> | ||
</div><!--/.col-md-8--> | ||
</div><!--/.row g-0--> | ||
<div class="card shadow-sm mb-3 h-100"> | ||
<img class="card-img-top" alt="Imagem do(a) {{ post.data.title }}" src="{{ post.data.teaser }}" /> | ||
<div class="card-header d-flex text-end text-body-secondary fs-5"> | ||
<a class="ps-3 link-secondary ms-auto" href="{{ post.url }}" alt="Notas de aula" title="Notas de aula" aria-label="Notas de aula"> | ||
<svg class="bi" width="24" height="24" fill="currentColor"> | ||
<use xlink:href="/assets/bootstrap-icons.svg#book"/> | ||
</svg> | ||
</a> | ||
<a class="ps-3 link-secondary" href="#" alt="Slides" title="Slides" aria-label="Slides"> | ||
<svg class="bi" width="24" height="24" fill="currentColor"> | ||
<use xlink:href="/assets/bootstrap-icons.svg#easel"/> | ||
</svg> | ||
</a> | ||
</div><!--/.card-header--> | ||
<div class="card-body"> | ||
<h3 class="card-title"> | ||
<a class="stretched-link" href="{{ a.url }}" class="text-decoration-none link-body-emphasis">{{ post.data.title }}</a> | ||
</h3> | ||
<p class="card-text">{{ post.data.description | safe }}</p> | ||
</div><!--/.card-body--> | ||
<div class="card-footer"> | ||
<small class="text-body-secondary"> | ||
{{ post.data.date | dateFilter }} | ||
</small> | ||
</div><!--/.card-footer--> | ||
</div><!--/.card--> | ||
</div><!--/.col--> | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.