From f3efec5d6dfb082961233d195756a91d6f784173 Mon Sep 17 00:00:00 2001 From: Afonso Raposo Date: Sun, 30 May 2021 21:28:31 +0100 Subject: [PATCH] Added BibTeX hidden block (#293) * Added BibTeX hidden block * Minor adjustments Co-authored-by: Maruan Al-Shedivat --- _bibliography/papers.bib | 2 ++ _layouts/bib.html | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/_bibliography/papers.bib b/_bibliography/papers.bib index 78f8181..7ed262b 100644 --- a/_bibliography/papers.bib +++ b/_bibliography/papers.bib @@ -4,6 +4,7 @@ @string{aps = {American Physical Society,}} @book{einstein1956investigations, + bibtex_show={true}, title={Investigations on the Theory of the Brownian Movement}, author={Einstein, Albert}, year={1956}, @@ -12,6 +13,7 @@ @article{einstein1950meaning, abbr={AJP}, + bibtex_show={true}, title={The meaning of relativity}, author={Einstein, Albert and Taub, AH}, journal={American Journal of Physics,}, diff --git a/_layouts/bib.html b/_layouts/bib.html index b31e8a9..2d00989 100644 --- a/_layouts/bib.html +++ b/_layouts/bib.html @@ -86,6 +86,9 @@ {% if entry.arxiv %} arXiv {% endif %} + {% if entry.bibtex_show %} + Bib + {% endif %} {% if entry.html %} HTML {% endif %} @@ -134,5 +137,12 @@

{{ entry.abstract }}

{% endif %} + + + {% if entry.bibtex_show %} + + {% endif %}