✨ Reintroduce web response type for full pages
This commit is contained in:
parent
04a365797d
commit
b2b0d8bd3e
40 changed files with 1516 additions and 249 deletions
|
|
@ -5,9 +5,9 @@ use tera::Tera;
|
|||
|
||||
use std::sync::LazyLock;
|
||||
|
||||
static_locales!(LOCALES_ALINER);
|
||||
include_locales!(LOCALES_ALINER);
|
||||
|
||||
static_files!(aliner);
|
||||
include_files!(aliner);
|
||||
|
||||
// ALINER THEME ************************************************************************************
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ impl PackageTrait for Aliner {
|
|||
}
|
||||
|
||||
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
|
||||
static_files_service!(scfg, aliner => "/aliner");
|
||||
include_files_service!(scfg, aliner => "/aliner");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
static_locales!(LOCALES_BOOTSIER);
|
||||
include_locales!(LOCALES_BOOTSIER);
|
||||
|
||||
//static_files!(bootsier);
|
||||
//include_files!(bootsier);
|
||||
|
||||
pub struct Bootsier;
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ impl PackageTrait for Bootsier {
|
|||
}
|
||||
|
||||
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
|
||||
static_files_service!(scfg, bootsier => "/bootsier");
|
||||
include_files_service!(scfg, bootsier => "/bootsier");
|
||||
} */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue