diff options
Diffstat (limited to 'pelican-bootstrap3/templates/includes/sidebar.html')
-rw-r--r-- | pelican-bootstrap3/templates/includes/sidebar.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html index 4d7e6bb..57e345e 100644 --- a/pelican-bootstrap3/templates/includes/sidebar.html +++ b/pelican-bootstrap3/templates/includes/sidebar.html @@ -5,7 +5,7 @@ <section class="well well-sm"> <ul class="list-group list-group-flush"> {% if SOCIAL %} - <li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Social</span></h4> + <li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">{{ _('Social') }}</span></h4> <ul class="list-group" id="social"> {% for s in SOCIAL %} {% if s[2] %} @@ -28,7 +28,7 @@ {% if RECENT_POST_COUNT is not defined %} {% set RECENT_POST_COUNT = 5 %} {% endif %} - <li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Recent Posts</span></h4> + <li class="list-group-item"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">{{ _('Recent Posts') }}</span></h4> <ul class="list-group" id="recentposts"> {% for article in articles[:RECENT_POST_COUNT] %} <li class="list-group-item"> @@ -42,7 +42,7 @@ {% endif %} {% if DISPLAY_CATEGORIES_ON_SIDEBAR %} - <li class="list-group-item"><a href="{{ SITEURL }}/{{ CATEGORIES_URL }}"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">Categories</span></h4></a> + <li class="list-group-item"><a href="{{ SITEURL }}/{{ CATEGORIES_URL }}"><h4><i class="fa fa-home fa-lg"></i><span class="icon-label">{{ _('Categories') }}</span></h4></a> <ul class="list-group" id="categories"> {% for cat, null in categories %} <li class="list-group-item"> @@ -61,7 +61,7 @@ {% else %} {% set tags = tag_cloud | sort(attribute='1') %} {% endif %} - <li class="list-group-item"><a href="{{ SITEURL }}/{{ TAGS_URL }}"><h4><i class="fa fa-tags fa-lg"></i><span class="icon-label">Tags</span></h4></a> + <li class="list-group-item"><a href="{{ SITEURL }}/{{ TAGS_URL }}"><h4><i class="fa fa-tags fa-lg"></i><span class="icon-label">{{ _('Tags') }}</span></h4></a> <ul class="list-group {% if DISPLAY_TAGS_INLINE %}list-inline tagcloud{% endif %}" id="tags"> {% for tag in tags %} <li class="list-group-item tag-{{ tag.1 }}"> @@ -77,17 +77,17 @@ {% if DISPLAY_SERIES_ON_SIDEBAR %} {% if article %} {% if article.series %} - <li class="list-group-item"><h4><i class="fa fa-tags fa-list-ul"></i><span class="icon-label">Series</span></h4> + <li class="list-group-item"><h4><i class="fa fa-tags fa-list-ul"></i><span class="icon-label">{{ _('Series') }}</span></h4> <ul class="list-group"> {% if article.series.previous %} <li class="list-group-item"> - <h5></i> Previous article</h5> + <h5></i>{{ _('Previous article') }}</h5> <a href="{{ SITEURL }}/{{ article.series.previous.url }}">{{ article.series.previous.title }}</a> </li> {% endif %} {% if article.series.next %} <li class="list-group-item"> - <h5>Next article</h5> + <h5>{{ _('Next article') }}</h5> <a href="{{ SITEURL }}/{{ article.series.next.url }}">{{ article.series.next.title }}</a> </li> {% endif %} |