Fix mathjax config path (#1605)

Related to #1602
This commit is contained in:
Dawa Ometto
2020-08-03 19:00:49 +02:00
committed by GitHub
parent 5a95f79b32
commit 519a275ff0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@
}; };
</script> </script>
{{#mathjax_config}} {{#mathjax_config}}
<script type="text/javascript" src="{{mathjax_config}}"></script> <script type="text/javascript" src="{{mathjax_config_path}}"></script>
{{/mathjax_config}} {{/mathjax_config}}
<script defer src="{{mathjax_js}}"></script> <script defer src="{{mathjax_js}}"></script>
{{/mathjax}} {{/mathjax}}
+1 -1
View File
@@ -42,7 +42,7 @@ module Precious
clean_url(custom_path, "custom.js") clean_url(custom_path, "custom.js")
end end
def mathjax_config def mathjax_config_path
page_route(@mathjax_config) page_route(@mathjax_config)
end end