From 3faf72175165831f3359caf9e4605208791b8939 Mon Sep 17 00:00:00 2001 From: Andy Lulham Date: Thu, 8 Aug 2024 15:47:25 +0100 Subject: [PATCH] feat: add a warning about unindexed tweets --- output/_layouts/default.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/output/_layouts/default.html b/output/_layouts/default.html index 8ff4c277..b12a1438 100644 --- a/output/_layouts/default.html +++ b/output/_layouts/default.html @@ -42,9 +42,14 @@ {% if site.data.meta.total_tweets == 0 %} - + + {% elsif site.data.meta.total_fetched < site.data.meta.total_tweets %} + {% assign perc_fetched = site.data.meta.total_fetched | times: 100 | divided_by: site.data.meta.total_tweets %} + {% endif %}