File tree 7 files changed +23
-23
lines changed
7 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ 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/"
12
+ see_also_path = " / inside-rust/"
13
13
see_also_text = """ the "Inside Rust" blog"""
14
14
+++
Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ 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 = " "
14
+ see_also_path = " / "
15
15
see_also_text = " the main Rust blog"
16
16
+++
Original file line number Diff line number Diff line change 36
36
< meta name ="theme-color " content ="#ffffff ">
37
37
38
38
<!-- atom -->
39
- < link type ="application/atom+xml " rel ="alternate " href ="https://blog.rust-lang.org/ {{ section.path }}feed.xml " title ="{{ section.title }} " />
39
+ < link type ="application/atom+xml " rel ="alternate " href ="https://blog.rust-lang.org{{ section.path | safe }}feed.xml " title ="{{ section.title }} " />
40
40
41
41
<!-- theme switcher -->
42
42
< script src ="{{ config.base_url | safe }}/scripts/theme-switch.js "> </ script >
Original file line number Diff line number Diff line change 1
- {% import "macros.html" as macros %}
2
- {% extends "layout.html" %}
3
- {% block page %}
1
+ {% import "macros.html" as macros - %}
2
+ {% extends "layout.html" - %}
3
+ {% block page - %}
4
4
< header class ="mt3 mt0-ns mb4-ns ">
5
5
< div class ="container flex flex-column flex-row-l justify-between-l ">
6
6
< div class ="mw6-l ">
11
11
< div class ="mw8-l ">
12
12
< p >
13
13
< b > See also:</ b >
14
- < a href ="{{ config.base_url }}/ {{ section.extra.see_also_path }} "> {{ section.extra.see_also_text }}</ a >
14
+ < a href ="{{ config.base_url | safe }} {{ section.extra.see_also_path | safe }} "> {{ section.extra.see_also_text }}</ a >
15
15
</ p >
16
16
</ div >
17
17
</ div >
42
42
</ tr > {% endif %}
43
43
< tr >
44
44
< td class ="tr o-60 pr4 pr5-l bn "> {{ macros::month_name(num=month) }} {{ day }}</ td >
45
- < td class ="bn "> < a href ="{{ config.base_url }}{{ page.path }} "> {{ macros::escape_hbs(input=page.title) }}</ a > </ td >
45
+ < td class ="bn "> < a href ="{{ config.base_url | safe }}{{ page.path | safe }} "> {{ macros::escape_hbs(input=page.title) }}</ a > </ td >
46
46
</ tr >
47
47
{%- endfor %}
48
48
</ table >
Original file line number Diff line number Diff line change 1
- {% import "macros.html" as macros %}
2
- {% import "headers.html" as headers %}
3
- {% import "nav.html" as nav %}
4
- {% import "footer.html" as footer %}
1
+ {% import "macros.html" as macros - %}
2
+ {% import "headers.html" as headers - %}
3
+ {% import "nav.html" as nav - %}
4
+ {% import "footer.html" as footer - %}
5
5
6
- {% if page %}
7
- {% set section = get_section(path=(page.ancestors | last)) %}
8
- {% set title = page.title ~ " | " ~ section.title %}
9
- {% else %}
10
- {% set title = section.extra.index_title %}
11
- {% endif %}
6
+ {% if page - %}
7
+ {% set section = get_section(path=(page.ancestors | last)) - %}
8
+ {% set title = page.title ~ " | " ~ section.title - %}
9
+ {% else - %}
10
+ {% set title = section.extra.index_title - %}
11
+ {% endif - %}
12
12
<!DOCTYPE html>
13
13
< html lang ="en ">
14
14
< head >
Original file line number Diff line number Diff line change 1
1
{% macro nav(section) -%}
2
2
< nav class ="flex flex-row justify-center justify-end-l items-center flex-wrap ph2 pl3-ns pr4-ns ">
3
3
< div class ="brand flex-auto w-100 w-auto-l self-start tc tl-l ">
4
- < a href ="{{ config.base_url | safe }}/ {{ section.path }} ">
4
+ < a href ="{{ config.base_url | safe }}{{ section.path | safe }} ">
5
5
< img class ="v-mid ml0-l rust-logo " alt ="Rust Logo " src ="{{ config.base_url | safe }}/images/rust-logo-blk.svg ">
6
6
< span class ="dib ml1 ml0-l "> {{ section.title }}</ span >
7
7
</ a >
Original file line number Diff line number Diff line change 1
- {% import "macros.html" as macros %}
2
- {% extends "layout.html" %}
3
- {% block page %}
1
+ {% import "macros.html" as macros - %}
2
+ {% extends "layout.html" - %}
3
+ {% block page - %}
4
4
{% set year = page.components[0] | int -%}
5
5
{% set month = page.components[1] | int -%}
6
6
{% set day = page.components[2] | int -%}
@@ -12,7 +12,7 @@ <h2>{{ macros::escape_hbs(input=page.title) }}</h2>
12
12
</ header >
13
13
14
14
< div class ="publish-date-author "> {{ macros::month_name(num=month) }} {{ day }}, {{ year }} · {{ macros::escape_hbs(input=page.authors | join(sep=", ")) }}
15
- {% if page.extra is containing("team") %} on behalf of < a href ="{{ page.extra.team_url }} "> {{ page.extra.team }}</ a > {% endif %}
15
+ {% if page.extra is containing("team") %} on behalf of < a href ="{{ page.extra.team_url | safe }} "> {{ page.extra.team }}</ a > {% endif %}
16
16
</ div >
17
17
18
18
< div class ="post ">
You can’t perform that action at this time.
0 commit comments