mirror of
https://github.com/YunoHost-Apps/pico_ynh.git
synced 2024-09-03 19:56:41 +02:00
Add name
This commit is contained in:
parent
4febe2d036
commit
e7b69d6963
3 changed files with 11 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
##
|
||||
# Basic
|
||||
#
|
||||
site_title: Pico # The title of your website
|
||||
site_title: __NAME__ # The title of your website
|
||||
base_url: ~ # Pico will try to guess its base URL, if this fails, override it here;
|
||||
# Example: https://example.com/pico/
|
||||
rewrite_url: ~ # A boolean (true or false) indicating whether URL rewriting is forced
|
||||
|
|
|
@ -40,6 +40,14 @@
|
|||
"example": "/pico",
|
||||
"default": "/pico"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"type": "name",
|
||||
"ask": {
|
||||
"en": "The title of your website",
|
||||
"fr": "Le titre de votre site web"
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
"type": "boolean",
|
||||
|
|
|
@ -27,6 +27,7 @@ ynh_abort_if_errors
|
|||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url=$YNH_APP_ARG_PATH
|
||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||
name=$YNH_APP_ARG_NAME
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
|
@ -48,6 +49,7 @@ ynh_script_progression --message="Storing installation settings..." --weight=1
|
|||
|
||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||
ynh_app_setting_set --app=$app --key=name --value=$name
|
||||
|
||||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
|
|
Loading…
Add table
Reference in a new issue