mirror of
				https://github.com/sb745/NyaaV3.git
				synced 2025-10-31 16:05:46 +02:00 
			
		
		
		
	 38f8880966
			
		
	
	
		38f8880966
		
	
	
	
	
		
			
			Infobubble text is now in a separate file, along with a timestamp in the main file, so that changes to it don't result in merge conflicts too often. We also add some JS to make the bubble dismissible, keeping track of the last timestamp that was dismissed in localstorage. A timestamp of 0 disables the infobubble altogether.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			771 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			771 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends "layout.html" %}
 | |
| {% block title %}{% if search.term %}{{ search.term | e}}{% else %}Browse{% endif %} :: {{ config.SITE_NAME }}{% endblock %}
 | |
| {% block metatags %}
 | |
| {% if search.term %}
 | |
| <meta property="og:description" content="Search for '{{ search.term }}'">
 | |
| {% else %}
 | |
| <meta name="description" content="A BitTorrent community focused on Eastern Asian media including anime, manga, music, and more">
 | |
| <meta name="keywords" content="torrents, bittorrent, torrent, anime, manga, sukebei, download, nyaa, magnet, magnets">
 | |
| <meta property="og:description" content="{{ config.SITE_NAME }} homepage">
 | |
| {% endif %}
 | |
| {% endblock %}
 | |
| {% block body %}
 | |
| 
 | |
| {% if not search.term %}
 | |
| {% include "infobubble.html" %}
 | |
| {% endif %}
 | |
| 
 | |
| {% include "search_results.html" %}
 | |
| 
 | |
| {% endblock %}
 |