From 8c66808482776d8ec72517072756ee93ee37c80e Mon Sep 17 00:00:00 2001 From: Matthew Lincoln Date: Sun, 15 Oct 2017 13:00:25 -0700 Subject: [PATCH 1/9] Add two snippets for text used in lesson filtering Re: #623 --- _data/snippets.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_data/snippets.yml b/_data/snippets.yml index c782f121f..767027393 100644 --- a/_data/snippets.yml +++ b/_data/snippets.yml @@ -132,6 +132,12 @@ difficulty: difficulty es: dificultad +all-lessons: + en: All Lessons + es: +filtering-results: + en: Filtering Results + es: # lesson headers editor: From a622c56cc9bb9806dededfc92a2fba720ea44080 Mon Sep 17 00:00:00 2001 From: Matthew Lincoln Date: Sun, 15 Oct 2017 13:01:31 -0700 Subject: [PATCH 2/9] Use new snippets rather than absolute text for lesson-index --- _includes/lesson-index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/lesson-index.html b/_includes/lesson-index.html index db1f0196a..7415fc015 100644 --- a/_includes/lesson-index.html +++ b/_includes/lesson-index.html @@ -38,7 +38,7 @@
  • {{site.data.snippets.sort-by-difficulty[page.lang]}}
  • -

    Filtering Results: All lessons {{site.data.snippets.date[page.lang]}}

    +

    {{ site.data.snippets.filtering-results[page.lang] }}: {{ site.data.snippets.all-lessons[page.lang] }} {{site.data.snippets.date[page.lang]}}

    -

    {{ site.data.snippets.filtering-results[page.lang] }}: {{ site.data.snippets.all-lessons[page.lang] }} {{site.data.snippets.date[page.lang]}}

    + + + +

    {{ site.data.snippets.filtering-results[page.lang] }}: {{ site.data.snippets.all-lessons[page.lang] }}