webpack: Don't include katex bundle in base.html.

Since we use katex only in the main webapp, we don't need it in things
like landing page etc, so it is better to move it to index.html.
This commit is contained in:
Harshit Bansal
2017-06-22 20:58:55 +00:00
committed by showell
parent 99b12ed0ca
commit 0b03fd97a2
3 changed files with 4 additions and 3 deletions

View File

@@ -28,7 +28,6 @@
</script>
{% endblock %}
{{ render_bundle('common') }}
{{ render_bundle('katex') }}
{% block customhead %}
{% endblock %}
</head>

View File

@@ -39,6 +39,8 @@ var page_params = {{ page_params }};
{{ render_bundle('translations') }}
{{ render_bundle('katex') }}
{% include "zerver/topic_is_muted.html" %}
{% endblock %}

View File

@@ -22,10 +22,10 @@ Reusing existing connection to localhost:443.
HTTP/1.1 200 OK
Server: nginx/1.4.6 (Ubuntu)
Content-Type: text/html; charset=utf-8
Content-Length: 6205
Content-Length: 6107
Connection: keep-alive
Strict-Transport-Security: max-age=15768000
Length: 6205 (6.1K) [text/html]
Length: 6107 (6.0K) [text/html]
Saving to: /tmp/index.html