From 118cfd7166a586688233ca723390bb2830bd7fe1 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Thu, 5 May 2022 18:14:55 +0900 Subject: [PATCH] Replace hard tabs with soft tabs --- templates/timelines/details.rs.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)