diff --git a/templates/timelines/details.rs.html b/templates/timelines/details.rs.html index 916b4f76..b85110a1 100644 --- a/templates/timelines/details.rs.html +++ b/templates/timelines/details.rs.html @@ -8,21 +8,21 @@ @(ctx: BaseContext, tl: Timeline, articles: Vec, all_tl: Vec, page: i32, n_pages: i32) @:base(ctx, tl.name.clone(), {}, {}, { -
-

@i18n_timeline_name(ctx.1, &tl.name)

-
+
+

@i18n_timeline_name(ctx.1, &tl.name)

+
@tabs(&vec![(format!("{}", uri!(instance::index)), i18n!(ctx.1, "Latest articles"), false)] .into_iter().chain(all_tl .into_iter() .map(|t| { - let url = format!("{}", uri!(timelines::details: id = t.id, page = _)); + let url = format!("{}", uri!(timelines::details: id = t.id, page = _)); (url, i18n_timeline_name(ctx.1, &t.name), t.id == tl.id) }) ).collect::>() ) - @if !articles.is_empty() { + @if !articles.is_empty() {
@for article in articles { @:post_card(ctx, article)