From 79404c875dbf20ba783c72b31111c6e2228d28a2 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 7 Aug 2022 14:38:49 -0400 Subject: begin rehighlighting of custom info in templates --- content/cgit.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'content/cgit.md') diff --git a/content/cgit.md b/content/cgit.md index 7e3dadc..ce6214c 100644 --- a/content/cgit.md +++ b/content/cgit.md @@ -41,9 +41,9 @@ Cgit, while serving static files directly: server { listen 443 ssl; listen [::]:443 ssl; - ssl_certificate /etc/ssl/nginx/git.example.org.crt; - ssl_certificate_key /etc/ssl/nginx/git.example.org.key; - server_name git.example.org; + ssl_certificate /etc/ssl/nginx/{{}}git.example.org{{}}.crt; + ssl_certificate_key /etc/ssl/nginx/{{}}git.example.org{{}}.key; + server_name {{}}git.example.org{{}}; root /usr/share/cgit ; try_files $uri @cgit ; @@ -83,11 +83,11 @@ configure Cgit to our liking, by editing `/etc/cgitrc`. css=/cgit.css logo=/cgit.svg virtual-root=/ -clone-prefix=https://git.example.org +clone-prefix=https://{{}}git.example.org{{}} # Title and description shown on top of each page -root-title=Chad's git server -root-desc=A web interface to LandChad's git repositories, powered by Cgit +root-title={{}}Chad's git server{{}} +root-desc={{}}A web interface to LandChad's git repositories, powered by Cgit{{}} # The location where git repos are stored on the server scan-path=/srv/git/ @@ -107,7 +107,7 @@ yours. Cgit shows the owner\'s system name, so you need to modify the git user to give it your name: ```sh -usermod -c "Your Name" git +usermod -c "{{}}Your Name{{}}" git ``` ### Changing the repository description -- cgit v1.2.3