File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -84,5 +84,4 @@ <h3>{{ sidebar.top_ruby_projects.text }}</h3>
84
84
< p class ="more "> < a href ="{{ sidebar.top_ruby_projects.more.url }} "> {{ sidebar.top_ruby_projects.more.text }}</ a > </ p >
85
85
{% endif %}
86
86
87
- < h3 > {{ sidebar.syndicate.text }}</ h3 >
88
- < p > < a href ="{{ sidebar.syndicate.recent_news.url }} "> {{ sidebar.syndicate.recent_news.text }}</ a > </ p >
87
+ {% include syndicate.html %}
Original file line number Diff line number Diff line change
1
+ {% if site.locales.sidebar[page.lang] %}
2
+ {% assign syndicate = site.locales.sidebar[page.lang].syndicate %}
3
+ {% else %}
4
+ {% assign syndicate = site.locales.sidebar['en'].syndicate %}
5
+ {% endif %}
6
+
7
+ < h3 > {{ syndicate.text }}</ h3 >
8
+ < p > < a href ="{{ syndicate.recent_news.url }} "> {{ syndicate.recent_news.text }}</ a > </ p >
Original file line number Diff line number Diff line change @@ -45,14 +45,7 @@ <h3><strong>{{ locales.yearly_archives }}</strong></h3>
45
45
</ ul >
46
46
</ div >
47
47
48
- {% if site.locales.sidebar[page.lang] %}
49
- {% assign syndicate = site.locales.sidebar[page.lang].syndicate %}
50
- {% else %}
51
- {% assign syndicate = site.locales.sidebar['en'].syndicate %}
52
- {% endif %}
53
-
54
- < h3 > {{ syndicate.text }}</ h3 >
55
- < p > < a href ="{{ syndicate.recent_news.url }} "> {{ syndicate.recent_news.text }}</ a > </ p >
48
+ {% include syndicate.html %}
56
49
</ div >
57
50
</ div >
58
51
< hr class ="hidden-modern " />
You can’t perform that action at this time.
0 commit comments