From d0506fb22714c098bf1692ad171c39cb8ac2cbd4 Mon Sep 17 00:00:00 2001 From: "David A. Harding" Date: Tue, 18 Aug 2015 10:08:11 -0400 Subject: [PATCH] Ensure pages in en/ use "lang: en" --- Makefile | 7 ++++++- en/rss/alerts.rss | 2 ++ en/rss/blog.xml | 1 + en/rss/events.rss | 2 ++ en/rss/releases.rss | 2 ++ 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 94c8849e..a30601b7 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,8 @@ endif pre-build-tests-fast: check-for-non-ascii-urls check-for-wrong-filename-assignments \ check-for-missing-rpc-summaries \ check-for-missing-copyright-licenses \ - check-bundle + check-bundle \ + check-for-english-in-en-dir ## Post-build tests which, aggregated together, take less than 10 seconds to run on a typical PC post-build-tests-fast: check-for-build-errors ensure-each-svg-has-a-png check-for-liquid-errors \ @@ -273,3 +274,7 @@ check-for-subheading-anchors: check-for-javascript-in-svgs: ## Security check: don't allow any SVGs that contain Javascript. $S find _site/ -name '*.svg' | xargs grep ' diff --git a/en/rss/blog.xml b/en/rss/blog.xml index f779adb7..6ac2a849 100644 --- a/en/rss/blog.xml +++ b/en/rss/blog.xml @@ -3,6 +3,7 @@ # http://opensource.org/licenses/MIT. layout: null +lang: en --- diff --git a/en/rss/events.rss b/en/rss/events.rss index b758cbeb..f5de041d 100644 --- a/en/rss/events.rss +++ b/en/rss/events.rss @@ -1,6 +1,8 @@ --- # This file is licensed under the MIT License (MIT) available on # http://opensource.org/licenses/MIT. + +lang: en --- diff --git a/en/rss/releases.rss b/en/rss/releases.rss index 9e26b666..e57df62d 100644 --- a/en/rss/releases.rss +++ b/en/rss/releases.rss @@ -1,6 +1,8 @@ --- # This file is licensed under the MIT License (MIT) available on # http://opensource.org/licenses/MIT. + +lang: en ---