From 5b532e914bcad238af03a8916d961827bffc8058 Mon Sep 17 00:00:00 2001 From: radhitya Date: Sat, 20 Jun 2026 16:38:10 +0700 Subject: parse markdown, parse frontmatter --- src/config.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/config.rs') 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) { -- cgit v1.2.3