Skip to content

Commit 8444fc0

Browse files
fix: change research path
1 parent 8caccb2 commit 8444fc0

File tree

10 files changed

+7
-7
lines changed

10 files changed

+7
-7
lines changed

_config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ defaults:
4040
type: "posts"
4141
values:
4242
layout: post
43-
# markdown files in /_researches
43+
# markdown files in /_research
4444
- scope:
45-
type: "researches"
45+
type: "research"
4646
values:
4747
layout: research
4848
highlight: false
@@ -55,7 +55,7 @@ collections:
5555
posts:
5656
output: true
5757
# generate page for each research
58-
researches:
58+
research:
5959
output: true
6060

6161
# jekyll plugins

_includes/research-card.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ " " }}
22
<div class="card" data-style="{{ include.style }}">
33
<a
4-
href="/researches{{ include.slug | relative_url | uri_escape }}"
4+
href="/research{{ include.slug | relative_url | uri_escape }}"
55
aria-label="{{ include.title | default: "card link" | regex_strip }}"
66
class="card-image"
77
>
@@ -16,7 +16,7 @@
1616
<div class="card-text">
1717
{% if include.title %}
1818
<a
19-
href="/researches{{ include.slug | relative_url | uri_escape }}"
19+
href="/research{{ include.slug | relative_url | uri_escape }}"
2020
{% if include.tooltip %}
2121
data-tooltip="{{ include.tooltip | xml_escape }}"
2222
{% endif %}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

researches/index.md renamed to research/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Our lab focuses on the application of machine learning and deep learning to comp
1515

1616
## Highlighted Research
1717

18-
{% include list.html data="researches" component="research-card" filter="highlight == true" %}
18+
{% include list.html data="research" component="research-card" filter="highlight == true" %}
1919

2020
{% include section.html %}
2121

22-
{% include list.html data="researches" component="research-card" filter="highlight == false" %}
22+
{% include list.html data="research" component="research-card" filter="highlight == false" %}

0 commit comments

Comments
 (0)