Fixed SOE breaking the admin
							parent
							
								
									98a1a0a0c4
								
							
						
					
					
						commit
						e9fcbd5a99
					
				
							
								
								
									
										2
									
								
								app.js
								
								
								
								
							
							
						
						
									
										2
									
								
								app.js
								
								
								
								
							|  | @ -316,7 +316,7 @@ handlebars = handlebars.create({ | ||||||
|             return''; |             return''; | ||||||
|         }, |         }, | ||||||
|         snip: (text) => { |         snip: (text) => { | ||||||
|             if(text.length > 155){ |             if(text && text.length > 155){ | ||||||
|                 return text.substring(0, 155) + '...'; |                 return text.substring(0, 155) + '...'; | ||||||
|             } |             } | ||||||
|             return text; |             return text; | ||||||
|  |  | ||||||
|  | @ -106,6 +106,7 @@ | ||||||
|         {{else}} |         {{else}} | ||||||
|         <meta property="twitter:url" content="{{config.baseUrl}}" /> |         <meta property="twitter:url" content="{{config.baseUrl}}" /> | ||||||
|         {{/if}} |         {{/if}} | ||||||
|  |         {{#unless result.productTitle}} | ||||||
|         <script type="application/ld+json"> |         <script type="application/ld+json"> | ||||||
|             { |             { | ||||||
|                 "@context": "https://schema.org/", |                 "@context": "https://schema.org/", | ||||||
|  | @ -139,7 +140,7 @@ | ||||||
|                 {{/if}} |                 {{/if}} | ||||||
|             } |             } | ||||||
|         </script> |         </script> | ||||||
|          |         {{/unless}} | ||||||
|         <!-- SEO data --> |         <!-- SEO data --> | ||||||
|         {{~#if config.googleAnalytics}}{{{config.googleAnalytics}}}{{/if}} |         {{~#if config.googleAnalytics}}{{{config.googleAnalytics}}}{{/if}} | ||||||
|         {{~#if config.customCss}}<style>{{{config.customCss}}}</style>{{/if}} |         {{~#if config.customCss}}<style>{{{config.customCss}}}</style>{{/if}} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue