From 342f534fccd8a748e28e48223bc27ccd90932cb7 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Sat, 2 Mar 2019 17:20:08 +0000 Subject: [PATCH] Completed help Jekyll layout/links (#4) Added layouts for English and Spanish, added style to make it work in small, app-generated windows and in a regular sized browser --- docs/_config.yml | 10 ++++-- docs/_layouts/{default.html => en.html} | 0 docs/_layouts/es.html | 44 +++++++++++++++++++++++++ docs/_layouts/home.html | 26 +++++++++++++++ docs/en/index.md | 1 + docs/es/index.md | 1 + docs/index.md | 3 +- 7 files changed, 82 insertions(+), 3 deletions(-) rename docs/_layouts/{default.html => en.html} (100%) create mode 100644 docs/_layouts/es.html create mode 100644 docs/_layouts/home.html diff --git a/docs/_config.yml b/docs/_config.yml index f6fa9cf..be5d11a 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,5 +1,11 @@ defaults: - + scope: + path: "en" values: - layout: "default" -# theme: jekyll-theme-tactile \ No newline at end of file + layout: "en" + - + scope: + path: "es" + values: + layout: "es" diff --git a/docs/_layouts/default.html b/docs/_layouts/en.html similarity index 100% rename from docs/_layouts/default.html rename to docs/_layouts/en.html diff --git a/docs/_layouts/es.html b/docs/_layouts/es.html new file mode 100644 index 0000000..652852d --- /dev/null +++ b/docs/_layouts/es.html @@ -0,0 +1,44 @@ + + + + + + {{ page.title }} « Ayuda de SeguidorOración + + + + + +
+
SeguidorOración
+
Ayuda
+
+
+
+
+ Lengua: Español • + This page in English +
+
+

{{ page.title }}

+
+ {{ content }} + {% if page.skip_footer %} + {% else %} + + + {% endif %} +
+
+ + \ No newline at end of file diff --git a/docs/_layouts/home.html b/docs/_layouts/home.html new file mode 100644 index 0000000..2cb3188 --- /dev/null +++ b/docs/_layouts/home.html @@ -0,0 +1,26 @@ + + + + + + {{ page.title }} « PrayerTracker Help / Ayuda de SeguidorOración + + + + + +
+
PrayerTracker / SeguidorOración
+
Help / Ayuda
+
+
+
+
 
+
+

{{ page.title }}

+
+ {{ content }} +
+
+ + \ No newline at end of file diff --git a/docs/en/index.md b/docs/en/index.md index 7955c24..7d5486f 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -1,5 +1,6 @@ --- title: Help +skip_footer: true --- Throughout PrayerTracker, you'll see an icon (a question mark in a circle) next to the title on each page. Clicking this will open a new, small window with directions on using that page. If you are looking for a quick overview of PrayerTracker, start with the “Add / Edit a Request” and “Change Preferences” entries. diff --git a/docs/es/index.md b/docs/es/index.md index 028ab87..3001c3c 100644 --- a/docs/es/index.md +++ b/docs/es/index.md @@ -1,5 +1,6 @@ --- title: Ayuda +skip_footer: true --- En todo el sistema, verá un icono (un signo de interrogación en un círculo) junto al título de cada página. Al hacer clic en esta opción, se abrirá una nueva y pequeña ventana con instrucciones sobre cómo usar esa página. Si está buscando una descripción rápida de SeguidorOración, comience con las entradas "Agregar / Editar una Petición" y "Cambiar las Preferencias". diff --git a/docs/index.md b/docs/index.md index db3f417..531015a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,6 @@ --- -title: PrayerTracker Help +title: Help / Ayuda +layout: home --- ## [English](/en)