mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Merge pull request #3769 from mlissner/master
Fixes #3756, adding the name to the HTML title, if it exists.
This commit is contained in:
		
						commit
						2d27d9a10a
					
				| 
						 | 
				
			
			@ -12,7 +12,7 @@
 | 
			
		|||
      <meta name="robots" content="NONE,NOARCHIVE" />
 | 
			
		||||
    {% endblock %}
 | 
			
		||||
 | 
			
		||||
    <title>{% block title %}Django REST framework{% endblock %}</title>
 | 
			
		||||
    <title>{% block title %}{% if name %}{{ name }} – {% endif %}Django REST framework{% endblock %}</title>
 | 
			
		||||
 | 
			
		||||
    {% block style %}
 | 
			
		||||
      {% block bootstrap_theme %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user