File tree 3 files changed +24
-6
lines changed
3 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 2
2
layout: default
3
3
---
4
4
5
+ {% if site.locales.news[page.lang] %}
6
+ {% assign locales = site.locales.news[page.lang] %}
7
+ {% else %}
8
+ {% assign locales = site.locales.news['en'] %}
9
+ {% endif %}
10
+
5
11
{% if site.locales.sidebar[page.lang] %}
6
12
{% assign syndicate = site.locales.sidebar[page.lang].syndicate %}
7
13
{% else %}
@@ -26,7 +32,7 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
26
32
{{ post.content | markdownify | strip_html | truncatewords: 25 }}
27
33
</ p >
28
34
29
- < p > < a href ="{{ post.url }} "> Continue Reading... </ a > </ p >
35
+ < p > < a href ="{{ post.url }} "> {{ locales.continue }} </ a > </ p >
30
36
31
37
{% if post.author and post.author != "" %}
32
38
< p class ="post-info "> {{ post.author }} – {{ post.date | date_to_string }}</ p >
@@ -42,11 +48,11 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
42
48
< div id ="sidebar-wrapper ">
43
49
< div id ="sidebar ">
44
50
< div class ="navigation ">
45
- < h3 > < strong > Archives By Year </ strong > </ h3 >
51
+ < h3 > < strong > {{ locales.yearly_archives }} </ strong > </ h3 >
46
52
47
53
< ul class ="menu ">
48
54
{% for year in page.years %}
49
- < li > < a href ="{{ year }}/ "> {{ year }} Archives </ a > </ li >
55
+ < li > < a href ="{{ year }}/ "> {{ year }}</ a > </ li >
50
56
{% endfor %}
51
57
</ ul >
52
58
</ div >
Original file line number Diff line number Diff line change 2
2
layout: default
3
3
---
4
4
5
+ {% if site.locales.news[page.lang] %}
6
+ {% assign locales = site.locales.news[page.lang] %}
7
+ {% else %}
8
+ {% assign locales = site.locales.news['en'] %}
9
+ {% endif %}
10
+
5
11
< div id ="content-wrapper ">
6
12
< div id ="head-wrapper-1 ">
7
13
< div id ="head-wrapper-2 ">
@@ -20,7 +26,7 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
20
26
{{ post.content | markdownify | strip_html | truncatewords: 25 }}
21
27
</ p >
22
28
23
- < p > < a href ="{{ post.url }} "> Continue Reading... </ a > </ p >
29
+ < p > < a href ="{{ post.url }} "> {{ locales.continue }} </ a > </ p >
24
30
25
31
{% if post.author and post.author != "" %}
26
32
< p class ="post-info "> {{ post.author }} – {{ post.date | date_to_string }}</ p >
Original file line number Diff line number Diff line change 2
2
layout: default
3
3
---
4
4
5
+ {% if site.locales.news[page.lang] %}
6
+ {% assign locales = site.locales.news[page.lang] %}
7
+ {% else %}
8
+ {% assign locales = site.locales.news['en'] %}
9
+ {% endif %}
10
+
5
11
< div id ="content-wrapper ">
6
12
< div id ="head-wrapper-1 ">
7
13
< div id ="head-wrapper-2 ">
@@ -20,7 +26,7 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
20
26
{{ post.content | markdownify | strip_html | truncatewords: 25 }}
21
27
</ p >
22
28
23
- < p > < a href ="{{ post.url }} "> Continue Reading... </ a > </ p >
29
+ < p > < a href ="{{ post.url }} "> {{ locales.continue }} </ a > </ p >
24
30
25
31
{% if post.author and post.author != "" %}
26
32
< p class ="post-info "> {{ post.author }} – {{ post.date | date_to_string }}</ p >
@@ -36,7 +42,7 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
36
42
< div id ="sidebar-wrapper ">
37
43
< div id ="sidebar ">
38
44
< div class ="navigation ">
39
- < h3 > < strong > Archive By Month </ strong > </ h3 >
45
+ < h3 > < strong > {{ locales.monthly_archives }} </ strong > </ h3 >
40
46
41
47
< ul class ="menu ">
42
48
{% for month in page.months %}
You can’t perform that action at this time.
0 commit comments