diff options
| author | radhitya <alif@radhitya.org> | 2026-06-20 16:38:10 +0700 |
|---|---|---|
| committer | radhitya <alif@radhitya.org> | 2026-06-20 16:38:10 +0700 |
| commit | 5b532e914bcad238af03a8916d961827bffc8058 (patch) | |
| tree | 16cfdec9d1c71f6dc5e6fa45be486d550fd199cd /src/config.rs | |
| parent | d66e802bf10acb9e023f0466e3ee79874eb1a876 (diff) | |
parse markdown, parse frontmatter
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.rs b/src/config.rs index f101456..8dc8a6f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2,10 +2,10 @@ use serde::Deserialize; use std::fs; #[derive(Deserialize, Debug)] -struct Config { - title: String, - url: String, - author: String, +pub struct Config { + pub title: String, + pub url: String, + pub author: String, } pub fn parse_file(filename: &str) { |
