Añade nuevo proyecto para el sitio web de PageTop
This commit is contained in:
parent
57fd4c2054
commit
686ec924d1
14 changed files with 57 additions and 20 deletions
22
drust/config/default.toml
Normal file
22
drust/config/default.toml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[app]
|
||||
name = "Drust"
|
||||
description = """\
|
||||
A modern web Content Management System to share your world.\
|
||||
"""
|
||||
#theme = "Aliner"
|
||||
#theme = "Minimal"
|
||||
theme = "Bootsier"
|
||||
#theme = "Bulmix"
|
||||
language = "es-ES"
|
||||
|
||||
[database]
|
||||
db_type = "mysql"
|
||||
db_name = "drust"
|
||||
db_user = "drust"
|
||||
db_pass = "DrU__#3T"
|
||||
|
||||
[log]
|
||||
tracing = "Info,pagetop=Debug,sqlx::query=Warn"
|
||||
|
||||
[dev]
|
||||
#static_files = "pagetop/static"
|
||||
|
|
@ -8,13 +8,6 @@ impl AppTrait for Drust {
|
|||
&pagetop_admin::Admin,
|
||||
&pagetop_user::User,
|
||||
&pagetop_node::Node,
|
||||
&pagetop::base::module::demopage::Demopage,
|
||||
]
|
||||
}
|
||||
|
||||
fn themes(&self) -> Vec<&'static dyn ThemeTrait> {
|
||||
vec![
|
||||
&pagetop::base::theme::bulmix::Bulmix,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue