mod visuals {
pub const POSTS: &str = ”

“;
// → posts
查看最新博客
pub const FOODIE: &str = ”

“;
// → foodie
吃吃速报
pub const NATSCI: &str = ”

“;
// → natsci
自然科学
pub const NEVSVIF: &str = ”

“;
// → nevsvif
pub const BLOGOPS: &str = ”

“;
// → blogops
博客后台日志
pub const NETCOM: &str = ”

“;
// → netcom
pub const ARCHIVE: &str = ”

“;
// → archive
博客归档目录
}
// === module separator ===
// —————————————–
// —————————————–
// —————————————–
// —————————————–
// —————————————–
// —————————————–
// === module separator ===
mod links {
}
struct Home<‘a> {
title: &’a str,
author: &‘a str,
visuals: Visuals<’a>,
routes: Routes<‘a>,
}
struct Visuals<’a> {
posts: &‘a str, //

foodie: &‘a str, //

natsci: &’a str, //

nevsvif: &’a str, //

blogops: &‘a str, //

netcom: &‘a str, //

archive: &’a str, //

}
struct Routes<‘a> {
posts: &’a str,
foodie: &’a str,
natsci: &‘a str,
nevsvif: &‘a str,
blogops: &’a str,
netcom: &’a str,
archive: &‘a str,
}
const HOME: Home = Home {
author: ”
“,
visuals: Visuals {
posts: visuals::POSTS,
foodie: visuals::FOODIE,
natsci: visuals::NATSCI,
nevsvif: visuals::NEVSVIF,
blogops: visuals::BLOGOPS,
netcom: visuals::NETCOM,
archive: visuals::ARCHIVE,
},
routes: Routes {
posts: links::POSTS,
foodie: links::FOODIE,
natsci: links::NATSCI,
nevsvif: links::NEVSVIF,
blogops: links::BLOGOPS,
netcom: links::NETCOM,
archive: links::ARCHIVE,
},
};