Rust library to generate static websites
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: generator tag generator

+8
+8
crates/framework/src/lib.rs
··· 7 7 8 8 use content::ContentSources; 9 9 use errors::BuildError; 10 + use maud::{html, Markup}; 10 11 // Re-exported dependencies for user convenience 11 12 pub use rustc_hash::FxHashMap; 12 13 ··· 72 73 impl Termination for BuildOutput { 73 74 fn report(self) -> std::process::ExitCode { 74 75 0.into() 76 + } 77 + } 78 + 79 + pub const GENERATOR: &str = concat!("Maudit v", env!("CARGO_PKG_VERSION")); 80 + pub fn generator() -> Markup { 81 + html! { 82 + meta name="generator" content=(GENERATOR); 75 83 } 76 84 } 77 85