Skip to content

Commit 58e70df

Browse files
committed
fixed some defaults
1 parent 292a8b9 commit 58e70df

File tree

9 files changed

+25
-10
lines changed

9 files changed

+25
-10
lines changed

archetypes/papers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ date: 1900-01-01
88
authors:
99
- dimitrapanagou
1010
# give the main figure location, relative to /static/
11-
image: /images/default.png
11+
image: /images/default_paper.png
1212
# specify the conference or journal that it was published in
1313
venue:
1414
# link to publisher site (optional)

archetypes/people.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title: Full Name
2+
title: '{{ replace .File.ContentBaseName `` ` ` | title }}'
33
# choose a category from [Faculty, PostDoc, PhD, Masters, Visiting, Alumni]. Be careful about the capitalization.
44
category: PhD
55
# give the path relative to static/
6-
image: "/images/devanshagrawal.jpg"
6+
image: "/images/default_profile.webp"
77
# start year, used for sorting
8-
year: 2020
8+
year:
99
# link to personal website (optional)
10-
link: https://dev10110.github.io
10+
link:
1111
# email id (optional)
12-
mail: devansh@umich.edu
12+
mail:
1313
---

content/people/haejoonl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Haejoon Lee
33
# choose a category from [Faculty, PostDoc, PhD, Masters, Visiting, Alumni]. Be careful about the capitalization.
44
category: PhD
55
# give the path relative to static/
6-
# image: "/images/devanshagrawal.jpg"
6+
image:
77
# start year, used for sorting
88
year: 2023
99
# link to personal website (optional)

content/people/kalebbennaveed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
title: Kaleb Ben Naveed
33
category: "PhD"
44
image: /images/kalebbennaveed.jpeg
5+
year: 2022
56
---

layouts/partials/paper-card.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
<div class="row align-items-top mt-3">
22
<div class="col-md-3 mb-2">
33
<a href="{{ .RelPermalink }}">
4+
{{ if .Params.image }}
45
<img
56
class="img-thumbnail img-fluid"
67
src="{{ .Params.image}}"
7-
alt="project image"
8+
alt="{{ .Title }}"
89
/>
10+
{{ else }}
11+
<img
12+
class="img-thumbnail img-fluid"
13+
src="/images/default_paper.png"
14+
alt="{{ .Title }}"
15+
/>
16+
{{ end }}
917
</a>
1018
</div>
1119

layouts/partials/person-card.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<div class="card h-100" style="width: 18rem;">
22
<a href="{{ .RelPermalink }}">
3-
<img src="{{ .Params.image }}" class="card-img-top" alt="{{ .Title }}">
3+
{{ if .Params.image }}
4+
<img src="{{ .Params.image }}" class="card-img-top" alt="{{ .Title }}">
5+
{{ else }}
6+
<img src="/images/default_profile.webp" class="card-img-top" alt="{{ .Title }}">
7+
{{ end }}
48
</a>
59
<div class="card-body">
610
<a href=" {{ .RelPermalink }}">

layouts/people/people.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{{ define "main" }}
22

33

4-
{{ $pages := .Pages }}
4+
{{ $allpages := .Pages}}
5+
6+
{{ $pages := sort $allpages "Params.year" "asc" }}
57

68
<h1> People</h1>
79

static/images/default_paper.png

702 KB
Loading

static/images/default_profile.webp

125 KB
Binary file not shown.

0 commit comments

Comments
 (0)