static htmx
This commit is contained in:
parent
e8dcb1dc77
commit
95c4cf6fe1
3 changed files with 168 additions and 26 deletions
|
@ -54,6 +54,7 @@ async fn launch() -> _ {
|
|||
.mount(
|
||||
"/",
|
||||
routes![
|
||||
based::htmx::htmx_script_route,
|
||||
pages::assets::video_file,
|
||||
pages::assets::video_thumbnail,
|
||||
pages::assets::fav_icon,
|
||||
|
|
|
@ -16,7 +16,7 @@ pub async fn render_page(
|
|||
based::page::render_page(content, title, ctx, &based::page::Shell::new(
|
||||
html! {
|
||||
script src="https://cdn.tailwindcss.com" {};
|
||||
script src="https://unpkg.com/htmx.org@2.0.3" integrity="sha384-0895/pl2MU10Hqc6jd4RvrthNlDiE9U1tWmX7WRESftEDRosgxNsQG/Ze9YMRzHq" crossorigin="anonymous" {};
|
||||
script src="/assets/htmx.min.js" {};
|
||||
meta name="viewport" content="width=device-width, initial-scale=1.0";
|
||||
},
|
||||
html! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue