From 3268c0c89847cc9fa1eccdcd7eeef1731f3d9a23 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 27 Nov 2021 08:57:32 +0100 Subject: html: strip "the " from titles --- build.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build.py') diff --git a/build.py b/build.py index 8072194..951f55d 100755 --- a/build.py +++ b/build.py @@ -65,6 +65,9 @@ def write_features(f, feature_data): data['url'] = url data['filename'] = feat + if data['title'].startswith('the '): + data['title'] = data['title'][len('the '):] + if key in features: data['title'] = data['flag'].replace('_', ' ') -- cgit v1.2.3