File tree 5 files changed +20
-8
lines changed
5 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ This is the <b>main Rust blog</b>. \
9
9
<a href="https://www.rust-lang.org/governance/">Rust teams</a> \
10
10
use this blog to announce major developments in the world of Rust."""
11
11
maintained_by = " the Rust Teams"
12
- see_also_path = " /inside-rust/"
13
- see_also_text = """ the "Inside Rust" blog"""
12
+ [[extra .see_also ]]
13
+ path = " /inside-rust/"
14
+ text = """ the "Inside Rust" blog"""
15
+ [[extra .see_also ]]
16
+ path = " /releases/"
17
+ text = " release announcements"
14
18
+++
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ to follow along with Rust development. The various \
11
11
use this blog to post status updates, calls for help, and other \
12
12
similar announcements."""
13
13
maintained_by = " the Rust Teams"
14
- see_also_path = " /"
15
- see_also_text = " the main Rust blog"
14
+ [[extra .see_also ]]
15
+ path = " /"
16
+ text = " the main Rust blog"
16
17
+++
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ title = "Rust Release Announcements"
3
3
template = " releases.html"
4
4
[extra ]
5
5
index_title = " The Rust Release Announcements"
6
- see_also_path = " /"
7
- see_also_text = " the main Rust blog"
6
+ [[extra .see_also ]]
7
+ path = " /"
8
+ text = " the main Rust blog"
8
9
+++
Original file line number Diff line number Diff line change 11
11
< div class ="mw8-l ">
12
12
< p >
13
13
< b > See also:</ b >
14
- < a href ="{{ config.base_url | safe }}{{ section.extra.see_also_path | safe }} "> {{ section.extra.see_also_text }}</ a >
14
+ {% for see_also in section.extra.see_also -%}
15
+ {% if loop.index0 != 0 %},{% endif %}
16
+ < a href ="{{ config.base_url | safe }}{{ see_also.path | safe }} "> {{ see_also.text }}</ a >
17
+ {%- endfor -%}
15
18
</ p >
16
19
</ div >
17
20
</ div >
Original file line number Diff line number Diff line change 20
20
< div class ="mw8-l ">
21
21
< p >
22
22
< b > See also:</ b >
23
- < a href ="{{ config.base_url | safe }}{{ section.extra.see_also_path | safe }} "> {{ section.extra.see_also_text }}</ a >
23
+ {% for see_also in section.extra.see_also -%}
24
+ {% if loop.index0 != 0 %},{% endif %}
25
+ < a href ="{{ config.base_url | safe }}{{ see_also.path | safe }} "> {{ see_also.text }}</ a >
26
+ {%- endfor -%}
24
27
</ p >
25
28
</ div >
26
29
</ div >
You can’t perform that action at this time.
0 commit comments