File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ pub fn list_post(
2222 {
2323 let buf = & mut buf;
2424 write ! ( buf, "{} {}" , "#" . dimmed( ) , entry. id. to_string( ) . dimmed( ) ) ?;
25- write ! ( buf, " {}" , entry. title. cyan( ) . bold( ) ) ?;
2625 if entry. is_published {
2726 write ! ( buf, " {}" , "Pub" . green( ) ) ?;
2827 } else {
@@ -31,6 +30,7 @@ pub fn list_post(
3130 if entry. is_pinned {
3231 write ! ( buf, " {}" , "Pin" . magenta( ) ) ?;
3332 }
33+ write ! ( buf, " {}" , entry. title. cyan( ) . bold( ) ) ?;
3434 writeln ! ( buf) ?;
3535 }
3636 buf
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ pub fn list_post(
2121 {
2222 let buf = & mut buf;
2323 write ! ( buf, "# {}" , entry. id) ?;
24- write ! ( buf, " {}" , entry. title) ?;
2524 if entry. is_published {
2625 write ! ( buf, " Pub" ) ?;
2726 } else {
@@ -30,6 +29,7 @@ pub fn list_post(
3029 if entry. is_pinned {
3130 write ! ( buf, " Pin" ) ?;
3231 }
32+ write ! ( buf, " {}" , entry. title) ?;
3333 writeln ! ( buf) ?;
3434 }
3535 buf
You can’t perform that action at this time.
0 commit comments