mirror of
https://github.com/YunoHost-Apps/eleventy_ynh.git
synced 2024-09-03 18:26:32 +02:00
fix
This commit is contained in:
parent
8a1e3b4079
commit
26844e01ac
3 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@ Group=__APP__
|
|||
WorkingDirectory=__INSTALL_DIR__/
|
||||
Environment=PATH=__ENV_PATH__
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=npx @11ty/eleventy --serve --port=__PORT__ --watch --quiet
|
||||
ExecStart=__INSTALL_DIR__/cmd.js --serve --port=__PORT__ --watch --quiet
|
||||
Restart=always
|
||||
|
||||
# Sandboxing options to harden security
|
||||
|
|
|
@ -26,9 +26,9 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
ynh_add_config --template="../sources/index.md" --destination="$install_dir/src/index.md"
|
||||
ynh_add_config --template="../sources/style.css" --destination="$install_dir/src/style.css"
|
||||
mv "../sources/_includes" "$install_dir/src/_includes"
|
||||
ynh_add_config --template="../sources/index.md" --destination="$data_dir/src/index.md"
|
||||
ynh_add_config --template="../sources/style.css" --destination="$data_dir/src/style.css"
|
||||
mv "../sources/_includes" "$data_dir/src/_includes"
|
||||
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ title }}}</title>
|
||||
<title>{{ title }}</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue