Skip to content

Commit 2b184bf

Browse files
fixed an issue with letterboxd link
1 parent 3c55ac2 commit 2b184bf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎themes/hugo-PaperMod/layouts/shortcodes/watch-card.html‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ <h1 class="watch-card__title">
2121
{{ end }}
2222

2323
<div class="watch-card__meta">
24+
{{ with $watch.type }}<span class="tag">{{ . }}</span>{{ end }}
2425
{{ with $watch.year }}<span class="tag">{{ . }}</span>{{ end }}
2526
{{ with $watch.language }}<span class="tag">{{ . }}</span>{{ end }}
2627
{{ with $watch.runtime }}<span class="tag">{{ . }} min</span>{{ end }}
28+
2729
</div>
2830
</div>
2931

@@ -205,7 +207,7 @@ <h1 class="watch-card__title">
205207
{{ end }}
206208
</div>
207209
</div>
208-
{{ with $watch.url }}
210+
{{ with $watch.letterboxd_url}}
209211
<a href="{{ . }}" class="letterboxd-link" target="_blank">
210212
<img src="/images/letterboxd.png" alt="Letterboxd">
211213
</a>

0 commit comments

Comments
 (0)