Page meta from frontmatter
This commit is contained in:
@@ -1,4 +1,30 @@
|
||||
pub mod betalupi;
|
||||
pub mod handouts;
|
||||
pub mod index;
|
||||
pub mod links;
|
||||
mod index;
|
||||
use assetserver::Asset;
|
||||
pub use index::index;
|
||||
|
||||
use crate::{page::Page, routes::assets::Image_Icon};
|
||||
|
||||
pub fn links() -> Page {
|
||||
/*
|
||||
Dead links:
|
||||
|
||||
https://www.commitstrip.com/en/
|
||||
http://www.3dprintmath.com/
|
||||
*/
|
||||
|
||||
Page::from_markdown(include_str!("links.md"), Some(Image_Icon::URL.to_string()))
|
||||
}
|
||||
|
||||
pub fn betalupi() -> Page {
|
||||
Page::from_markdown(
|
||||
include_str!("betalupi.md"),
|
||||
Some(Image_Icon::URL.to_string()),
|
||||
)
|
||||
}
|
||||
|
||||
pub fn handouts() -> Page {
|
||||
Page::from_markdown(
|
||||
include_str!("handouts.md"),
|
||||
Some(Image_Icon::URL.to_string()),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user