Skip to content

Commit

Permalink
new bibtex citation html template
Browse files Browse the repository at this point in the history
  • Loading branch information
y-mhiri committed Feb 20, 2024
1 parent 1e6429a commit 4211cf5
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions _layouts/bibtex.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
layout: compress
---


{% if page.type == "article" %}

@{{page.type}}{<br>
title={{page.title}},<br>
author={{page.authors}},<br>
journal={{page.journal}},<br>
volume={{page.volume}},<br>
pages={{page.pages}},<br>
year={{page.year}},<br>
publisher={{page.publisher}}<br>
}

{% endif %}


{% if page.type == "inproceedings" %}
@{{page.type}}{<br>
title={{page.title}},<br>
author={{page.authors}},<br>
booktitle={{page.conference}},<br>
year={{page.year}},<br>
publisher={{page.publisher}}<br>
}

{% endif %}

{% if page.type == "phdthesis" %}
@{{page.type}}{<br>
title={{page.title}},<br>
author={{page.authors}},<br>
school={{page.school}},<br>
year={{page.year}}<br>
}

{% endif %}

0 comments on commit 4211cf5

Please sign in to comment.