Gitea : cuztomize homepage 2
This commit is contained in:
parent
281c6a9266
commit
17d4fb3f9b
|
@ -58,6 +58,7 @@ echo -n "Waiting for gitea to finish starting " &&
|
||||||
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'NewServer()' &&
|
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'NewServer()' &&
|
||||||
echo "OK" &&
|
echo "OK" &&
|
||||||
podman exec --user 1000:1000 gitea gitea embedded extract --overwrite --destination /data/gitea/ 'templates/home.tmpl'
|
podman exec --user 1000:1000 gitea gitea embedded extract --overwrite --destination /data/gitea/ 'templates/home.tmpl'
|
||||||
|
podman unshare sed -i '/{{.i18n.Tr \"startpage.app_desc\"}}/,${s//SOUSTITRE/;b};$q1' `get_podman_volume_path ${datavolume}`/gitea/templates/home.tmpl &&
|
||||||
podman unshare sed -i '/{{.i18n.Tr \"startpage.install\"}}/,${s//TITRE1/;b};$q1' `get_podman_volume_path ${datavolume}`/gitea/templates/home.tmpl &&
|
podman unshare sed -i '/{{.i18n.Tr \"startpage.install\"}}/,${s//TITRE1/;b};$q1' `get_podman_volume_path ${datavolume}`/gitea/templates/home.tmpl &&
|
||||||
podman unshare sed -i '/{{.i18n.Tr \"startpage.install_desc\" | Str2html}}/,${s//TEXTE1/;b};$q1' `get_podman_volume_path ${datavolume}`/gitea/templates/home.tmpl &&
|
podman unshare sed -i '/{{.i18n.Tr \"startpage.install_desc\" | Str2html}}/,${s//TEXTE1/;b};$q1' `get_podman_volume_path ${datavolume}`/gitea/templates/home.tmpl &&
|
||||||
podman unshare sed -i '/{{.i18n.Tr \"startpage.platform\"}}/,${s//TITRE2/;b};$q1' `get_podman_volume_path ${datavolume}`/gitea/templates/home.tmpl &&
|
podman unshare sed -i '/{{.i18n.Tr \"startpage.platform\"}}/,${s//TITRE2/;b};$q1' `get_podman_volume_path ${datavolume}`/gitea/templates/home.tmpl &&
|
||||||
|
|
Loading…
Reference in a new issue