You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am using Maud more and more along with htmx, and I really like it. It just took me a bit of time to understand how to return a full document. This is what I came up with:
pubfndocument(markup: maud::Markup) -> maud::Markup{
maud::html! {(maud::DOCTYPE)
html lang="en"{
head {
meta charset="UTF-8";
meta name="viewport" content="width=device-width, initial-scale=1.0";
link rel="stylesheet" href="index.css";
script src="https://unpkg.com/[email protected]"{}
title {"My Cool WebApp"}}
body {(markup)}}}}
Maybe it could be documented somewhere?
The text was updated successfully, but these errors were encountered:
Hello, I am using Maud more and more along with htmx, and I really like it. It just took me a bit of time to understand how to return a full document. This is what I came up with:
Maybe it could be documented somewhere?
The text was updated successfully, but these errors were encountered: