| 
									
										
										
										
											2022-02-05 08:56:42 +01:00
										 |  |  | <aside class="infobox" aria-label="{{ infobox.infobox }}"> | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |   <h2><bdi>{{ infobox.infobox }}</bdi></h2> | 
					
						
							| 
									
										
										
										
											2021-11-25 12:04:39 +01:00
										 |  |  |   {% if infobox.img_src %}<img src="{{ image_proxify(infobox.img_src) }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}">{%- endif -%} | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |   <p><bdi>{{ infobox.content | safe }}</bdi></p> | 
					
						
							|  |  |  |   {% if infobox.attributes %} | 
					
						
							|  |  |  |   <div class="attributes"> | 
					
						
							|  |  |  |     {% for attribute in infobox.attributes %} | 
					
						
							|  |  |  |     <dl> | 
					
						
							|  |  |  |       <dt><bdi>{{ attribute.label }} :</bdi></dt> | 
					
						
							|  |  |  |       {%- if attribute.image -%} | 
					
						
							| 
									
										
										
										
											2021-11-25 12:04:39 +01:00
										 |  |  |       <dd><img src="{{ image_proxify(attribute.image.src) }}" alt="{{ attribute.image.alt }}"></dd> | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |       {%- else -%} | 
					
						
							|  |  |  |       <dd><bdi>{{ attribute.value }}</bdi></dd> | 
					
						
							|  |  |  |       {%- endif -%} | 
					
						
							|  |  |  |     </dl> | 
					
						
							| 
									
										
										
										
											2021-11-25 12:04:39 +01:00
										 |  |  |     {% endfor %} | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |   </div> | 
					
						
							|  |  |  |   {% endif %} | 
					
						
							| 
									
										
										
										
											2021-11-25 12:04:39 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |   {% if infobox.urls %} | 
					
						
							|  |  |  |   <div class="urls"> | 
					
						
							|  |  |  |     <ul> | 
					
						
							|  |  |  |       {%- for url in infobox.urls -%} | 
					
						
							|  |  |  |       <li class="url"><bdi><a href="{{ url.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ url.title }}</a></bdi></li> | 
					
						
							|  |  |  |       {%- endfor -%} | 
					
						
							|  |  |  |     </ul> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  |   {% endif %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   {% if infobox.relatedTopics %} | 
					
						
							|  |  |  |   <div class="relatedTopics"> | 
					
						
							|  |  |  |     {% for topic in infobox.relatedTopics %} | 
					
						
							|  |  |  |     <div> | 
					
						
							|  |  |  |       <h3><bdi>{{ topic.name }}</bdi></h3> | 
					
						
							|  |  |  |       {% for suggestion in topic.suggestions %} | 
					
						
							| 
									
										
										
										
											2019-07-30 06:25:05 +02:00
										 |  |  |       <form method="{{ method or 'POST' }}" action="{{ url_for('search') }}"> | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |         <input type="hidden" name="q" value="{{ suggestion }}"> | 
					
						
							| 
									
										
										
										
											2019-08-02 13:50:51 +02:00
										 |  |  |         <input type="hidden" name="time_range" value="{{ time_range }}"> | 
					
						
							|  |  |  |         <input type="hidden" name="language" value="{{ current_language }}"> | 
					
						
							|  |  |  |         <input type="hidden" name="safesearch" value="{{ safesearch }}"> | 
					
						
							|  |  |  |         <input type="hidden" name="theme" value="{{ theme }}"> | 
					
						
							|  |  |  |         {% if timeout_limit %}<input type="hidden" name="timeout_limit" value="{{ timeout_limit|e }}" >{% endif %} | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |         <input type="submit" value="{{ suggestion }}" /> | 
					
						
							|  |  |  |       </form> | 
					
						
							|  |  |  |       {% endfor %} | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     {% endfor %} | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  |   {% endif %} | 
					
						
							|  |  |  | </aside> |