diff --git a/docs/administration/customizing-gitea.md b/docs/administration/customizing-gitea.md index 598e0ee1..3f06f7fb 100644 --- a/docs/administration/customizing-gitea.md +++ b/docs/administration/customizing-gitea.md @@ -180,9 +180,13 @@ In $GITEA_CUSTOM we need to add our template. This template needs to be saved in "$GITEA_CUSTOM/templates/custom/". Here create file "footer.tmpl" and add following text into it: +``` +nano $GITEA_CUSTOM/templates/custom/footer.tmpl +``` + ```html ``` @@ -248,11 +317,11 @@ mkdir o3dv cd o3dv ``` -Copy latest release zip link from [`GitHub`](https://github.com/kovacsv/Online3DViewer/releases) (v0.15.0 as of now). +Copy latest release zip link from [`GitHub`](https://github.com/kovacsv/Online3DViewer/releases) (v0.16.0 as of now). Here use e.g. wget to download the file: ``` -wget https://github.com/kovacsv/Online3DViewer/releases/download/0.15.0/o3dv.zip +wget https://github.com/kovacsv/Online3DViewer/releases/download/0.16.0/o3dv.zip ``` Use e.g. unzip to unzip the archive: @@ -262,20 +331,14 @@ unzip o3dv.zip #### Part 3: Folder permissions -Now the last thing. Change permissions on the "footer.tmpl": -``` -chown git:git $GITEA_CUSTOM/templates/custom/footer.tmpl -chmod 770 $GITEA_CUSTOM/templates/custom/footer.tmpl -``` - -And on the public folder: +Now the last thing. Change permissions on the public folder: ``` chown -R git:git $GITEA_CUSTOM/public ``` Now we have everything ready! Restart your gitea instance to apply these changes and test it in your browser. -You should end-up with a folder structure similar to this: +Sanity check. You should end-up with a folder structure similar to this: ``` $GITEA_CUSTOM/templates