Page meta from frontmatter
This commit is contained in:
@@ -12,13 +12,14 @@ use crate::{
|
||||
routes::assets::{Image_Cover, Image_Icon},
|
||||
};
|
||||
|
||||
pub fn page() -> Page {
|
||||
pub fn index() -> Page {
|
||||
Page {
|
||||
meta: PageMetadata {
|
||||
title: "Betalupi: About".into(),
|
||||
author: Some("Mark".into()),
|
||||
description: Some("Description".into()),
|
||||
image: Some(Image_Icon::URL.into()),
|
||||
slug: None,
|
||||
},
|
||||
|
||||
generate_html: Box::new(move |_page| {
|
||||
|
||||
Reference in New Issue
Block a user