diff --git a/src/compiler.rs b/src/compiler.rs index 5cab5b3a..a43dc3ca 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -9,9 +9,8 @@ use crate::{ macro_cleanup_directories, macro_create_directories, macro_metadata_option,macro_set_rss_data_fields, manifest::create_manifest_data, - modules::{cname::create_cname_data, html::generate_html, human::create_human_data, keywords::extract_keywords, metatags::generate_all_meta_tags, rss::generate_rss, tags::*}, + modules::{cname::create_cname_data, html::generate_html, human::create_human_data, keywords::extract_keywords, metatags::generate_all_meta_tags, rss::generate_rss, tags::*, sitemap::create_site_map_data}, navigation::generate_navigation, - sitemap::create_site_map_data, template::{render_page, PageOptions}, txt::create_txt_data, write::write_files diff --git a/src/lib.rs b/src/lib.rs index 1b47dfca..01ae4b6a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -189,8 +189,6 @@ pub mod navigation; pub mod process; /// The `serve` module contains functions for the development server. pub mod serve; -/// The `sitemap` module generates the sitemap content. -pub mod sitemap; /// The `template` module renders the HTML content using the pre-defined /// template. diff --git a/src/modules/mod.rs b/src/modules/mod.rs index af42b70f..51ddffa4 100644 --- a/src/modules/mod.rs +++ b/src/modules/mod.rs @@ -23,3 +23,6 @@ pub mod cname; /// The `keywords` module contains functions for extracting keywords. pub mod keywords; +/// The `sitemap` module generates the sitemap content. +pub mod sitemap; + diff --git a/src/sitemap.rs b/src/modules/sitemap.rs similarity index 100% rename from src/sitemap.rs rename to src/modules/sitemap.rs