|
31 | 31 | href='{% static 'blog/fonts/fonts.css' %}'
|
32 | 32 | type='text/css' media='all'/>
|
33 | 33 | <link rel="dns-prefetch" href="//cdn.mathjax.org"/>
|
| 34 | + <link rel="shortcut icon" href="favorite.ico" type="image/x-icon"/> |
34 | 35 | {% compress css %}
|
35 | 36 |
|
36 | 37 | <link rel='stylesheet' id='twentytwelve-style-css' href='{% static 'blog/css/style.css' %}' type='text/css'
|
@@ -61,22 +62,22 @@ <h2 class="site-description">{{ SITE_DESCRIPTION }}</h2>
|
61 | 62 | {% load i18n %}
|
62 | 63 |
|
63 | 64 |
|
64 |
| -{# <div class="i18n-selector">#} |
65 |
| -{# <form action="{% url 'set_language' %}" method="post" id="i18n-form">{% csrf_token %}#} |
66 |
| -{# <input name="next" type="hidden" value="{{ redirect_to }}">#} |
67 |
| -{# <select name="language" class="i18n-select" >#} |
68 |
| -{# {% get_current_language as LANGUAGE_CODE %}#} |
69 |
| -{# {% get_available_languages as LANGUAGES %}#} |
70 |
| -{# {% get_language_info_list for LANGUAGES as languages %}#} |
71 |
| -{# {% for language in languages %}#} |
72 |
| -{# <option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %} selected{% endif %}>#} |
73 |
| -{# {{ language.name_local }} ({{ language.code }})#} |
74 |
| -{# </option>#} |
75 |
| -{# {% endfor %}#} |
76 |
| -{# </select>#} |
77 |
| -{# <input type="submit" value="Go">#} |
78 |
| -{# </form>#} |
79 |
| -{# </div>#} |
| 65 | + {# <div class="i18n-selector">#} |
| 66 | + {# <form action="{% url 'set_language' %}" method="post" id="i18n-form">{% csrf_token %}#} |
| 67 | + {# <input name="next" type="hidden" value="{{ redirect_to }}">#} |
| 68 | + {# <select name="language" class="i18n-select" >#} |
| 69 | + {# {% get_current_language as LANGUAGE_CODE %}#} |
| 70 | + {# {% get_available_languages as LANGUAGES %}#} |
| 71 | + {# {% get_language_info_list for LANGUAGES as languages %}#} |
| 72 | + {# {% for language in languages %}#} |
| 73 | + {# <option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %} selected{% endif %}>#} |
| 74 | + {# {{ language.name_local }} ({{ language.code }})#} |
| 75 | + {# </option>#} |
| 76 | + {# {% endfor %}#} |
| 77 | + {# </select>#} |
| 78 | + {# <input type="submit" value="Go">#} |
| 79 | + {# </form>#} |
| 80 | + {# </div>#} |
80 | 81 |
|
81 | 82 |
|
82 | 83 | {% include 'share_layout/nav.html' %}
|
|
0 commit comments