Skip to content

Commit

Permalink
Collect relative contents into one folder
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylee97 committed Sep 8, 2023
1 parent 03a399f commit 202821c
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 14 deletions.
4 changes: 2 additions & 2 deletions archetypes/members.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
draft = false
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
# ko = '이름'
# portrait = '/portraits/{{ .File.ContentBaseName }}.png'
# portrait = 'portrait.png'
role = 'Your role'

[[affiliation]]
Expand All @@ -19,7 +19,7 @@ name = 'Korea University'
url = 'https://korea.ac.kr'

[meterials]
# cv = '/cv/{{ .File.ContentBaseName }}.pdf'
# cv = 'cv.pdf'
+++

# {{ replace .File.ContentBaseName "-" " " | title }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
draft = false
title = 'Dowon Song'
# ko = '이름'
# portrait = '/portraits/dowon-song.png'
# portrait = 'portrait.png'
role = 'Your role'

[[affiliation]]
Expand All @@ -19,7 +19,7 @@ name = 'Korea University'
url = 'https://korea.ac.kr'

[meterials]
# cv = '/cv/dowon-song.pdf'
# cv = 'cv.pdf'
+++

# Dowon Song
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
draft = false
title = 'Hakjoo Oh'
ko = '오학주'
portrait = '/portraits/hakjoo-oh.png'
portrait = 'portrait.png'
role = 'Associate Professor'

[[affiliation]]
Expand All @@ -19,7 +19,7 @@ name = 'Korea University'
url = 'https://korea.ac.kr'

[meterials]
cv = '/cv/hakjoo-oh.pdf'
cv = 'cv.pdf'
+++

## Research Areas
Expand Down
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
draft = false
title = 'Minsu Kim'
ko = '김민수'
# portrait = '/portraits/minsu-kim.png'
role = 'PhD Student'
# portrait = 'portrait.png'
role = 'Your role'

[[affiliation]]
name = 'Software Analysis Laboratory'
Expand All @@ -19,7 +19,7 @@ name = 'Korea University'
url = 'https://korea.ac.kr'

[meterials]
# cv = '/cv/minsu-kim.pdf'
# cv = 'cv.pdf'
+++

## Educational Background
# Minsu Kim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
draft = false
title = 'Seongjoon Hong'
ko = '홍성준'
portrait = '/portraits/seongjoon-hong.jpg'
portrait = 'portrait.jpg'
role = 'PhD Student'

[[affiliation]]
Expand All @@ -19,7 +19,7 @@ name = 'Korea University'
url = 'https://korea.ac.kr'

[meterials]
# cv = '/cv/seongjoon-hong.pdf'
# cv = 'cv.pdf'
+++

# Seongjoon Hong
File renamed without changes
8 changes: 8 additions & 0 deletions content/photos/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
draft = false
title = 'Photos'
menu = 'main'
weight = 80
+++

# SIGPL 2023 Summer - Kangwon University
4 changes: 2 additions & 2 deletions layouts/members/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
{{ partial "hook/heading.html" (dict "level" 1 "text" ($scratch.Get "name") "anchor" .File.ContentBaseName ) }}

<div class="d-flex mt-2 mb-4">
{{ with .Params.portrait }}
{{ if isset .Params "portrait" }}
<div class="me-3">
{{ $image := resources.Get . }}
{{ $image := .Resources.Get .Params.portrait }}
{{ $image := $image.Resize "x150" }}
<img src="{{ $image.RelPermalink }}" alt="{{ $image.Name }}" class="img-fluid">
</div>
Expand Down

0 comments on commit 202821c

Please sign in to comment.