Skip to content

Commit

Permalink
fix(shokunin): moving sitemap to modules
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Sep 4, 2023
1 parent c0a953a commit 0e0f8fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions src/modules/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

File renamed without changes.

0 comments on commit 0e0f8fc

Please sign in to comment.