File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ impl Blog {
198
198
199
199
fn render_index ( & self ) -> Result < ( ) , Box < Error > > {
200
200
let data = json ! ( {
201
- "title" : "Blog" ,
201
+ "title" : "The Rust Programming Language Blog" ,
202
202
"parent" : "layout" ,
203
203
"posts" : self . posts,
204
204
} ) ;
@@ -224,7 +224,7 @@ impl Blog {
224
224
filename. set_extension ( "html" ) ;
225
225
226
226
let data = json ! ( {
227
- "title" : "The Rust Programming Language Blog",
227
+ "title" : format! ( "{} | Rust Blog", post . title ) ,
228
228
"parent" : "layout" ,
229
229
"post" : post,
230
230
} ) ;
Original file line number Diff line number Diff line change 2
2
<header class =" mt3 mt0-ns mb6-ns" >
3
3
<div class =" container flex flex-column flex-row-l justify-between-l" >
4
4
<div class =" mw8-l" >
5
- <h1 >{{ title }} </h1 >
5
+ <h1 >Blog </h1 >
6
6
</div >
7
7
</div >
8
8
</header >
You can’t perform that action at this time.
0 commit comments