Skip to content

Commit f7f2e6b

Browse files
authored
Merge pull request #5 from sensorlab/alumni_editing
change img size and affilations, improve alumni list, update info on alumni members.
2 parents 2dbb251 + bac0b8f commit f7f2e6b

File tree

10 files changed

+40
-21
lines changed

10 files changed

+40
-21
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# personal photo
3-
avatar: "aaanaqreh.jpg"
3+
avatar: "aanaqreh.jpg"
44

55
# position index is used for sorting/positioning on the website
66
position: 2

content/people/dsodin/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ role: "PhD student"
1616

1717
# Organizations/Affiliations
1818
organizations:
19-
- name: Jožef Stefan Institute
20-
url: https://ijs.si
2119
- name: Comsensus
2220
url: https://comsensus.eu
21+
- name: Jožef Stefan Institute
22+
url: https://ijs.si
2323

2424
# COBISS/SICRIS identifier
2525
cobiss: 50930

content/people/gcerar/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ role: "Research Associate"
1616

1717
# Organizations/Affiliations
1818
organizations:
19-
- name: Jožef Stefan Institute
20-
url: https://ijs.si
2119
- name: Comsensus
2220
url: https://comsensus.eu
21+
- name: Jožef Stefan Institute
22+
url: https://ijs.si
2323

2424
# COBISS/SICRIS identifier
2525
cobiss: 39131

content/people/hyetgin/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ role: "Postdoc"
1717
# Organizations/Affiliations
1818
organizations:
1919
- name: Middlesex University London, UK
20-
url:
20+
url: https://www.mdx.ac.uk/
2121

2222
# COBISS/SICRIS identifier
2323
cobiss: 53669

content/people/mvucnik/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ title: "Matevž Vučnik"
1515
role: "Research associate"
1616

1717
# Organizations/Affiliations
18-
organizations:
19-
- name: Jožef Stefan Institute
20-
url: https://ijs.si
18+
organizations: []
2119

2220
# COBISS/SICRIS identifier
2321
cobiss: 33453

content/people/tgale/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ prefix: ""
1212
title: "Timotej Gale"
1313

1414
# Role/position
15-
role: ""
15+
role: "BSc Student"
1616

1717
# Organizations/Affiliations
1818
organizations:
19-
- name: University of Ljubljana
20-
url:
19+
- name: Faculty of Computer Science, University of Ljubljana
20+
url: https://www.fri.uni-lj.si/en
2121

2222
# COBISS/SICRIS identifier
2323
cobiss:

content/people/tsolc/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ position: 0
99
prefix: ""
1010

1111
# Display name
12-
title: "Tomaz Solc"
12+
title: "Tomaž Šolc"
1313

1414
# Role/position
15-
role: ""
15+
role: "PhD Student"
1616

1717
# Organizations/Affiliations
1818
organizations:
1919
- name: Klevio, Slovenia
20-
url:
20+
url: https://klevio.com/
2121

2222
# COBISS/SICRIS identifier
23-
cobiss:
23+
cobiss: 34648
2424

2525
# The date when joined / departed from the lab. Empty if not used
2626
date_start:

layouts/people/alumni.html

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
1+
<li>
2+
<a href="{{ .Permalink }}" class="text-decoration-none">
3+
{{- with .Params.prefix -}}
4+
<small class="text-body-secondary">{{ . }}</small>&nbsp;
5+
{{- end -}}
6+
{{- .Params.title -}}
7+
{{- with index .Params.organizations 0 -}}
8+
<small class="text-body-secondary">, {{ .name | markdownify | title -}}</small>
9+
{{- end -}}
10+
</a>
11+
</li>
12+
13+
14+
{{/*
15+
116
{{- $resource := .Resources.GetMatch .Params.avatar -}}
2-
{{- $img := $resource.Fill "250x250 jpeg q90" -}}
17+
{{- $img := $resource.Fill "150x150 jpeg q90" -}}
318

419

5-
<li class="p-2 align-items-stretch" style="max-width:250px;">
20+
<li class="p-2 align-items-stretch" style="max-width:150px;">
621
<a href="{{ .Permalink }}" class="link-unstyled">
722
<div class="card" style="height:100%">
823
<img
@@ -19,8 +34,14 @@ <h5 class="card-title">
1934
{{- end -}}
2035
{{- .Params.title -}}
2136
</h5>
22-
<p class="card-text">{{ .Params.role | markdownify | title }}</p>
37+
{{- with index .Params.organizations 0 -}}
38+
<p class="card-text">{{ .name | markdownify | title }}</p>
39+
{{- else -}}
40+
<p class="card-text">No organization information available</p>
41+
{{- end -}}
2342
</div>
2443
</div>
2544
</a>
2645
</li>
46+
47+
*/}}

layouts/people/list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ <h1>Members</h1>
1616

1717
<section>
1818
<h1>Alumni</h1>
19-
<ul class="list-unstyled row d-flex align-items-stretch justify-content-center justify-content-sm-start">
20-
{{ range sort .Pages ".Params.position" "asc" }}
19+
<ul class="list-unstyled">
20+
{{ range sort .Pages ".Params.title" "asc" }}
2121
{{ if in .Params.user_groups "alumni" }}
2222
{{ .Render "alumni" }}
2323
{{ end }}

0 commit comments

Comments
 (0)