change: name of article.* files to index.*

This commit is contained in:
agryphus 2026-04-20 12:53:50 -04:00
parent 1e215fd2ac
commit 32778e8fff

View file

@ -11,8 +11,8 @@ pub fn compile_article(
prepend: Option<PathBuf>, prepend: Option<PathBuf>,
) -> Result<(), Box<dyn std::error::Error + Send + Sync>> { ) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
let template_file = article_dir.join("article.typ"); let template_file = article_dir.join("index.typ");
let output = article_dir.join("article.html"); let output = article_dir.join("index.html");
let outline_file = article_dir.join("outline.html"); let outline_file = article_dir.join("outline.html");
let prepend_content = if let Some(prepend_file) = prepend { let prepend_content = if let Some(prepend_file) = prepend {