Skip to content

Commit c5c495a

Browse files
committed
add feat: project page param and its render
1 parent d8c7248 commit c5c495a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

archetypes/papers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ authors:
1111
image: /images/default_paper.png
1212
# specify the conference or journal that it was published in
1313
venue:
14+
# link to project page (optional)
15+
projectpage:
1416
# link to publisher site (optional)
1517
link:
1618
# link to arxiv (optional)

layouts/partials/paper-card.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
<div> <p>{{ .Params.venue }} </p></div>
3939

4040
<div class="blue-links">
41+
{{ if .Params.projectpage }}
42+
<a href="{{ .Params.projectpage }}" target="_blank">project page</a> /
43+
{{ end }}
4144
{{ if .Params.pdf }}
4245
<a href="{{ .Params.pdf }}" target="_blank">pdf</a> /
4346
{{ end }}

layouts/partials/small-paper-list-item.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
{{ if .Params.abstract }}
3030
<a data-bs-toggle="collapse" href="#collapse-abstract-{{ .Key }}" role="button">abstract</a> /
3131
{{ end }}
32+
{{ if .Params.projectpage }}
33+
<a href="{{ .Params.projectpage }}" target="_blank">project page</a> /
34+
{{ end }}
3235
{{ if .Params.pdf }}
3336
<a href="{{ .Params.pdf }}" target="_blank">pdf</a> /
3437
{{ end }}

0 commit comments

Comments
 (0)