File tree Expand file tree Collapse file tree 5 files changed +20
-8
lines changed Expand file tree Collapse file tree 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>. \
99<a href="https://www.rust-lang.org/governance/">Rust teams</a> \
1010use this blog to announce major developments in the world of Rust."""
1111maintained_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"
1418+++
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ to follow along with Rust development. The various \
1111use this blog to post status updates, calls for help, and other \
1212similar announcements."""
1313maintained_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"
1617+++
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ title = "Rust Release Announcements"
33template = " releases.html"
44[extra ]
55index_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"
89+++
Original file line number Diff line number Diff line change 1111 < div class ="mw8-l ">
1212 < p >
1313 < 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 -%}
1518 </ p >
1619 </ div >
1720 </ div >
Original file line number Diff line number Diff line change 2020 < div class ="mw8-l ">
2121 < p >
2222 < 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 -%}
2427 </ p >
2528 </ div >
2629 </ div >
You can’t perform that action at this time.
0 commit comments