File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ static POSTS_EXT: &str = "md";
7
7
8
8
#[ derive( Deserialize ) ]
9
9
#[ serde( rename_all = "kebab-case" , deny_unknown_fields) ]
10
- pub ( crate ) struct Manifest {
10
+ pub struct Manifest {
11
11
/// Title to display in the "top row".
12
12
pub ( crate ) title : String ,
13
13
@@ -32,7 +32,7 @@ pub(crate) struct Manifest {
32
32
}
33
33
34
34
#[ derive( Serialize ) ]
35
- pub ( crate ) struct Blog {
35
+ pub struct Blog {
36
36
title : String ,
37
37
index_title : String ,
38
38
link_text : String ,
@@ -121,7 +121,7 @@ impl Blog {
121
121
122
122
/// Recursively load blogs in a directory. A blog is a directory with a `blog.yml`
123
123
/// file inside it.
124
- pub ( crate ) fn load ( base : & Path ) -> eyre:: Result < Vec < Blog > > {
124
+ pub fn load ( base : & Path ) -> eyre:: Result < Vec < Blog > > {
125
125
let mut blogs = Vec :: new ( ) ;
126
126
load_recursive ( base, base, & mut blogs) ?;
127
127
Ok ( blogs)
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ struct YamlHeader {
15
15
}
16
16
17
17
#[ derive( Debug , Clone , Serialize ) ]
18
- pub ( crate ) struct Post {
18
+ pub struct Post {
19
19
pub ( crate ) filename : String ,
20
20
pub ( crate ) layout : String ,
21
21
pub ( crate ) title : String ,
You can’t perform that action at this time.
0 commit comments