From f3f0392f9a58b4c0b0f85183d3c8761eddf5b446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20P=C3=A9rez-Su=C3=A1rez?= Date: Mon, 27 Aug 2018 21:28:41 +0100 Subject: [PATCH] Clean up what's not needed and fix link from articles id --- _layouts/aio.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/_layouts/aio.html b/_layouts/aio.html index 79bb463..19a5301 100644 --- a/_layouts/aio.html +++ b/_layouts/aio.html @@ -7,15 +7,10 @@ Generate list of episodes and extras for the language shown. - NOTE: _extras need in the permlinks //page!! {% endcomment %} {% if page.path contains "_locale" %} - {% assign locale = page.path | remove: "_locale/" | split: "/" | first | downcase %} - {% assign pathLocale = locale | append: '/' | prepend: '/' %} {% assign episodes = site.locale | where_exp:"item", "item.path contains pathLocale" | where_exp:"item", "item.path contains 'episode'" | sort: "path" %} {% else %} - {% assign locale = "en" %} {% assign episodes = site.episodes %} {% endif %} -{% assign lang_file = locale | append: '.md' %} -{% assign data_language = site.pages | where_exp:"page", "page.path contains 'i18n'" | where_exp:"page", "page.path contains lang_file" | first %} {% include main_title.html %}