Added BibTeX hidden block (#293)
* Added BibTeX hidden block * Minor adjustments Co-authored-by: Maruan Al-Shedivat <alshedivat.maruan@gmail.com>
This commit is contained in:
parent
3051f8a628
commit
f3efec5d6d
@ -4,6 +4,7 @@
|
|||||||
@string{aps = {American Physical Society,}}
|
@string{aps = {American Physical Society,}}
|
||||||
|
|
||||||
@book{einstein1956investigations,
|
@book{einstein1956investigations,
|
||||||
|
bibtex_show={true},
|
||||||
title={Investigations on the Theory of the Brownian Movement},
|
title={Investigations on the Theory of the Brownian Movement},
|
||||||
author={Einstein, Albert},
|
author={Einstein, Albert},
|
||||||
year={1956},
|
year={1956},
|
||||||
@ -12,6 +13,7 @@
|
|||||||
|
|
||||||
@article{einstein1950meaning,
|
@article{einstein1950meaning,
|
||||||
abbr={AJP},
|
abbr={AJP},
|
||||||
|
bibtex_show={true},
|
||||||
title={The meaning of relativity},
|
title={The meaning of relativity},
|
||||||
author={Einstein, Albert and Taub, AH},
|
author={Einstein, Albert and Taub, AH},
|
||||||
journal={American Journal of Physics,},
|
journal={American Journal of Physics,},
|
||||||
|
@ -86,6 +86,9 @@
|
|||||||
{% if entry.arxiv %}
|
{% if entry.arxiv %}
|
||||||
<a href="http://arxiv.org/abs/{{ entry.arxiv }}" class="btn btn-sm z-depth-0" role="button" target="_blank">arXiv</a>
|
<a href="http://arxiv.org/abs/{{ entry.arxiv }}" class="btn btn-sm z-depth-0" role="button" target="_blank">arXiv</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if entry.bibtex_show %}
|
||||||
|
<a class="bibtex btn btn-sm z-depth-0" role="button">Bib</a>
|
||||||
|
{% endif %}
|
||||||
{% if entry.html %}
|
{% if entry.html %}
|
||||||
<a href="{{ entry.html }}" class="btn btn-sm z-depth-0" role="button" target="_blank">HTML</a>
|
<a href="{{ entry.html }}" class="btn btn-sm z-depth-0" role="button" target="_blank">HTML</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -134,5 +137,12 @@
|
|||||||
<p>{{ entry.abstract }}</p>
|
<p>{{ entry.abstract }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<!-- Hidden bibtex block -->
|
||||||
|
{% if entry.bibtex_show %}
|
||||||
|
<div class="bibtex hidden">
|
||||||
|
{% highlight bibtex %}{{ entry.bibtex }}{% endhighlight %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user