From f8caba7d98bd8612873b9c97ab06d6601d3fa267 Mon Sep 17 00:00:00 2001
From: pruizf <pabloruizfabo@gmail.com>
Date: Thu, 2 Dec 2021 12:11:51 +0100
Subject: [PATCH] adds subitems to sidebar

---
 publish.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/publish.sh b/publish.sh
index 30f732e..c72af11 100755
--- a/publish.sh
+++ b/publish.sh
@@ -23,6 +23,17 @@ sed -i -e 's/"toctitle">MeThAL<\/div>/"toctitle"><a href="https:\/\/methal.pages
 sed -i -e '516 i <li><a target="_blank" href="https://methal.eu/ui/" title="Corpus explorer (Opens new tab)">Explore the corpus</a></li>' site/en.html
 sed -i -e '516 i <li><a target="_blank" href="https://methal.eu/ui/" title="Explorer le corpus (Nouvel onglet)">Explorer le corpus</a></li>' site/index.html
 
+sed -i -e '517 i <ul class="sectlevel2">' site/en.html
+sed -i -e '518 i <li><a target="_blank" href="https://methal.eu/ui/">Interface</a></li>' site/en.html
+sed -i -e '519 i <li><a target="_blank" href="https://git.unistra.fr/methal/methal-sources">TEI sources</a></li>' site/en.html
+sed -i -e '520 i </ul>' site/en.html
+
+
+sed -i -e '517 i <ul class="sectlevel2">' site/index.html
+sed -i -e '518 i <li><a target="_blank" href="https://methal.eu/ui/">Interface</a></li>' site/index.html
+sed -i -e '519 i <li><a href="https://git.unistra.fr/methal/methal-sources">Sources TEI</a></li>' site/index.html
+sed -i -e '520 i </ul>' site/index.html
+
 # read-section
 
 sed -i -e 's/href="#_read_the_plays"/href=".\/read\/en.html"/g' site/en.html
-- 
GitLab