Skip to content

Commit f8d5ccd

Browse files
committed
Include from and until in hover of journey in feed
1 parent b6848ae commit f8d5ccd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/main/handlebars/feed.handlebars

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
<section>
2525
<h2>
2626
{{#with parent}}
27-
<span class="journey"><a href="{{route this}}">{{title}}</a> » </span>
27+
<span class="journey" title="Reise, {{range is.from is.until format="M Y"}}">
28+
<a href="{{route this}}">{{title}}</a>
29+
</span>
2830
{{/with}}
2931
<a href="{{route this}}">{{title}}</a>
3032
</h2>

src/main/handlebars/layout.handlebars

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,10 @@
422422
h2 {
423423
font-size: 1.5rem;
424424
font-weight: 700;
425+
426+
.journey::after {
427+
content: '»';
428+
}
425429
}
426430
427431
h2.scroll {

0 commit comments

Comments
 (0)