From da07215a89afe057e1f1642a2e45cc86e1fd59c3 Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Wed, 7 Jan 2026 04:09:27 +0900 Subject: Improve image structure --- README.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4813421..6448380 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,17 @@ You can map local directories to the following paths inside the container to cus This is the recommended directory to store your git repositories. -### /app/etc/cgitrc +### /app/www/static/ + +Used for storing static assets such as images. + +- **Note:** When referencing these files in `cgitrc`, write the path relative to `/app/www/`. + +### /app/about/ + +Used to store specific Markdown files for repository descriptions. + +### /app/etc/cgitrc (and /app/etc/ folder) The main configuration file. It follows the standard `cgitrc` syntax. @@ -33,14 +43,12 @@ Contains HTML fragments included in the pages. Contains the original cgit filters and two custom filters required for the Material theme. You can add your own custom filter scripts to this directory. -### /app/www/static/ +- **Usage:** Set `repo.readme=/app/about/filename.md` in your config. -Used for storing static assets such as images. +### /app/www/css -- **Note:** When referencing these files in `cgitrc`, write the path relative to `/app/www/`. +Contains files for markdown syntax highlighting and color variables (`hl.css`, `md.css`, `colors.css`). -### /app/about/ - -Used to store specific Markdown files for repository descriptions. +## Examples -- **Usage:** Set `repo.readme=/app/about/filename.md` in your config. +Configuration examples are located in the `/examples` directory. This includes the configuration used for `git.igorek.dev`. -- cgit v1.2.3