You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.4 KiB
Rust

use maud::{html, Markup};
pub(crate) fn main_page(content: Markup) -> Markup {
html! {
header #page_header {
nav #page_nav {
#title_box {
a href="/" { "Pantonshire" }
}
#right_nav_box {
ul {
li { a href="/articles" { "Articles" } }
li { a href="/atom.xml" { "Atom" } }
li { a href="/rss.xml" { "RSS" } }
li { a href="https://github.com/pantonshire" { "GitHub" } }
li { a href="/contact" { "Contact" } }
}
}
}
}
main #page_main {
#content {
(content)
}
}
footer #page_footer {
#page_footer_content {
ul {
li {
"\"What is a footer? A miserable little pile of secrets.\""
}
li {
a href="https://github.com/pantonshire/blog_server" {
"Source code for this site"
}
}
li {
a rel="me" href="https://tech.lgbt/@pantonshire" {
"Backlink for Mastodon"
}
}
}
}
}
}
}