Skip to content

Commit b6848ae

Browse files
committed
Use "route" helper
1 parent b5748f5 commit b6848ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/handlebars/journeys.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{{#each journeys}}
2121
<div class="card">
2222
<div class="{{range-rel is.from is.until}} context">{{range is.from is.until format="M Y"}}</div>
23-
<a title="{{title}}" href="/journey/{{slug}}">
23+
<a title="{{title}}" href="{{route this}}">
2424
{{#with preview}}<img alt="{{title}}, {{date meta.dateTime format='d.m.Y H:i'}}" {{#unless (top 3 @index)}}loading="lazy"{{/unless}} src="/image/{{slug}}/thumb-{{name}}.webp">{{else}}<div class="without-preview"></div>{{/with}}
2525
<h3>{{title}}</h3>
2626
</a>

0 commit comments

Comments
 (0)