Skip to content

Commit 2ac84af

Browse files
committed
add favorite
1 parent b2a98a6 commit 2ac84af

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

templates/share_layout/base.html

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
href='{% static 'blog/fonts/fonts.css' %}'
3232
type='text/css' media='all'/>
3333
<link rel="dns-prefetch" href="//cdn.mathjax.org"/>
34+
<link rel="shortcut icon" href="favorite.ico" type="image/x-icon"/>
3435
{% compress css %}
3536

3637
<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>
6162
{% load i18n %}
6263

6364

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>#}
8081

8182

8283
{% include 'share_layout/nav.html' %}

0 commit comments

Comments
 (0)