Rename to natter.

This commit is contained in:
Tom Alexander
2023-12-21 19:28:31 -05:00
parent d641c8d638
commit 35dff5cdaf
8 changed files with 27 additions and 27 deletions

View File

@@ -17,7 +17,7 @@ pub(crate) struct Config {
impl Config {
pub(crate) fn new<P: AsRef<Path>>(root_dir: P) -> Result<Config, CustomError> {
fn inner(root_dir: &Path) -> Result<Config, CustomError> {
let file_path = root_dir.join("writer.toml");
let file_path = root_dir.join("natter.toml");
Ok(Config {
raw: RawConfig::default(),
config_path: file_path,

View File

@@ -1,7 +1,7 @@
use serde::Deserialize;
use serde::Serialize;
/// This is the struct for the writer.toml config file that ends up in each site's root directory.
/// This is the struct for the natter.toml config file that ends up in each site's root directory.
#[derive(Debug, Deserialize, Serialize)]
pub(crate) struct RawConfig {
pub(super) site_title: Option<String>,