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";
77
88#[ derive( Deserialize ) ]
99#[ serde( rename_all = "kebab-case" , deny_unknown_fields) ]
10- pub ( crate ) struct Manifest {
10+ pub struct Manifest {
1111 /// Title to display in the "top row".
1212 pub ( crate ) title : String ,
1313
@@ -32,7 +32,7 @@ pub(crate) struct Manifest {
3232}
3333
3434#[ derive( Serialize ) ]
35- pub ( crate ) struct Blog {
35+ pub struct Blog {
3636 title : String ,
3737 index_title : String ,
3838 link_text : String ,
@@ -121,7 +121,7 @@ impl Blog {
121121
122122/// Recursively load blogs in a directory. A blog is a directory with a `blog.yml`
123123/// file inside it.
124- pub ( crate ) fn load ( base : & Path ) -> eyre:: Result < Vec < Blog > > {
124+ pub fn load ( base : & Path ) -> eyre:: Result < Vec < Blog > > {
125125 let mut blogs = Vec :: new ( ) ;
126126 load_recursive ( base, base, & mut blogs) ?;
127127 Ok ( blogs)
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ struct YamlHeader {
1515}
1616
1717#[ derive( Debug , Clone , Serialize ) ]
18- pub ( crate ) struct Post {
18+ pub struct Post {
1919 pub ( crate ) filename : String ,
2020 pub ( crate ) layout : String ,
2121 pub ( crate ) title : String ,
You can’t perform that action at this time.
0 commit comments