diff options
Diffstat (limited to 'src/blog.rs')
| -rw-r--r-- | src/blog.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/blog.rs b/src/blog.rs index 9acb5e2..36204e7 100644 --- a/src/blog.rs +++ b/src/blog.rs @@ -17,12 +17,12 @@ static DIRECTORY: &str = "./blog"; #[derive(Clone)] pub struct Blogpost { - file_name: String, - title: String, - published_at: DateTime<Utc>, - updated_at: Option<DateTime<Utc>>, - tags: Vec<String>, - content: String, + pub file_name: String, + pub title: String, + pub published_at: DateTime<Utc>, + pub updated_at: Option<DateTime<Utc>>, + pub tags: Vec<String>, + pub content: String, } #[derive(Deserialize)] |
