Skip to content

Commit a838dfa

Browse files
committed
add setup for two website links for projects on Research page
1 parent 2ead427 commit a838dfa

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

_data/research.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
- title: "Robot-assisted Feeding"
22
link: "https://emprise.cs.cornell.edu/bitetransfer/"
3+
link_text: "Bite Transfer"
4+
link_2: "https://flair-robot.github.io/"
5+
link_2_text: "Bite Acquisition"
36
ytid: "CJ66x7JfqG0"
47
description: "Eating is an activity of daily living (ADL) and losing the
58
ability to self-feed can be devastating. Robots have the potential to help

_pages/research.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ <h2 class="project-title {% unless project.link %}no-link-space{% endunless %}">
1616
</h2>
1717

1818
{% if project.link %}
19-
<a href="{{ project.link }}" class="project-website-link" target="_blank" rel="noopener noreferrer">Project Website</a>
19+
{% assign link_text = project.link_text | default: "Project Website" %}
20+
<a href="{{ project.link }}" class="project-website-link" target="_blank" rel="noopener noreferrer">{{ link_text }}</a>
21+
{% endif %}
22+
{% if project.link_2 %}
23+
{% assign link_2_text = project.link_2_text | default: "Project Website" %}
24+
| <a href="{{ project.link_2 }}" class="project-website-link" target="_blank" rel="noopener noreferrer">{{ link_2_text }}</a>
2025
{% endif %}
2126

2227
<div class="embed-responsive embed-responsive-16by9">

0 commit comments

Comments
 (0)