diff --git a/_data/publications.yml b/_data/publications.yml index f343311..cdbf5b1 100644 --- a/_data/publications.yml +++ b/_data/publications.yml @@ -1,7 +1,7 @@ - year: 2025 papers: - title: 'PERC: Plan-As-Query Example Retrieval for Underrepresented Code Generation' - authors: 'Jaeseok Yoo, Hojae Han, Youngwon Lee, Jaejin Kim, Seungwon Hwang' + authors: 'Jaeseok Yoo, Hojae Han, Youngwon Lee, Jaejin Kim, Seung-won Hwang' venue: COLING 2025 - year: 2024 papers: diff --git a/_layouts/person.html b/_layouts/person.html index 247ef3d..4831dbb 100644 --- a/_layouts/person.html +++ b/_layouts/person.html @@ -54,7 +54,7 @@

Contact

{% endif %} -
+
{{ content }}
@@ -82,7 +82,33 @@

Contact

{% assign authors = authors | append: author | append: ", " %} {% endif %} {% endfor %} - {% assign authors = authors | append: "@" | replace: ", @", "." %} + + {% assign authorslist = authors | split: ", " %} + {% assign newAuthors = "" %} + {% for author in authorslist %} + {% assign compareAuthor = author | downcase %} + {% assign authorFound = false %} + {% for ppperson in site.people %} + {% assign personName = ppperson.name | split: ' ' | first | downcase %} + {% assign personLastName = ppperson.name | split: ' ' | last | downcase %} + {% if compareAuthor contains personName and compareAuthor contains personLastName %} + {% assign authorFound = true %} + {% assign memberurl = site.url | append: site.baseurl | append: ppperson.url %} + {% if ppperson.position == 'Professor' %} + {% assign memberurl = 'https://seungwonh.github.io/' %} + {% endif %} + {% break %} + {% endif %} + {% endfor %} + {% if authorFound %} + {% assign newAuthors = newAuthors | append: '' | append: author | append: ', ' %} + {% else %} + {% assign newAuthors = newAuthors | append: author | append: ', ' %} + {% endif %} + {% endfor %} + + + {% assign authors = newAuthors | append: "@" | replace: ", @", "." %} {% assign downcasedauthors = publication.authors | downcase %} {% if downcasedauthors contains pubname %} {% if publication.url %} diff --git a/assets/css/main.css b/assets/css/main.css index d5a2a89..4728ff2 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -393,6 +393,15 @@ footer { margin-bottom: 5px; } +.publication-authors a { + color: var(--text-color); + text-decoration: none; +} + +.publication-authors a:hover { + text-decoration: underline; +} + .publication-venue { font-size: 15px; font-style: italic; @@ -506,6 +515,15 @@ footer { list-style-type: paper; } +.person-publication-author-link { + color: var(--text-color); + text-decoration: none; +} + +.person-publication-author-link:hover { + text-decoration: underline; +} + .alumni { font-size: 16px; font-weight: 600; diff --git a/publications.html b/publications.html index fb34483..6a2fccc 100644 --- a/publications.html +++ b/publications.html @@ -18,7 +18,33 @@

Publications

{% else %}
{{ publication.title }}
{% endif %} -
{{ publication.authors }}
+
+ {% assign authorslist = publication.authors | split: ", " %} + {% assign authors = "" %} + {% for author in authorslist %} + {% assign compareAuthor = author | downcase %} + {% assign authorFound = false %} + {% for person in site.people %} + {% assign personName = person.name | split: ' ' | first | downcase %} + {% assign personLastName = person.name | split: ' ' | last | downcase %} + {% if compareAuthor contains personName and compareAuthor contains personLastName %} + {% assign authorFound = true %} + {% assign memberurl = site.url | append: site.baseurl | append: person.url %} + {% if person.position == 'Professor' %} + {% assign memberurl = 'https://seungwonh.github.io/' %} + {% endif %} + {% break %} + {% endif %} + {% endfor %} + {% if authorFound %} + {% assign authors = authors | append: '' | append: author | append: ', ' %} + {% else %} + {% assign authors = authors | append: author | append: ', ' %} + {% endif %} + {% endfor %} + {% assign authors = authors | append: "@" | replace: ", @", "." %} + {{ authors }} +
{{ publication.venue }}
{% endfor %}