From d23e7319e68e8596bbe5146b676b22e0080ae2fb Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Thu, 9 Jul 2020 13:27:01 +0200
Subject: [PATCH] reset theme

---
 .ci/deploy.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.ci/deploy.sh b/.ci/deploy.sh
index 0903e33c..3f49afce 100644
--- a/.ci/deploy.sh
+++ b/.ci/deploy.sh
@@ -47,6 +47,12 @@ do
                 ln -s ../../theme/package.json package.json
                 ln -s ../../theme theme
 
+                # reset the theme
+                cd ../../theme
+                git checkout -- templates/_index.html
+                cd $BLADE
+                echo " > Theme reset."
+
                 # add matomo
                 sed -i "/matomohead/r./../../.ci/analytics/head.html" theme/templates/_index.html
                 sed -i "/matomopolicy/r./../../.ci/analytics/policy.html" theme/templates/_index.html
-- 
GitLab