From 2c3d992fc4c2535773c3a24d861acf21f039c16d Mon Sep 17 00:00:00 2001 From: Andy Lulham Date: Thu, 8 Aug 2024 09:05:13 +0100 Subject: [PATCH] fix: possibly this is necessary in Ruby? --- output/about/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output/about/index.md b/output/about/index.md index 287c1bca7..e0c5dd518 100644 --- a/output/about/index.md +++ b/output/about/index.md @@ -6,7 +6,7 @@ Community note data is fetched regularly [from Twitter (X)](https://x.com/i/comm This data is always a couple of days old -{%- if site.data.meta.total_tweets -%} +{%- if site.data.meta.total_tweets > 0 -%} (**most recent data is from , scraped **) {%- endif -%} . @@ -50,7 +50,7 @@ When Twitter (X) can’t determine the language of a tweet, it uses one of sever After fetching new proposed community notes, the text of the tweets that the notes reference is not immediately searchable. In order to make it searchable, we need to fetch these tweets – a process that can take several hours. You can see the current status below. -{% if site.data.meta.total_tweets %} +{% if site.data.meta.total_tweets > 0 %} {% assign perc_fetched = site.data.meta.total_fetched | times: 100 | divided_by: site.data.meta.total_tweets %} {% else %} {% assign perc_fetched = 0 %}