Commit ae1da5d24e64597e644ab9ef086ee4f66b5a7597

Authored by William Daniau
1 parent 4fd76e81a2
Exists in master

On permet l'utilisation des #H5 dans les exports html "normaux"

Showing 5 changed files with 22 additions and 1 deletions Side-by-side Diff

templates/html/Wize.html
... ... @@ -236,6 +236,10 @@
236 236 <script src="[% resource('common/go-hljs.js') %]"></script>
237 237 <script>printNotice()</script>
238 238 <script>
  239 +tagToInfo();
  240 +tagToStyle();
  241 +</script>
  242 +<script>
239 243 /* Get the button */
240 244 var upButton = document.getElementById("upBtn");
241 245  
templates/html/Wize_Print_Template.tpl
... ... @@ -43,6 +43,8 @@
43 43 <!-- hljs -->
44 44 <script src="file:///%%HOME%%/.local/share/zim/templates/html/common/hljs/highlight.pack.js"></script>
45 45  
  46 + <script src="file:///%%HOME%%/.local/share/zim/templates/html/common/wizefunc.js"></script>
  47 +
46 48 <script src="file:///%%HOME%%/.local/share/zim/templates/html/print-common/notice.js"></script>
47 49  
48 50 <script>
... ... @@ -76,6 +78,10 @@
76 78  
77 79 <script src="file:///%%HOME%%/.local/share/zim/templates/html/common/go-hljs.js"></script>
78 80 <script>printNotice()</script>
  81 +<script>
  82 +tagToInfo();
  83 +tagToStyle();
  84 +</script>
79 85  
80 86 </body>
81 87  
templates/html/Wize_S5.html
... ... @@ -110,7 +110,10 @@
110 110  
111 111 </div>
112 112 <script src="[% resource('common/go-hljs.js') %]"></script>
113   -<script>tagToInfo();</script>
  113 +<script>
  114 +tagToInfo(true);
  115 +tagToStyle();
  116 +</script>
114 117  
115 118 </body>
116 119 </html>
templates/html/Wize_with_index.html
... ... @@ -270,6 +270,10 @@
270 270 <script src="[% resource('common/go-hljs.js') %]"></script>
271 271 <script>printNotice()</script>
272 272 <script>
  273 +tagToInfo();
  274 +tagToStyle();
  275 +</script>
  276 +<script>
273 277 /* Get the button */
274 278 var upButton = document.getElementById("upBtn");
275 279  
templates/html/Wize_with_index_sod.html
... ... @@ -286,6 +286,10 @@
286 286 <script src="[% resource('common/go-hljs.js') %]"></script>
287 287 <script>printNotice()</script>
288 288 <script>
  289 +tagToInfo();
  290 +tagToStyle();
  291 +</script>
  292 +<script>
289 293 /* Get the button */
290 294 var upButton = document.getElementById("upBtn");
291 295