commit 1ef95aef587f632b46dd55a2b9d06f40e601a983
parent 2efe951d25ebcd56b16b7db7aff14b211cc841a3
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date: Fri, 19 Jun 2020 04:22:05 +0200
Create bib and ris download for every type of pub
Diffstat:
14 files changed, 110 insertions(+), 4 deletions(-)
diff --git a/_layouts/page_with_menu.html b/_layouts/page_with_menu.html
@@ -2,11 +2,9 @@
layout: default
---
+<h1 class="post-title">{{ page.title | escape }}</h1>
{% include {{page.menu}} %}
-<div class="page">
-<h1>{{ page.title }}</h1>
-
{{ content }}
</div>
diff --git a/publications/article.bib b/publications/article.bib
@@ -0,0 +1,12 @@
+---
+layout: null
+---
+
+{% for pub in site.publications %}
+{% if pub.toappear %}
+{% continue %}
+{% endif %}
+{% if pub.type == "article" %}
+{% include pub/bibtex.html pub=pub %}
+{% endif %}
+{% endfor %}
diff --git a/publications/article.html b/publications/article.html
@@ -6,6 +6,9 @@ keywords:
menu: "pub/menu.html"
---
+<p><a href="article.bib">Download all as BibTeX</a> | <a href="article.ris">Download all as RIS</a></p>
+<hr/>
+
{% assign filtered_publications = site.publications | where:"type", "article" %}
{% include pub/filtered-collection.html publications=filtered_publications showYear=true %}
diff --git a/publications/article.ris b/publications/article.ris
@@ -0,0 +1,12 @@
+---
+layout: null
+---
+
+{% for pub in site.publications %}
+{% if pub.toappear %}
+{% continue %}
+{% endif %}
+{% if pub.type == "article" %}
+{% include pub/ris.html pub=pub %}
+{% endif %}
+{% endfor %}
diff --git a/publications/incollection.bib b/publications/incollection.bib
@@ -0,0 +1,12 @@
+---
+layout: null
+---
+
+{% for pub in site.publications %}
+{% if pub.toappear %}
+{% continue %}
+{% endif %}
+{% if pub.type == "incollection" %}
+{% include pub/bibtex.html pub=pub %}
+{% endif %}
+{% endfor %}
diff --git a/publications/incollection.html b/publications/incollection.html
@@ -6,6 +6,9 @@ keywords:
menu: "pub/menu.html"
---
+<p><a href="incollection.bib">Download all as BibTeX</a> | <a href="incollection.ris">Download all as RIS</a></p>
+<hr/>
+
{% assign filtered_publications = site.publications | where:"type", "incollection" %}
{% include pub/filtered-collection.html publications=filtered_publications showYear=true %}
diff --git a/publications/incollection.ris b/publications/incollection.ris
@@ -0,0 +1,12 @@
+---
+layout: null
+---
+
+{% for pub in site.publications %}
+{% if pub.toappear %}
+{% continue %}
+{% endif %}
+{% if pub.type == "incollection" %}
+{% include pub/ris.html pub=pub %}
+{% endif %}
+{% endfor %}
diff --git a/publications/index.html b/publications/index.html
@@ -6,8 +6,8 @@ keywords:
menu: "pub/menu.html"
---
-
<p><a href="all.bib">Download all as BibTeX</a> | <a href="all.ris">Download all as RIS</a></p>
+<hr/>
{% assign pubs = site.publications | where: "toappear", true %}
diff --git a/publications/inproceedings.bib b/publications/inproceedings.bib
@@ -0,0 +1,12 @@
+---
+layout: null
+---
+
+{% for pub in site.publications %}
+{% if pub.toappear %}
+{% continue %}
+{% endif %}
+{% if pub.type == "inproceedings" %}
+{% include pub/bibtex.html pub=pub %}
+{% endif %}
+{% endfor %}
diff --git a/publications/inproceedings.html b/publications/inproceedings.html
@@ -6,6 +6,9 @@ keywords:
menu: "pub/menu.html"
---
+<p><a href="inproceedings.bib">Download all as BibTeX</a> | <a href="inproceedings.ris">Download all as RIS</a></p>
+<hr/>
+
{% assign filtered_publications = site.publications | where:"type", "inproceedings" %}
{% include pub/filtered-collection.html publications=filtered_publications showYear=true %}
diff --git a/publications/inproceedings.ris b/publications/inproceedings.ris
@@ -0,0 +1,12 @@
+---
+layout: null
+---
+
+{% for pub in site.publications %}
+{% if pub.toappear %}
+{% continue %}
+{% endif %}
+{% if pub.type == "inproceedings" %}
+{% include pub/ris.html pub=pub %}
+{% endif %}
+{% endfor %}
diff --git a/publications/thesis.bib b/publications/thesis.bib
@@ -0,0 +1,12 @@
+---
+layout: null
+---
+
+{% for pub in site.publications %}
+{% if pub.toappear %}
+{% continue %}
+{% endif %}
+{% if pub.type == "bachelorsthesis" or pub.type == "mastersthesis" or pub.type == "phdthesis" %}
+{% include pub/bibtex.html pub=pub %}
+{% endif %}
+{% endfor %}
diff --git a/publications/thesis.html b/publications/thesis.html
@@ -6,6 +6,9 @@ keywords:
menu: "pub/menu.html"
---
+<p><a href="thesis.bib">Download all as BibTeX</a> | <a href="thesis.ris">Download all as RIS</a></p>
+<hr/>
+
{% assign filtered_publications_phd = site.publications | where:"type", "phdthesis" %}
{% assign filtered_publications_master = site.publications | where:"type", "mastersthesis" %}
{% assign filtered_publications_bachelor = site.publications | where:"type", "bachelorsthesis" %}
diff --git a/publications/thesis.ris b/publications/thesis.ris
@@ -0,0 +1,12 @@
+---
+layout: null
+---
+
+{% for pub in site.publications %}
+{% if pub.toappear %}
+{% continue %}
+{% endif %}
+{% if pub.type == "bachelorsthesis" or pub.type == "mastersthesis" or pub.type == "phdthesis" %}
+{% include pub/ris.html pub=pub %}
+{% endif %}
+{% endfor %}