From ccf7ff2bc9590c65b88bd02f39d9b35c1bce4483 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Thu, 5 May 2022 19:05:54 +0900 Subject: [PATCH] Remove Latest articles from timeline tabs --- templates/timelines/details.rs.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/timelines/details.rs.html b/templates/timelines/details.rs.html index b85110a1..d745a4ba 100644 --- a/templates/timelines/details.rs.html +++ b/templates/timelines/details.rs.html @@ -12,14 +12,13 @@

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

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