diff --git a/index.html b/index.html index ef4c319ab0bd95bb9684ca994aa6b11e1b7b0f99..793e8c26f78c538021c1b6def54763eddc9d4f7d 100644 --- a/index.html +++ b/index.html @@ -493,7 +493,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -517,19 +517,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -537,19 +537,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/index_de.html b/index_de.html index 40238737bce6fd06f9156f4cf07a0ff4f5c9558c..594629a8b73069f6ce6e752953f8945960c9afc9 100644 --- a/index_de.html +++ b/index_de.html @@ -373,7 +373,7 @@ We intend to change that!</p> </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -397,19 +397,19 @@ We intend to change that!</p> </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -417,19 +417,19 @@ We intend to change that!</p> </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/index_en.html b/index_en.html index ef4c319ab0bd95bb9684ca994aa6b11e1b7b0f99..793e8c26f78c538021c1b6def54763eddc9d4f7d 100644 --- a/index_en.html +++ b/index_en.html @@ -493,7 +493,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -517,19 +517,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -537,19 +537,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/index_zh.html b/index_zh.html index 12c61e594d6d8492cd6f380c0b065f4560530f77..c1f40177f1bb629a66a070631fffe8df53223978 100644 --- a/index_zh.html +++ b/index_zh.html @@ -362,7 +362,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -386,19 +386,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -406,19 +406,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/index_zh_big5.html b/index_zh_big5.html index 258014cf7342ab88ded7984b6fa77d8591c4607a..9522aab7ddde42266d27f7aa26042c0dfbd33cf6 100644 --- a/index_zh_big5.html +++ b/index_zh_big5.html @@ -362,7 +362,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -386,19 +386,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -406,19 +406,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/templates/index.tpl b/templates/index.tpl index 11f282821d44ff6e0d101318906075822fa76f3e..a2b62bd7e2dd94a140a4b9ba88dedbf6b2024d81 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -355,7 +355,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -379,19 +379,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -399,19 +399,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/translate.py b/translate.py index 2ee0ed310b211489f7f8f48c1719a068f9f46580..d24454b22607c9a5ea8b4956591f812d818a3122 100755 --- a/translate.py +++ b/translate.py @@ -15,7 +15,7 @@ languages = [False,'zh','zh_big5','en','de'] def render_template(jinja_env, template_filename, language): print("Language: "+language) try: - json_content = json.load(fp=open("lang/"+language+".json"),encoding="utf-8") + json_content = json.load(fp=open("lang/"+language+".json"))#,encoding="utf-8") except Exception as e: print("Error rendering language: "+language) print(e)