Skip to content

Commit 7e4dbb4

Browse files
committed
add shortcode for listing papers inside project(s)
1 parent 682b656 commit 7e4dbb4

File tree

2 files changed

+36
-17
lines changed

2 files changed

+36
-17
lines changed

content/projects/TimeSmart/index.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,5 @@ Implement a fully operational AI-powered management system to demonstrate the ga
5555

5656
## Publications:
5757

58-
### Journals
59-
60-
### Conferences
61-
62-
{{< rawhtml >}}
63-
<div class="title"><strong>Deep W-Networks: Solving Multi-Objective Optimisation Problems With Deep Reinforcement Learning</strong></div>
64-
<div class="authors"><u>Jernej Hribar</u>, Luke Hackett, Ivana Dusparic</div>
65-
<div class="publication">15th International Conference on Agents and Artificial Intelligence, 22-24 Feb. 2023, Lisbon, Portugal</div>
66-
<ul class="list-inline">
67-
<li class="list-inline-item">
68-
<a class="badge bg-doi text-black link-unstyled" href="https://doi.org/10.5220/0011610300003393">DOI:&nbsp;10.5220/0011610300003393</a>
69-
</li>
70-
</ul>
71-
{{< /rawhtml >}}
72-
73-
74-
## Deliverables:
58+
{{< publicationlist ids="224706051,225171971,222006275,215868675,215324419,207454467,203599875,202801155,199618307,199377155,192260099,172241411,166292995,159983619,158333187,145125123,127025155,126791683,126776835,97757187,98959875,97766915,97818627,97896963,97883139,97766659,97898499,2408.00540v2,2203.10472v2,1902.02850v1">}}
7559

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{{/* Usage: {{< publicationlist ids="pub-001,pub-002" >}} */}}
2+
{{/* IDs can be either COBISS, arXiv or DOI id. */}}
3+
4+
5+
{{ $ids := slice }}
6+
{{ $items := split (.Get "ids") "," }}
7+
8+
{{ range $items }}
9+
{{ $clean := trim . " " }}
10+
11+
{{ if ne $clean "" }}
12+
{{ $ids = $ids | append $clean }}
13+
{{ end }}
14+
{{ end }}
15+
16+
17+
{{ $bib := slice }}
18+
19+
{{ range $.Site.Data.cobiss }}
20+
{{ $match := or (in $ids .cobiss_id) (or (in $ids .arxiv_id) (in $ids .doi)) }}
21+
{{ if $match }}
22+
{{ $bib = $bib | append . }}
23+
{{ end }}
24+
{{ end }}
25+
26+
{{ $bib = uniq $bib }}
27+
{{ $bib = sort $bib ".year" "desc" }}
28+
29+
<section>
30+
<ul class="list-group list-group-flush">
31+
{{ range $bib }}
32+
{{ partial "publication/li.html" . }}
33+
{{ end }}
34+
</ul>
35+
</section>

0 commit comments

Comments
 (0)