mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	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:
		@@ -28,7 +28,6 @@
 | 
				
			|||||||
        </script>
 | 
					        </script>
 | 
				
			||||||
        {% endblock %}
 | 
					        {% endblock %}
 | 
				
			||||||
        {{ render_bundle('common') }}
 | 
					        {{ render_bundle('common') }}
 | 
				
			||||||
        {{ render_bundle('katex') }}
 | 
					 | 
				
			||||||
        {% block customhead %}
 | 
					        {% block customhead %}
 | 
				
			||||||
        {% endblock %}
 | 
					        {% endblock %}
 | 
				
			||||||
    </head>
 | 
					    </head>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -39,6 +39,8 @@ var page_params = {{ page_params }};
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{{ render_bundle('translations') }}
 | 
					{{ render_bundle('translations') }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{{ render_bundle('katex') }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% include "zerver/topic_is_muted.html" %}
 | 
					{% include "zerver/topic_is_muted.html" %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,10 +22,10 @@ Reusing existing connection to localhost:443.
 | 
				
			|||||||
  HTTP/1.1 200 OK
 | 
					  HTTP/1.1 200 OK
 | 
				
			||||||
  Server: nginx/1.4.6 (Ubuntu)
 | 
					  Server: nginx/1.4.6 (Ubuntu)
 | 
				
			||||||
  Content-Type: text/html; charset=utf-8
 | 
					  Content-Type: text/html; charset=utf-8
 | 
				
			||||||
  Content-Length: 6205
 | 
					  Content-Length: 6107
 | 
				
			||||||
  Connection: keep-alive
 | 
					  Connection: keep-alive
 | 
				
			||||||
  Strict-Transport-Security: max-age=15768000
 | 
					  Strict-Transport-Security: max-age=15768000
 | 
				
			||||||
Length: 6205 (6.1K) [text/html]
 | 
					Length: 6107 (6.0K) [text/html]
 | 
				
			||||||
Saving to: ‘/tmp/index.html’
 | 
					Saving to: ‘/tmp/index.html’
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user