🏡 index : github.com/captn3m0/news.git

author Nemo <commits@captnemo.in> 2025-05-22 20:24:49.0 +05:30:00
committer Nemo <commits@captnemo.in> 2025-05-22 20:25:34.0 +05:30:00
commit
fe921075ce6d03d27506562744cd974b34a0ea58 [patch]
tree
6bf63986e34baabbdbd04351421bcef191feb30b
parent
05bc5511c7b038811f7c35a63df642e7e526b898
download
fe921075ce6d03d27506562744cd974b34a0ea58.tar.gz

was good while it lasted



Diff

 index.html              | 7 ++++---
 _plugins/fetch_posts.rb | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/index.html b/index.html
index aff1ac2..f76abdd 100644
--- a/index.html
+++ a/index.html
@@ -27,10 +27,9 @@
<h1 class="topic-heading">We have no news</h1>
	<div style="position:relative" class="detailswrapper">
		This website fetches news from the <a href="https://app.beatrootnews.com/">Beatroot News
		</a> website, which hasn't been updated recently. We intentionally only shows news from
		yesterday and tomorrow, so there's no news here as a result.

		Check back later for updates.
		</a> website, which has gone down in the frequency of its updates to less than 1 news item per day. 
		As a result, we don't have any news here. If you used this site regularly, please fill <a href="https://tally.so/r/mVyaVy">
		this interest form</a>.
	</div>
</div>

diff --git a/_plugins/fetch_posts.rb b/_plugins/fetch_posts.rb
index fbe0002..04ca343 100644
--- a/_plugins/fetch_posts.rb
+++ a/_plugins/fetch_posts.rb
@@ -27,8 +27,8 @@
class BeatrootNews < Jekyll::Generator
  safe true
  priority :highest

  MAX_POSTS = 150
  # Temporarily lowered because we don't have enough news
  MAX_POSTS = 10
  SOURCE_URL = "https://beatrootnews.com/api.php/article?page%5Blimit%5D=#{MAX_POSTS}&sort=-publishing_date"

  def fix_dates_for_dev(data)