mirror of
https://github.com/YunoHost-Apps/pelican_ynh.git
synced 2024-09-03 19:46:35 +02:00
🐛 fix sitename default var
This commit is contained in:
parent
de304537a9
commit
e064ef4191
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ sudo yunohost app checkurl $domain$path -a $app \
|
|||
document_root=/var/www/$app
|
||||
date=`date +%Y-%m-%d`
|
||||
sudo mkdir -p $document_root
|
||||
sudo sed -i "s@YNH_APP_URL@https://$domain@g" ../sources/pelicanconf.py
|
||||
sudo sed -i "s@YNH_APP_URL@https://${domain}${path}@g" ../sources/pelicanconf.py
|
||||
sudo sed -i "s@YNH_APP_AUTHOR@$author@g" ../sources/pelicanconf.py
|
||||
sudo sed -i "s@YNH_APP_SITENAME@$title@g" ../sources/pelicanconf.py
|
||||
sudo sed -i "s@YNH_APP_AUTHOR@$author@g" ../sources/content/first-article.md
|
||||
|
|
Loading…
Add table
Reference in a new issue