Skip to content

Commit 8252a1f

Browse files
committed
add feat: automaticically show related papers that mentioned in news
1 parent 70efe7a commit 8252a1f

8 files changed

+96
-8
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
layout: code
3+
title: "Visibility-Aware RRT*"
4+
date: 2025-03-17
5+
code: https://github.com/tkkim-robot/visibility-rrt
6+
---

content/news/2024-perceivability-best-paper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ title: "IEEE TCAC Best Student Paper Award"
44
date: 2024-07-14
55
---
66

7-
Our paper ["Sensor-based Planning and Control for Robotic Systems: Introducing Clarity and Perceivability"](/papers/2023-perceivability) has won the IEEE Technical Committee on Aerospace Controls (TCAC) best paper award.
7+
Our paper ["Sensor-based Planning and Control for Robotic Systems: Introducing Clarity and Perceivability"](/papers/2023-perceivability.md) has won the IEEE Technical Committee on Aerospace Controls (TCAC) best paper award.

content/news/2025-icra.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: news
3+
title: "Two papers accepted at ICRA 2025!"
4+
date: 2025-01-27
5+
---
6+
7+
Our paper ["Learning to Refine Input Constrained Control Barrier Functions via Uncertainty-Aware Online Parameter Adaptation"](/papers/2025-online-adaptive-iccbf.md) and ["Maintaining Strong r-Robustness in Reconfigurable Multi-Robot Networks using Control Barrier Functions"](/papers/2025-strong_r_icra.md) have been accepted to IEEE ICRA 2025!

content/papers/2024/2024-parwana-algorithms_for_finding_compatible_constraints_in_receding_horizon_control_of_dynamical_systems.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ layout: papers
4141
link: https://doi.org/10.23919/ACC60939.2024.10644243
4242
title: Algorithms for Finding Compatible Constraints in Receding-Horizon Control of
4343
Dynamical Systems.
44-
venue: ACC
44+
venue: ACC 2024
4545
---

content/papers/2025/2025/2025-online-adaptive-iccbf.md renamed to content/papers/2025/2025-online-adaptive-iccbf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
layout: papers
33
title: "Learning to Refine Input Constrained Control Barrier Functions via Uncertainty-Aware Online Parameter Adaptation"
4-
date: 2024-09-22
4+
date: 2025-05-19
55
image: /images/2025-online-adaptive-iccbf.png
6-
venue: "Available on arXiv"
6+
venue: "IEEE ICRA 2025"
77
authors:
88
- taekyungkim
99
- Robin Inho Kee

content/papers/2025/2025/2025-visibility-rrt.md renamed to content/papers/2025/2025-visibility-rrt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
layout: papers
33
title: "Visibility-Aware RRT* for Safety-Critical Navigation of Perception-Limited Robots in Unknown Environments"
4-
date: 2024-06-11
4+
date: 2025-03-17
55
image: /images/2025-visibility-rrt.png
6-
venue: "Available on arXiv"
6+
venue: "IEEE Robotics and Automation Letter 2025"
77
authors:
88
- taekyungkim
99
- dimitrapanagou

layouts/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>{{ .Site.Title }}</h1>
1818
<div class="py-3">
1919
<a href="/news"><h3>News</h3></a>
2020
<ul>
21-
{{ range first 5 (where .Site.RegularPages "Type" "news") }}
21+
{{ range first 10 (where .Site.RegularPages "Type" "news") }}
2222
<li> {{ .Date | time.Format ":date_medium" }}: <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
2323
{{end}}
2424
</ul>
@@ -31,7 +31,7 @@ <h1>{{ .Site.Title }}</h1>
3131

3232
<div class="py-3">
3333
<a href="/papers"><h3>Recent Publications</h3> </a>
34-
{{ range first 3 (where .Site.RegularPages "Type" "papers") }}
34+
{{ range first 7 (where .Site.RegularPages "Type" "papers") }}
3535
{{ partial "paper-card" . }}
3636
{{end}}
3737
<a href="/papers">

layouts/news/single.html

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{{ define "main" }}
2+
3+
<h1>{{ .Title }}</h1>
4+
5+
{{/* <p class="d-none"> Rendered from /layouts/news/single.html </p> */}}
6+
7+
{{ .Content }}
8+
9+
<div class="my-3">
10+
<h2>Related Papers</h2>
11+
12+
{{ $papers := where .Site.RegularPages "Section" "eq" "papers" }}
13+
{{ $relatedPapers := slice }}
14+
15+
{{/* Extract paper references from raw content */}}
16+
{{ $rawContent := .RawContent }}
17+
{{ $paperLinks := findRE `\[.*?\]\(/papers/[^)]+\.md\)` $rawContent }}
18+
19+
{{/* Debug: Show found links */}}
20+
{{/* <p>Debug - Found {{ len $paperLinks }} links in content:</p>
21+
<ul>
22+
{{ range $link := $paperLinks }}
23+
<li>Raw link: {{ $link }}</li>
24+
{{ $linkPath := findRE `/papers/[^)]+\.md` $link }}
25+
{{ if $linkPath }}
26+
{{ $linkPath = index $linkPath 0 }}
27+
<li>Extracted path: {{ $linkPath }}</li>
28+
{{ $linkPath = strings.TrimPrefix "/papers/" $linkPath }}
29+
{{ $linkPath = strings.TrimSuffix ".md" $linkPath }}
30+
<li>Normalized link path: {{ $linkPath }}</li>
31+
{{ end }}
32+
{{ end }}
33+
</ul>
34+
35+
<p>Debug - Papers and matching:</p>
36+
<ul> */}}
37+
{{ range $paper := $papers }}
38+
{{ $paperPath := $paper.File.Path }}
39+
{{ $paperPathNormalized := strings.TrimPrefix "papers/" $paperPath }}
40+
{{ $paperPathNormalized = strings.TrimSuffix ".md" $paperPathNormalized }}
41+
42+
{{/* Remove year directory prefix (e.g., "2025/") */}}
43+
{{ $paperPathNormalized = replaceRE "^[0-9]{4}/" "" $paperPathNormalized }}
44+
45+
{{/* <li>Paper: {{ $paper.Title }} - Original path: {{ $paperPath }} - Normalized: {{ $paperPathNormalized }}</li> */}}
46+
47+
{{ range $link := $paperLinks }}
48+
{{ $linkPath := findRE `/papers/[^)]+\.md` $link }}
49+
{{ if $linkPath }}
50+
{{ $linkPath = index $linkPath 0 }}
51+
{{ $linkPath = strings.TrimPrefix "/papers/" $linkPath }}
52+
{{ $linkPath = strings.TrimSuffix ".md" $linkPath }}
53+
54+
{{/* <li> Comparing: "{{ $linkPath }}" == "{{ $paperPathNormalized }}" = {{ eq $linkPath $paperPathNormalized }}</li> */}}
55+
56+
{{ if eq $linkPath $paperPathNormalized }}
57+
{{ $relatedPapers = $relatedPapers | append $paper }}
58+
{{/* <li> ✓ MATCH FOUND!</li> */}}
59+
{{ end }}
60+
{{ end }}
61+
{{ end }}
62+
{{ end }}
63+
{{/* </ul> */}}
64+
65+
{{ if $relatedPapers }}
66+
{{ range $relatedPapers }}
67+
{{ partial "paper-card" . }}
68+
{{ end }}
69+
{{ else }}
70+
<p>No related papers found.</p>
71+
{{ end }}
72+
73+
</div>
74+
75+
{{ end }}

0 commit comments

Comments
 (0)