pages/_layouts/page.html
George e3997d0f6c
Added citation examples, simplified citation code (#2056)
Since the citation file and other stuff is already defined in
`_config.yml`, removed them when calling `{% bibliography %}`. Also
realized that `jekyll-scholar` helps in displaying only the papers cited
in page, changed to use that.

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-08 14:35:42 -03:00

27 lines
517 B
HTML

---
layout: default
---
<!-- page.html -->
<div class="post">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-description">{{ page.description }}</p>
</header>
<article>
{{ content }}
</article>
{%- if page.related_publications -%}
<h2>References</h2>
<div class="publications">
{% bibliography --cited_in_order %}
</div>
{%- endif %}
{%- if site.giscus and page.giscus_comments -%}
{% include giscus.html %}
{%- endif -%}
</div>