Skip to content

Commit 2a53e62

Browse files
committed
add "1.02" and "1.03" categorized publications to the list
1 parent 140f677 commit 2a53e62

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

layouts/partials/publication/li.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
{{- end -}}
1414

15-
<li class="list-group-item publication">
15+
<li class="list-group-item publication" data-cobiss-code="{{ .code }}">
1616
<div class="title"><strong>{{ .title | title }}</strong></div>
1717
<div class="authors">{{- delimit $authors ", " | safeHTML -}}</div>
1818
<div class="publication">

layouts/people/single.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h2>
103103
(slice "Books" (slice "2.01"))
104104
(slice "Books Chapters" (slice "1.16"))
105105
(slice "Patents" (slice "2.24"))
106-
(slice "Publications" (slice "1.01" "1.08" "preprint"))
106+
(slice "Publications" (slice "1.01" "1.02" "1.03" "1.08" "preprint"))
107107
}}
108108

109109
{{ range $q := $subsets }}
@@ -117,7 +117,7 @@ <h2>
117117
<h3>{{ $t | title }}:</h3>
118118
<ul class="list-group list-group-flush">
119119
{{ range $subset }}
120-
<li class="list-group-item publication">
120+
<li class="list-group-item publication" data-cobiss-code="{{ .code }}">
121121
<div class="title"><strong>{{ .title | title }}</strong></div>
122122

123123
<div class="authors">

layouts/publications/list.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ <h1>{{ .Title | title }}</h1>
2929
<h3>{{ $year }}</h3>
3030
<ul class="list-group list-group-flush">
3131

32-
{{ with where $bib ".code" "1.01" -}}
32+
{{ $codes := slice "1.01" "1.02" "1.03" }}
33+
{{ with where $bib ".code" "in" $codes -}}
3334
<li class="list-group-item">
3435
<h4>Journals:</h4>
3536
<ul class="list-group list-group-flush">

0 commit comments

Comments
 (0)