From 5d66dd1e9d643cd693847e69ad419b067eb827c4 Mon Sep 17 00:00:00 2001 From: pruizf <pabloruizfabo@gmail.com> Date: Sun, 26 Sep 2021 13:15:36 +0200 Subject: [PATCH] [pub] changes toc link to read section --- publish.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/publish.sh b/publish.sh index 0222e67..6a4c6d1 100755 --- a/publish.sh +++ b/publish.sh @@ -21,6 +21,10 @@ for pname in index en ; do done # read-section + +sed -i -e 's/href="#_read_the_plays"/href="./read/en.html"/g' site/en.html +sed -i -e 's/href="#_lire_les_pieces"/href="./read"/g' site/index.html + plays_done=$(ls site/read/tei/*xml | wc -l) sed -i -e "s/##nbrPieces/${plays_done}/g" read/*html sed -i -e "s/##nbrPieces/${plays_done}/g" site/*html -- GitLab