diff --git a/.ci/generateIndex.py b/.ci/generateIndex.py index c293f4a1a02e92482e4540bf4c71593b2bf9f790..8b33b387646a1581c68b2001f7a368c66ab495df 100644 --- a/.ci/generateIndex.py +++ b/.ci/generateIndex.py @@ -32,7 +32,7 @@ def build_section_start(title, shortcut): title = title.replace("Handbook 3 annexes", "Handbook - Annexes") title = title.replace("Covid 19", "COVID-19") - return f'\n\t<div class="index-box" id="{shortcut}">\n\t\t<h3>{title}</h3>\n\t\t<ul>\n' + return f'\n\t<div class="index-box noborderbox" id="{shortcut}">\n\t\t<h3>{title}</h3>\n\t\t<ul>\n' def build_section_end(): return "\t\t</ul>\n\t</div>" @@ -199,6 +199,9 @@ for s in sections: # Close the container index += "\n</div>" +## add link to return to main index +index += "<br><center><a href='/'>Overview of all HowTo cards</a></center>" + # output the index #print(index) # Read in the file